/* ============================================ */
/* ULTRACOMP CORE CSS — MERGED SINGLE FILE      */
/* darkmode-theme + purple_glass + fonts + nav   */
/* ============================================ */

/* --- FONT FACE --- */
@font-face {
    font-family: 'OrbitronCZ';
    src: url('https://cdn.jsdelivr.net/gh/chcipcsro-ship-it/orbitronCZ@main/Orbitron-Czech.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-024F, U+0300-036F;
}

/* --- ORBITRON HEADINGS --- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.homepage-group-title,
.homepage-products-heading-2 {
    font-family: 'OrbitronCZ', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* --- BASE DARK THEME --- */
body {
    background-color: #0C070F;
    color: #e0e0e0;
}

.banner-wrapper,
.container-full-width,
.benefit-banners-full-width,
.content-wrapper,
.breadcrumbs,
.category-header,
.p-detail-full-width,
.footer-bottom,
.footer-bottom-full-width,
.popup-widget-inner {
    background-color: #0C070F;
}

a { color: #a855f7; transition: color 0.3s ease; }
a:hover { color: #c084fc; }

.sidebar {
    background-color: #0C070F;
    border-color: #892CFF;
}

.category-header input[type=radio]:checked+label {
    background-color: #CC0637 !important;
}

.basic-description > h4 { display: none !important; }

/* --- FORM CONTROLS --- */
button, input[type="button"], input[type="submit"] {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
}

input, select, textarea {
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #444;
}

.form-control {
    background: rgba(10, 10, 15, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- PRODUCT TABS --- */
.tab-content {
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    border: none !important;
}

.p-detail-tabs {
    background: transparent;
    border: none;
    padding: 8px 0;
    display: flex;
    gap: 12px;
    box-shadow: none;
}

.shp-tabs-holder,
.shp-tabs-row,
.shp-tabs-wrapper,
.p-detail-tabs-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.shp-tab { flex: 1; text-align: center; }

.shp-tab.active {
    background: linear-gradient(135deg, #892CFF 0%, #6b21a8 50%, #581c87 100%) !important;
    border: none;
    border-radius: 12px !important;
    box-shadow: none;
}

.shp-tab.active .shp-tab-link {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    height: 48px !important;
    padding: 14px 20px !important;
}

.shp-tab-link {
    font-family: 'OrbitronCZ', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    background: linear-gradient(135deg, #1a0d1f 0%, #251535 100%) !important;
    border: 1px solid rgba(139, 44, 255, 0.2) !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    color: #c4b5d4 !important;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    height: 48px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.shp-tab-link:hover {
    background: linear-gradient(135deg, #2d1b3d 0%, #3d2851 100%) !important;
    border-color: rgba(139, 44, 255, 0.5) !important;
    color: #e8e3f0 !important;
}

.navigation-btn {
    font-family: 'OrbitronCZ', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: linear-gradient(135deg, #892CFF 0%, #6b21a8 100%) !important;
    border: 1px solid rgba(139, 44, 255, 0.5) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.navigation-btn:hover {
    background: linear-gradient(135deg, #a855f7 0%, #892CFF 100%) !important;
}

.tab-content .detail-parameters tr:nth-child(odd) {
    background: linear-gradient(135deg, #0f0f1566 0%, #1a0d1f44 100%) !important;
}

/* --- MODALS / COLORBOX --- */
.content-modal {
    background: linear-gradient(to right, #281034, #0E204C);
    border-radius: 20px;
}

#cboxContent {
    background: rgba(10, 6, 16, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7) !important;
}

#cboxLoadedContent {
    background: transparent !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#cboxLoadedContent img.cboxPhoto {
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

#cboxNext, #cboxPrevious { color: #a855f7 !important; }
#cboxNext:hover, #cboxPrevious:hover { color: #c084fc !important; }

/* --- SELECTION & SCROLLBAR --- */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: #e8e3f0;
}

@media (min-width: 769px) {
    ::-webkit-scrollbar { width: 12px; }
    ::-webkit-scrollbar-track { background: #0a0a0f; border-radius: 10px; }
    ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%); border-radius: 10px; }
    ::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); }
}

/* --- HIDDEN LINKS / TAB OVERFLOW --- */
.hidden-links {
    background: linear-gradient(135deg, rgba(10, 6, 16, 0.7) 0%, rgba(21, 13, 26, 0.5) 50%, rgba(26, 16, 37, 0.6) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 8px !important;
    margin: 12px 0 !important;
    box-shadow: none !important;
}

.hidden-links .shp-tab {
    background: transparent !important;
    border-radius: 12px !important;
    margin: 4px !important;
    transition: all 0.3s ease !important;
}

.hidden-links .shp-tab:hover {
    background: linear-gradient(135deg, #1a0d1f99 0%, #2d1b3d77 100%) !important;
}

.hidden-links .shp-tab-link {
    font-family: 'OrbitronCZ', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    background: linear-gradient(135deg, #1a0d1f 0%, #251535 100%) !important;
    border: 1px solid rgba(139, 44, 255, 0.2) !important;
    border-radius: 10px !important;
    color: #c4b5d4 !important;
    padding: 12px 18px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    box-shadow: none !important;
}

.hidden-links .shp-tab-link:hover {
    background: linear-gradient(135deg, #2d1b3d 0%, #3d2851 100%) !important;
    border-color: rgba(139, 44, 255, 0.5) !important;
    color: #e8e3f0 !important;
}

.hidden-links .tab-manufacturer-name {
    color: #a855f7 !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    font-family: 'OrbitronCZ', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* --- ULTRACOMP BRAND TAB --- */
.shp-tab[data-testid="tabBrand"] .shp-tab-link {
    font-size: 0 !important;
    height: 48px !important;
}

.shp-tab[data-testid="tabBrand"] .shp-tab-link::before {
    content: "ULTRACOMP BRAND";
    font-size: 13px !important;
    font-family: 'OrbitronCZ', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    line-height: 1 !important;
}

.shp-tab[data-testid="tabBrand"] .tab-manufacturer-name { display: none !important; }

.responsive-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

.shp-tabs-holder {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* --- COOKIES DIALOG (PURPLE GLASS) --- */
#cboxContent.cookiesDialog {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.cookiesSetting__form {
    background: rgba(88, 28, 135, 0.4) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(147, 51, 234, 0.6) !important;
    border-radius: 16px !important;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.cookiesSetting__title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.cookiesSetting__perex {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.cookiesSetting__data {
    background: rgba(147, 51, 234, 0.1) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.cookiesSetting__item {
    background: rgba(147, 51, 234, 0.2) !important;
    border: 1px solid rgba(147, 51, 234, 0.3) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    margin-bottom: 12px !important;
    padding: 20px !important;
    transition: all 0.2s ease !important;
}

.cookiesSetting__item:hover {
    background: rgba(147, 51, 234, 0.3) !important;
    border-color: rgba(147, 51, 234, 0.5) !important;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.2) !important;
    transform: translateY(-2px) !important;
}

.cookiesSetting__item__name,
.cookiesSetting__item__name strong {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.cookiesSetting__item__text {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.cookiesSetting__button {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.7), rgba(88, 28, 135, 0.7)) !important;
    border: 1px solid rgba(147, 51, 234, 0.8) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 0 8px rgba(147, 51, 234, 0.3) !important;
    transition: all 0.2s ease !important;
}

.cookiesSetting__button:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9), rgba(88, 28, 135, 0.9)) !important;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.5) !important;
    transform: translateY(-1px) !important;
}

.cookiesDialog .cookiesSetting__button--green,
#cboxContent .cookiesSetting__button--green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.7), rgba(21, 128, 61, 0.7)) !important;
    border-color: rgba(34, 197, 94, 0.8) !important;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3) !important;
    padding: 14px 24px !important;
    min-height: 48px !important;
    height: 48px !important;
}

.cookiesDialog .cookiesSetting__button--green:hover,
#cboxContent .cookiesSetting__button--green:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(21, 128, 61, 0.9)) !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5) !important;
}

.cookiesDialog .cookiesSetting__uncheckLink,
#cboxContent .cookiesSetting__uncheckLink {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.7), rgba(185, 28, 28, 0.7)) !important;
    border: 1px solid rgba(239, 68, 68, 0.8) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3) !important;
    transition: all 0.2s ease !important;
    padding: 14px 24px !important;
    min-height: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.cookiesDialog .cookiesSetting__uncheckLink:hover,
#cboxContent .cookiesSetting__uncheckLink:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(185, 28, 28, 0.9)) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
    transform: translateY(-1px) !important;
}

#cboxClose {
    background: rgba(239, 68, 68, 0.8) !important;
    border: 1px solid rgba(239, 68, 68, 0.8) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3) !important;
    transition: all 0.2s ease !important;
}

#cboxClose:hover {
    background: rgba(239, 68, 68, 1) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
    transform: scale(1.05) !important;
}

.cookiesSetting__item__status {
    border: none !important;
    background: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.cookiesSetting__item__status:hover {
    transform: scale(1.05) translateY(-1px) !important;
}

.cookiesSetting__item__state {
    border-radius: 12px !important;
    background: rgba(107, 114, 128, 0.6) !important;
    border: 1px solid rgba(147, 51, 234, 0.3) !important;
    transition: all 0.2s ease !important;
}

.cookiesSetting__item__checkbox:checked + .cookiesSetting__item__state {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.8), rgba(88, 28, 135, 0.8)) !important;
    border-color: rgba(147, 51, 234, 0.8) !important;
    box-shadow: 0 0 6px rgba(147, 51, 234, 0.4) !important;
}

.cookiesSetting__form:hover {
    box-shadow: 0 0 25px rgba(147, 51, 234, 0.4), 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

/* --- H1 & HOMEPAGE TITLE STYLING (was FONT/styles.css) --- */
h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    color: #FFFFFF !important;
    letter-spacing: 1px;
    text-align: inherit;
}

.homepage-group-title.h4 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    color: #FFFFFF !important;
    letter-spacing: 1px;
    text-align: center !important;
    display: block;
}

div .homepage-group-title.h4,
section .homepage-group-title.h4,
header .homepage-group-title.h4 {
    text-align: center !important;
}

h1:after,
.homepage-group-title.h4:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--neon-purple);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--neon-purple);
}

.price-additional {
    font-size: 1.3rem;
    font-weight: 500;
    color: #3a3a3a;
    position: relative;
    display: inline-block;
    padding: 0.15rem 0.5rem;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

.price-additional::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #bf00ff, #7b00ff, #bf00ff);
    border-radius: 2px;
    box-shadow: 0 0 8px #a100ff;
    animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.price-additional:hover { transform: translateY(-1px); }
.price-additional:hover::after { box-shadow: 0 0 12px #a100ff; }

/* --- SOCIAL, CHECKOUT, NAV (was NadpisyATD2.css) --- */
.navigation-in.menu .social-media-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
}

.social-media-icons img { width: 36px; height: 36px; }

.co-box.co-payment-method {
    border: 2px solid #892CFF;
    border-radius: 8px;
    padding: 15px;
}

.id--15.ordering-process .co-box.co-payment-method .row {
    background-color: #121212;
    width: 90%;
    margin: 0 auto;
}

.social-buttons { background-color: #121212; }

.ordering-process .co-box {
    border-radius: 15px;
    margin: 0 0 16px;
    padding: 16px;
}

.payment-logo img {
    max-width: 100px;
    height: auto;
    border-radius: 5px;
    background-color: white;
    padding: 2px;
}

.navigation { font-size: 24px; width: 24px; height: 24px; }
.icon-cart { font-size: 24px; width: 24px; height: 24px; }
.icon-login { display: none; }
.icon-search { display: none; }

.close.js-close-information-msg {
    background-color: white;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: 10px;
}

.close.js-close-information-msg:hover { background-color: grey; }

.pagination-wrapper .load-products {
    background-color: transparent;
    border: 3px solid #892CFF;
    color: #892CFF;
}

.pagination-wrapper .load-products:hover {
    background-color: #a96eff;
    border: 3px solid #a96eff;
    color: black;
}

/* --- DESKTOP OVERRIDES --- */
@media (min-width: 768px) {
    .content {
        flex-grow: 1;
        flex-shrink: 1;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    .basic-description > h4:first-of-type { display: none; }
}

@media (min-width: 992px) {
    .price-additional { font-size: 1.9rem; }
}

/* --- MOBILE STYLES --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; margin-bottom: 2rem; }
    .homepage-group-title.h4 { font-size: 2rem; margin-bottom: 2rem; }

    .p-detail-full-width,
    .p-detail-full-width .container-full-width,
    .p-detail-tabs-wrapper,
    .shp-tabs-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .p-detail-tabs {
        padding: 6px 0 !important;
        gap: 8px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        flex-wrap: wrap !important;
    }

    .shp-tab-link {
        font-size: 12px !important;
        padding: 10px 14px !important;
        letter-spacing: 0.8px !important;
        border-radius: 8px !important;
        height: 44px !important;
    }

    .shp-tab.active { border-radius: 8px !important; }
    .shp-tab.active .shp-tab-link { height: 44px !important; padding: 10px 14px !important; }
    .shp-tab[data-testid="tabBrand"] .shp-tab-link { height: 44px !important; }

    .responsive-nav {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding: 8px 10px !important;
    }

    .shp-tabs-holder { overflow: hidden !important; flex: 1 !important; }

    .navigation-btn {
        position: relative !important;
        flex-shrink: 0 !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        margin-left: 8px !important;
    }

    .shp-tab[data-testid="tabBrand"] .shp-tab-link::before {
        font-size: 12px !important;
        letter-spacing: 0.8px !important;
    }

    .tab-content, #tab-content {
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .description-inner, .basic-description { padding: 0 !important; margin: 0 !important; }

    .ultracomp-product-page-v2 { padding: 20px 10px !important; max-width: 100% !important; }

    .ultracomp-product-page-v2 .performance-section-v2,
    .ultracomp-product-page-v2 .faq-section-v2,
    .ultracomp-product-page-v2 .glossary-wrapper {
        padding: 16px 12px !important;
        border-radius: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ultracomp-product-page-v2 .components-showcase { padding: 10px 0 !important; gap: 20px !important; }
    .ultracomp-product-page-v2 .reviews-grid { gap: 12px !important; }
    .ultracomp-product-page-v2 .contact-grid { border-radius: 16px !important; margin: 0 !important; }
}

@media (max-width: 480px) {
    .ultracomp-product-page-v2 { padding: 12px 6px !important; }

    .ultracomp-product-page-v2 .performance-section-v2,
    .ultracomp-product-page-v2 .faq-section-v2,
    .ultracomp-product-page-v2 .glossary-wrapper {
        padding: 12px 10px !important;
        border-radius: 12px !important;
    }

    .ultracomp-product-page-v2 .component-card { padding: 16px !important; border-radius: 16px !important; }

    .ultracomp-product-page-v2 .section-title-standalone {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .shp-tab-link {
        font-size: 11px !important;
        padding: 8px 12px !important;
        letter-spacing: 0.5px !important;
        height: 40px !important;
    }

    .shp-tab.active .shp-tab-link { height: 40px !important; padding: 8px 12px !important; }
    .shp-tab[data-testid="tabBrand"] .shp-tab-link { height: 40px !important; }
    .shp-tab[data-testid="tabBrand"] .shp-tab-link::before { font-size: 11px !important; }
    .navigation-btn { padding: 6px 10px !important; font-size: 12px !important; }
}
