:root { --primary-color: #FFA500; --primary-color-dark: #e69500; --dark-grey: #333; --medium-grey: #555; --light-grey: #f4f5f6; --border-color: #e9ecef; --font-main: 'Poppins', sans-serif; --font-secondary: 'Roboto', sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-secondary); line-height: 1.6; color: var(--dark-grey); background-color: #fcfcfc; display: flex; flex-direction: column; min-height: 100vh; font-size: 100%; overflow-x: hidden; }

/* === NOVÉ GLOBÁLNÍ PRAVIDLO PRO OBRÁZKY A TEXT === */
img, video, iframe, picture, svg { max-width: 100%; height: auto; }
p, h1, h2, h3, h4, h5, h6, li, dt, dd, a { overflow-wrap: break-word; hyphens: auto; }
/* === KONEC NOVÝCH PRAVIDEL === */

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header { background-color: #ffffff; padding: 1rem 0; border-bottom: 1px solid var(--border-color); box-shadow: 0 1px 3px rgba(0,0,0,0.04); position: sticky; top: 0; z-index: 999; }
.header-content { max-width: 1300px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.logo-container .logo-link { text-decoration: none; }
.logo-container h1 { margin: 0; font-family: var(--font-main); font-size: 1.8em; color: var(--dark-grey); display: flex; align-items: center; font-weight: 500; }
.logo-container h1 .logo-icon { color: var(--primary-color); margin-right: 10px; font-size: 0.9em; }
.logo-container h1 .logo-text-main { font-weight: 600; }
.logo-container h1 .logo-text-shop { font-weight: 400; color: var(--medium-grey); margin-left: 5px; }
.header-search { flex-grow: 1; max-width: 500px; }
.header-search form { position: relative; }
.header-search input[type="search"] { width: 100%; padding: 0.75rem 1rem; padding-left: 2.5rem; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.95em; background-color: var(--light-grey); transition: all 0.3s ease; }
.header-search input[type="search"]:focus { background-color: #fff; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2); outline: none; }
.header-search button { position: absolute; left: 0.5rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--medium-grey); font-size: 1em; cursor: pointer; padding: 0.5rem; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-icon-link { color: var(--medium-grey); font-size: 1.4em; text-decoration: none; transition: color 0.3s ease; position: relative; }
.header-icon-link:hover { color: var(--primary-color); }
.mobile-menu-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; z-index: 1001; }
.mobile-menu-toggle .hamburger-icon { display: block; width: 24px; height: 2px; background-color: var(--dark-grey); position: relative; transition: background-color 0.15s ease-in-out; }
.mobile-menu-toggle .hamburger-icon::before, .mobile-menu-toggle .hamburger-icon::after { content: ''; display: block; width: 24px; height: 2px; background-color: var(--dark-grey); position: absolute; left: 0; transition: transform 0.2s ease-in-out, top 0.2s ease-in-out; }
.mobile-menu-toggle .hamburger-icon::before { top: -7px; }
.mobile-menu-toggle .hamburger-icon::after { top: 7px; }
.mobile-menu-active .mobile-menu-toggle .hamburger-icon { background-color: transparent; }
.mobile-menu-active .mobile-menu-toggle .hamburger-icon::before { transform: rotate(45deg); top: 0; }
.mobile-menu-active .mobile-menu-toggle .hamburger-icon::after { transform: rotate(-45deg); top: 0; }
.main-navigation { background-color: #ffffff; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
.main-navigation ul { max-width: 1300px; margin: 0 auto; padding: 0 20px; list-style: none; display: flex; gap: 10px; }
.main-navigation ul li a { display: block; color: var(--medium-grey); text-decoration: none; font-size: 0.9em; padding: 1rem 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 3px solid transparent; transition: all 0.3s ease; }
.main-navigation ul li a:hover { color: var(--dark-grey); border-bottom-color: var(--primary-color-dark); }
.main-navigation ul li a.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.main-navigation ul li.dropdown { position: relative; }
.main-navigation ul li.dropdown .dropdown-menu-wrapper { display: none; position: absolute; top: 100%; left: 0; z-index: 1000; padding-top: 5px; }
.main-navigation ul li.dropdown:hover .dropdown-menu-wrapper { display: block; }
.dropdown-menu { display: flex; flex-direction: row; background-color: rgba(50, 50, 50, 0.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); min-width: 750px; list-style: none; padding: 0; margin: 0; border-radius: 0 0 8px 8px; box-shadow: 0 8px 20px rgba(0,0,0,0.25); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-top: none; }
.dropdown-column { padding: 1.5rem; flex: 1; min-width: 200px; border-right: 1px solid #555; }
.dropdown-column:last-child { border-right: none; }
.dropdown-column ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.dropdown-header { font-family: var(--font-main); font-size: 1em; font-weight: 600; color: #f0f0f0; padding-bottom: 0.8rem; margin-bottom: 0.8rem; border-bottom: 1px solid var(--primary-color); }
.dropdown-menu li li a { padding: 0.6rem 0.8rem !important; font-size: 0.95em !important; border-bottom: none !important; text-transform: none !important; font-weight: 400 !important; color: #ccc !important; border-radius: 4px; display: block; background-color: transparent !important; transition: all 0.2s ease !important; transform: none !important; }
.dropdown-menu li li a:hover { background-color: var(--primary-color) !important; color: #fff !important; padding-left: 1.2rem !important; }
.separator-invisible { height: 1rem; }
.dropdown-toggle i { font-size: 0.8em; margin-left: 5px; transition: transform 0.3s ease; }
.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }
.hero-slider { width: 100%; height: 450px; margin-bottom: 2rem; border-radius: 8px; overflow: hidden; }
.swiper-slide { display: flex; justify-content: center; align-items: center; text-align: center; background-size: cover; background-position: center; position: relative; color: #fff; }
.swiper-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: 2rem; }
.hero-badge { display: inline-block; padding: 0.3rem 0.8rem; background-color: var(--primary-color); color: #fff; font-weight: 600; border-radius: 4px; font-size: 0.8em; margin-bottom: 1rem; }
.hero-content h2 { font-family: var(--font-main); font-size: 2.8em; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: #fff; border: none; padding: 0; }
.hero-content p { font-size: 1.1em; color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; }
.hero-button { background-color: var(--primary-color); color: white; padding: 0.8rem 1.8rem; border: none; border-radius: 6px; font-size: 1em; font-weight: bold; cursor: pointer; text-decoration: none; transition: all 0.3s ease; }
.hero-button:hover { background-color: var(--primary-color-dark); transform: scale(1.05); }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: var(--primary-color); }
.hero-slider .swiper-pagination-bullet { background-color: rgba(255, 255, 255, 0.7); width: 10px; height: 10px; }
.hero-slider .swiper-pagination-bullet-active { background-color: var(--primary-color); }
.latest-products-section { padding: 3rem 0; background-color: var(--light-grey); }
.benefits-section { padding: 3rem 0; }
.section-title { text-align: center; font-family: var(--font-main); font-size: 2.2em; margin-bottom: 2.5rem; color: var(--dark-grey); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.benefit-card { background-color: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem 1.5rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.benefit-card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0,0,0,0.07); }
.benefit-card i { font-size: 2.8em; color: var(--primary-color); margin-bottom: 1.2rem; display: block; }
.benefit-card h3 { font-family: var(--font-main); font-size: 1.25em; margin-bottom: 0.8rem; color: var(--dark-grey); }
.benefit-card p { font-size: 0.95em; color: var(--medium-grey); line-height: 1.6; }
.main-content { flex-grow: 1; max-width: 1300px; width: 100%; margin: 0 auto; padding: 0 20px 2rem 20px; }
.page-content { background-color: #fff; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); }
.page-content h2 { font-family: var(--font-main); color: var(--dark-grey); margin-top: 0; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); font-size: 1.8em; }
.page-content h3 { font-family: var(--font-main); font-size: 1.4em; margin-top: 2rem; margin-bottom: 1rem; }
.page-content p { margin-bottom: 1rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--medium-grey); }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="password"], .form-group input[type="search"], .form-group textarea, .form-group select { width: 100%; padding: 0.8rem 1rem; border: 1px solid #ccc; border-radius: 6px; font-size: 1em; font-family: var(--font-secondary); transition: all 0.3s ease; }
.form-group input[type="text"]:focus, .form-group input[type="email"]:focus, .form-group input[type="tel"]:focus, .form-group input[type="password"]:focus, .form-group input[type="search"]:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-button { background-color: var(--primary-color); color: white; padding: 0.8rem 1.8rem; border: none; border-radius: 6px; font-size: 1em; font-weight: bold; cursor: pointer; text-transform: uppercase; transition: all 0.3s ease; }
.submit-button:hover { background-color: var(--primary-color-dark); transform: translateY(-2px); }
.login-container { display: flex; justify-content: center; align-items: center; padding: 3rem 1rem; }
.login-box { width: 100%; max-width: 450px; background: #fff; padding: 2.5rem; border-radius: 8px; border: 1px solid var(--border-color); text-align: center; }
.login-box h2 { font-family: var(--font-main); margin-bottom: 1rem; }
.login-box p { color: var(--medium-grey); margin-bottom: 2rem; }
.login-form .form-group { text-align: left; }
.submit-button.full-width { width: 100%; }
.login-links { margin-top: 1.5rem; font-size: 0.9em; }
.login-links a { color: var(--primary-color); text-decoration: none; }
.login-links a:hover { text-decoration: underline; }
.login-links span { color: #ccc; margin: 0 0.5rem; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1100; justify-content: center; align-items: center; animation: fadeIn 0.3s ease; }
.modal-content { background: #fff; border-radius: 8px; width: 90%; max-width: 500px; display: flex; flex-direction: column; max-height: 90vh; animation: slideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); }
.modal-header h2 { margin: 0; font-family: var(--font-main); font-size: 1.4em; }
.close-modal { background: none; border: none; font-size: 2em; font-weight: 300; line-height: 1; cursor: pointer; color: #aaa; transition: color 0.2s ease; }
.close-modal:hover { color: var(--dark-grey); }
.modal-body { padding: 1.5rem; overflow-y: auto; }
.cart-item { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.cart-item:last-child { border-bottom: none; margin-bottom: 0; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.item-details { flex-grow: 1; }
.item-details .item-name { display: block; font-weight: 600; }
.item-details .item-price { display: block; color: var(--medium-grey); font-size: 0.9em; }
.item-quantity { font-weight: 500; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border-color); background-color: var(--light-grey); display: flex; justify-content: space-between; align-items: center; border-radius: 0 0 8px 8px; }
.cart-total span { color: var(--medium-grey); }
.cart-total strong { display: block; font-size: 1.4em; color: var(--dark-grey); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.contact-header { text-align: center; margin-bottom: 2.5rem; }
.contact-header h2 { font-size: 2.5em; margin-bottom: 0.5rem; }
.contact-header p { font-size: 1.1em; color: var(--medium-grey); max-width: 600px; margin: 0 auto; }
.contact-page-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
.contact-info-column h3, .contact-form-column h3 { font-family: var(--font-main); font-size: 1.6em; margin-bottom: 1.5rem; color: var(--dark-grey); }
.contact-details p { display: flex; align-items: flex-start; margin-bottom: 1rem; color: var(--medium-grey); font-size: 1.05em; }
.contact-details i { color: var(--primary-color); font-size: 1.2em; width: 25px; margin-right: 15px; margin-top: 3px; }
.contact-details a { color: var(--dark-grey); text-decoration: none; transition: color 0.3s ease; }
.contact-details a:hover { color: var(--primary-color); }
.opening-hours, .social-links { margin-top: 2.5rem; background-color: var(--light-grey); padding: 1.5rem; border-radius: 8px; }
.opening-hours ul { list-style: none; padding: 0; }
.opening-hours li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.opening-hours li:last-child { border-bottom: none; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background-color: var(--primary-color); color: #fff; border-radius: 50%; text-decoration: none; font-size: 1.1em; transition: transform 0.3s ease, background-color 0.3s ease; }
.social-icons a:hover { transform: scale(1.1); background-color: var(--primary-color-dark); }
.contact-form-column { background-color: #fff; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); }
.map-section { margin-top: 3rem; padding: 2rem; background-color: #fff; border-radius: 8px; border: 1px solid var(--border-color); text-align: center; }
.map-section h3 { font-family: var(--font-main); font-size: 1.6em; margin-bottom: 1.5rem; }
.map-container iframe { width: 100%; height: 400px; border-radius: 8px; }
.inquiry-page-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
.inquiry-info-column h2 { font-size: 2.5em; margin-bottom: 1rem; font-family: var(--font-main); }
.inquiry-info-column p { font-size: 1.1em; color: var(--medium-grey); margin-bottom: 2rem; line-height: 1.7; }
.inquiry-info-column .info-box { background-color: var(--light-grey); padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.inquiry-info-column .info-box h3 { font-family: var(--font-main); font-size: 1.4em; margin-top: 0; margin-bottom: 1rem; border-bottom: 2px solid var(--primary-color); padding-bottom: 0.5rem; display: inline-block; }
.benefits-list { list-style: none; padding-left: 0; }
.benefits-list li { padding-left: 1.8rem; position: relative; margin-bottom: 0.8rem; font-size: 1.05em; }
.benefits-list li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--primary-color); position: absolute; left: 0; top: 2px; }
.process-steps { list-style: none; padding-left: 0; counter-reset: step-counter; }
.process-steps li { padding-left: 3rem; position: relative; margin-bottom: 1.2rem; }
.process-steps li::before { counter-increment: step-counter; content: counter(step-counter); background: var(--primary-color); color: #fff; font-weight: bold; width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; position: absolute; left: 0; top: 0; }
.process-steps li strong { font-size: 1.1em; color: var(--dark-grey); }
.inquiry-form-column { background: #fff; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); }
.inquiry-form-column h3 { font-family: var(--font-main); font-size: 1.6em; margin-top:0; margin-bottom: 1.5rem; }
.file-upload-input { display: none; }
.file-upload-label { display: inline-block; padding: 0.8rem 1.5rem; background-color: var(--medium-grey); color: #fff; border-radius: 6px; cursor: pointer; transition: background-color 0.3s ease; font-weight: 600; }
.file-upload-label:hover { background-color: var(--dark-grey); }
.file-upload-label i { margin-right: 8px; }
.file-name-display { display: inline-block; margin-left: 1rem; font-style: italic; color: var(--medium-grey); }
.form-group small { display: block; margin-top: 0.5rem; color: #888; }
.search-results-container { margin-top: 2rem; }
.search-result { padding: 1.5rem; border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 1.5rem; background-color: #fcfcfc; }
.search-result h3 { margin-top: 0; margin-bottom: 0.5rem; font-family: var(--font-main); }
.search-result h3 a { text-decoration: none; color: var(--dark-grey); transition: color 0.3s ease; }
.search-result h3 a:hover { color: var(--primary-color); }
.search-result p { color: var(--medium-grey); line-height: 1.7; }
.search-result mark { background-color: #fff1a8; padding: 0.1em 0.2em; border-radius: 3px; font-weight: 600; }
.search-result .result-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--primary-color); text-decoration: none; }
.search-result .result-link:hover { text-decoration: underline; }
.no-results { text-align: center; padding: 3rem 1rem; background-color: var(--light-grey); border-radius: 8px; }
.configurator-choice { text-align: center; padding-top: 1rem; padding-bottom: 3rem; }
.configurator-choice .config-intro { font-size: 1.1em; color: var(--medium-grey); max-width: 600px; margin: 0 auto 2.5rem auto; }
.configurator-options { display: flex; flex-direction: row; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 2rem; }
.config-option-card { width: 100%; max-width: 450px; display: flex; }
.config-button { display: flex; flex-direction: row; align-items: center; text-align: left; width: 100%; padding: 1.5rem; border: 1px solid var(--border-color); border-radius: 8px; text-decoration: none; color: var(--dark-grey); background-color: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.config-button:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.config-image { width: 100px; height: 100px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.config-button-text { padding-left: 1.5rem; width: 100%; }
.config-button h3 { font-family: var(--font-main); font-size: 1.5em; color: var(--primary-color); margin-top: 0; margin-bottom: 0.5rem; }
.config-button p { font-size: 0.95em; color: var(--medium-grey); line-height: 1.6; margin-top: 0; margin-bottom: 1rem; }
#warranty-checker-form-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: stretch; }
.form-group-inline { flex: 1 1 150px; display: flex; }
#warranty-checker-form-inline select, #warranty-checker-form-inline input[type="text"] { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.9em; background-color: #f9f9f9; }
#warranty-checker-form-inline .submit-button { padding: 0.75rem 1rem; border: none; background-color: var(--primary-color); color: white; border-radius: 6px; cursor: pointer; font-size: 0.9em; display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
#warranty-checker-form-inline .submit-button:hover { opacity: 0.9; }
.filter-bar { margin-bottom: 2rem; padding: 1rem; background-color: var(--light-grey); border-radius: 6px; display: flex; justify-content: flex-end; }
.sort-form label { margin-right: 10px; font-weight: 600; color: var(--medium-grey); }
.sort-form select { padding: 0.5rem; border-radius: 4px; border: 1px solid #ccc; }
.eshop-header { text-align: center; margin-bottom: 3rem; }
.eshop-header h2 { font-size: 2.5em; }
.eshop-header p { font-size: 1.1em; color: var(--medium-grey); }
.category-section { margin-bottom: 3rem; }
.category-title { font-family: var(--font-main); font-size: 1.8em; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-color); margin-bottom: 2rem; display: inline-block; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.product-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.product-card .product-link { text-decoration: none; color: var(--dark-grey); display: flex; flex-direction: column; flex-grow: 1; }
.product-image-container { width: 100%; height: 200px; overflow: hidden; }
.product-image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-image-container img { transform: scale(1.05); }
.product-info { padding: 1rem; flex-grow: 1; }
.product-name { font-family: var(--font-main); font-size: 1.2em; margin: 0 0 0.5rem 0; }
.product-spec { font-size: 0.9em; color: var(--medium-grey); line-height: 1.5; }
.product-footer { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 1rem 1rem 1rem; border-top: 1px solid var(--border-color); }
.product-price { font-size: 1.4em; font-weight: 700; color: var(--primary-color); }
.add-to-cart-btn { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); width: 40px; height: 40px; border-radius: 50%; font-size: 1.1em; cursor: pointer; transition: all 0.3s ease; }
.add-to-cart-btn:hover { background-color: var(--primary-color); color: #fff; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.product-detail-image img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border-color); }
.product-category-badge { display: inline-block; background-color: var(--light-grey); padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.9em; color: var(--medium-grey); margin-bottom: 1rem; }
.product-detail-info h1 { font-family: var(--font-main); font-size: 2.5em; margin: 0; }
.product-price-detail { font-size: 2em; font-weight: 700; color: var(--primary-color); margin: 1rem 0; }
.product-description { line-height: 1.7; color: var(--medium-grey); margin-bottom: 1.5rem; }
.product-stock { margin-bottom: 2rem; font-weight: 500; }
.add-to-cart-btn.large { width: auto; height: auto; border-radius: 6px; padding: 0.8rem 1.8rem; font-size: 1em; font-weight: bold; }
.add-to-cart-btn.large i { margin-right: 0.5rem; }
.product-specs { margin: 2rem 0; }
.product-specs h3 { font-family: var(--font-main); font-size: 1.2em; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.product-specs ul { list-style: none; padding: 0; }
.product-specs li { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--light-grey); }
.product-specs li:last-child { border-bottom: none; }
.site-footer { background-color: var(--dark-grey); color: #dddddd; text-align: center; padding: 2rem 0; margin-top: 3rem; }
.mobile-only-menu-item { display: none; }
@media (max-width: 992px) {
.header-content { flex-wrap: wrap; gap: 1rem; }
.logo-container { flex-basis: 50%; }
.header-search { order: 3; flex-basis: 100%; max-width: none; }
.header-actions { flex-basis: 40%; justify-content: flex-end; }
.contact-page-wrapper, .inquiry-page-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
.hero-content h2 { font-size: 2.2em; }
.product-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.header-actions .user-icon-link { display: none; }
.mobile-menu-toggle { display: block; }
.header-actions .cart-link { order: 2; }
.header-actions .mobile-menu-toggle { order: 1; }
.config-button { flex-direction: column; text-align: center; max-width: 320px; }
.config-button-text { padding-left: 0; margin-top: 1.5rem; }
.mobile-menu-active .main-navigation { left: 0; }
.main-navigation { position: fixed; left: -100%; top: 0; width: 80%; max-width: 300px; height: 100vh; background-color: #fff; padding-top: 60px; z-index: 1000; overflow-y: auto; border-bottom: none; box-shadow: 3px 0px 15px rgba(0,0,0,0.1); transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.main-navigation ul { flex-direction: column; padding: 15px 0; gap: 0; }
.main-navigation ul li a { padding: 15px 25px; width: 100%; text-align: left; font-size: 1.05em; border-bottom: 1px solid var(--border-color); color: var(--dark-grey); }
.main-navigation ul li a:hover, .main-navigation ul li a.active { color: var(--primary-color); border-bottom-color: var(--border-color); }
.mobile-only-menu-item { display: block; }
.mobile-only-menu-item.separator { padding: 0.5rem 1.5rem; }
.mobile-only-menu-item.separator hr { border: none; border-top: 1px solid #404040; }
.mobile-only-menu-item a i { margin-right: 12px; width: 20px; text-align: center; color: var(--primary-color); }
.page-content { padding: 1.5rem 1rem; }
.hero-content h2 { font-size: 1.8em; }
.main-navigation ul li.dropdown .dropdown-menu { display: none !important; }
.dropdown:hover .dropdown-menu { display: none !important; }
.hero-slider { height: 350px; }
.section-title { font-size: 1.8em; }
.eshop-header h2, .product-detail-info h1, .contact-header h2, .inquiry-info-column h2, .client-section-header h2 { font-size: 2em; }
.product-detail-layout { gap: 1.5rem; }
.checkout-container { grid-template-columns: 1fr; }

    /* --- ZMĚNA: Přidány mobilní styly pro product-codes --- */
    .product-codes {
        flex-direction: column;
        align-items: flex-start; /* Vše zarovnat doleva */
    }
    .product-codes > span { /* Cílí na Záruku, EAN, Kódy */
        white-space: normal;
        display: block;
        margin-bottom: 0.5rem;
        text-align: left !important; /* Vynutí zarovnání doleva */
        flex-basis: 100%; /* Plná šířka */
    }
    .product-codes-right span { /* Kódy uvnitř pravého bloku */
        display: block; /* Také pod sebe */
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    .product-codes-right span:last-child {
        margin-bottom: 0;
    }
}
.header-actions .cart-link { position: relative; }
.cart-item-count { position: absolute; top: -5px; right: -10px; background-color: var(--primary-color); color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; font-weight: bold; display: none; justify-content: center; align-items: center; }
.cart-page-container h1 { text-align: center; margin-bottom: 2rem; font-family: var(--font-main); }
.cart-items-list { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.cart-item-full { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--border-color); }
.cart-item-full:last-child { border-bottom: none; }
.cart-item-full img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.item-details-full { flex-grow: 1; }
.item-name-link { display: block; font-weight: 600; font-size: 1.1em; color: var(--dark-grey); text-decoration: none; }
.item-name-link:hover { color: var(--primary-color); }
.item-price-single { font-size: 0.9em; color: var(--medium-grey); }
.item-quantity-form form { display: flex; align-items: center; gap: 5px; }
.quantity-input { width: 60px; text-align: center; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; }
.update-cart-btn { font-size: 0.8em; padding: 0.5rem; border: none; background: none; color: var(--primary-color); cursor: pointer; text-decoration: underline; }
.item-total-price { min-width: 100px; text-align: right; font-size: 1.2em; }
.item-remove-form button { background: none; border: 1px solid transparent; color: #ccc; font-size: 1.8em; line-height: 1; padding: 0 0.5rem; cursor: pointer; transition: all 0.2s ease; }
.item-remove-form button:hover { color: #e74c3c; border-color: #e74c3c; border-radius: 50%; }
.cart-summary-wrapper { display: flex; justify-content: flex-end; margin-top: 2rem; }
.cart-summary { width: 100%; max-width: 450px; background-color: var(--light-grey); padding: 1.5rem; border-radius: 8px; }
.discount-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.discount-input-group { display: flex; gap: 10px; }
.discount-input-group input { flex-grow: 1; }
.cart-total-summary { display: flex; justify-content: space-between; padding: 0.8rem 0; font-size: 1.1em; }
.cart-total-summary.final-price { font-size: 1.4em; border-top: 1px solid #ccc; margin-top: 1rem; padding-top: 1rem; }
.checkout-button-container { margin-top: 1.5rem; border-top: 1px solid #ccc; padding-top: 1.5rem; }
.cart-empty-page { text-align: center; padding: 4rem 1rem; }
.checkout-container { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.checkout-form-column h1 { font-family: var(--font-main); margin-bottom: 2rem; }
.checkout-form-column fieldset { border: none; padding: 0; margin: 0 0 2rem 0; }
.checkout-form-column legend { font-family: var(--font-main); font-size: 1.5em; font-weight: 600; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); width: 100%; }
.form-row { display: flex; gap: 1.5rem; }
.form-group.half-width { width: 50%; }
.shipping-options { display: flex; flex-direction: column; gap: 1rem; }
.shipping-option { display: block; border: 1px solid #ccc; border-radius: 6px; padding: 1rem; cursor: pointer; transition: all 0.2s ease; }
.shipping-option:has(input:checked) { border-color: var(--primary-color); box-shadow: 0 0 0 2px var(--primary-color); background-color: #fffaf0; }
.shipping-option input[type="radio"] { display: none; }
.shipping-option-content { display: flex; justify-content: space-between; align-items: center; font-size: 1.1em; }
.shipping-option-content i { margin-right: 10px; color: var(--medium-grey); }
.checkout-summary-column { background-color: var(--light-grey); padding: 1.5rem; border-radius: 8px; height: fit-content; position: sticky; top: 100px; }
.checkout-summary-column h3 { font-family: var(--font-main); font-size: 1.5em; margin-top: 0; margin-bottom: 1.5rem; }
.summary-box { margin-bottom: 1.5rem; }
.summary-line { display: flex; justify-content: space-between; padding: 0.8rem 0; }
.summary-line.total { font-size: 1.3em; font-weight: bold; border-top: 2px solid #ccc; margin-top: 1rem; padding-top: 1rem; }
.summary-line.total strong { color: var(--primary-color); }
.summary-section { margin-bottom: 2.5rem; }
.summary-section h3 { font-family: var(--font-main); font-size: 1.5em; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border-color); margin-bottom: 1rem; }
.summary-address-details p { line-height: 1.7; margin-bottom: 1rem; color: var(--medium-grey); }
.summary-items-list { display: flex; flex-direction: column; gap: 1rem; }
.summary-item { display: flex; justify-content: space-between; align-items: center; background-color: var(--light-grey); padding: 0.8rem 1rem; border-radius: 4px; }
.summary-item-name { color: var(--dark-grey); }
.summary-item-price { font-weight: bold; }
#zasilkovna-widget-container { padding: 1rem; background-color: #f9f9f9; border-radius: 4px; margin-top: 0.5rem; border: 1px dashed #ccc; }
.packeta-selector-open { margin-bottom: 1rem; }
.packeta-selector-value { padding: 1rem; background-color: #e9f5e9; border-left: 4px solid #2ecc71; color: #333; line-height: 1.6; }
.packeta-selector-value:empty { display: none; }
.packeta-selector-value strong { display: block; margin-bottom: 0.5rem; }
.alert { padding: 1rem; margin-bottom: 1.5rem; border-radius: 4px; border: 1px solid transparent; }
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.client-section-header { text-align: center; border-bottom: 1px solid var(--border-color); margin-bottom: 2rem; padding-bottom: 1.5rem; }
.client-section-header p { font-size: 1.1em; color: var(--medium-grey); max-width: 600px; margin: 0.5rem auto 0 auto; }
.client-section { display: flex; gap: 2rem; }
.client-section-column { background-color: #fdfdfd; padding: 2rem; border: 1px solid var(--border-color); border-radius: 8px; }
.client-section-column.wide { flex: 2; }
.client-section-column { flex: 1; }
.client-section-column h3 { font-family: var(--font-main); margin-top: 0; margin-bottom: 1.5rem; }
.orders-table-container { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.orders-table th { background-color: var(--light-grey); }
.user-details p { margin-bottom: 1rem; line-height: 1.6; }
.user-details strong { color: var(--dark-grey); }
.user-actions { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 1rem; }
.submit-button, .submit-button-secondary { display: inline-block; text-decoration: none; text-align: center; }
.submit-button-secondary { background-color: #6c757d; color: white; padding: 0.8rem 1.8rem; border: none; border-radius: 6px; font-size: 1em; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease; }
.submit-button-secondary:hover { background-color: #5a6268; transform: translateY(-2px); }
.user-details-form fieldset { margin-bottom: 2rem; }
.form-actions { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; border-top: 1px solid var(--border-color); padding-top: 2rem; }
@media (max-width: 992px) { .client-section { flex-direction: column; } }
.cookie-consent-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background-color: rgba(30, 30, 30, 0.95); color: #f0f0f0; padding: 1.5rem 2rem; z-index: 2000; justify-content: space-between; align-items: center; gap: 2rem; box-shadow: 0 -5px 15px rgba(0,0,0,0.2); backdrop-filter: blur(5px); }
.cookie-text { flex-grow: 1; }
.cookie-text p { margin: 0; font-size: 0.9em; line-height: 1.5; }
.cookie-text p:first-child { font-size: 1.1em; font-weight: 600; margin-bottom: 0.5rem; }
.cookie-buttons { display: flex; gap: 1rem; flex-shrink: 0; }
@media (max-width: 768px) {
.cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 1.5rem; }
.cookie-buttons { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
}
.simple-config-form { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; background-color: var(--light-grey); border-radius: 8px; margin-bottom: 2rem; }
.simple-config-form .form-group { flex: 1; min-width: 250px; }
.results-section { margin-top: 2rem; }
.results-section h3 { text-align: center; font-family: var(--font-main); font-size: 1.8em; margin-bottom: 2rem; }
.config-intro { text-align: center; font-size: 1.1em; color: var(--medium-grey); max-width: 700px; margin: 0 auto 2.5rem auto; }
#config-form .config-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.config-column-main { display: flex; flex-direction: column; gap: 1.5rem; }
.config-column-main h3 { font-family: var(--font-main); font-size: 1.5em; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 10px; margin: 0; }
.config-column-main h3 i { color: var(--primary-color); }
#storage-rows .storage-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
#storage-rows .storage-row select { flex-grow: 1; }
.remove-storage-btn { background: none; border: none; color: #e74c3c; font-size: 1.5em; cursor: pointer; padding: 0 5px; line-height: 1; }
.submit-button-secondary.small { padding: 0.5rem 1rem; font-size: 0.9em; margin-top: 10px; align-self: flex-start; }
.config-column-summary { background-color: var(--light-grey); padding: 1.5rem; border-radius: 8px; position: sticky; top: 100px; height: fit-content; }
.config-column-summary h3 { font-family: var(--font-main); font-size: 1.5em; margin-top: 0; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.config-column-summary h3 i { color: var(--primary-color); }
#case-image-display { width: 100%; height: 250px; background-color: #fff; border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 1.5rem; display: flex; justify-content: center; align-items: center; overflow: hidden; }
#case-image-display img { max-width: 100%; max-height: 100%; object-fit: contain; }
#compatibility-warnings { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.warning-message { padding: 0.8rem 1rem; border-radius: 4px; font-size: 0.9em; line-height: 1.4; }
.warning-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.warning-message.warn { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
#total-price-container { padding: 1rem; background-color: #fff; border-radius: 6px; text-align: right; margin: 1rem 0; border: 1px solid var(--border-color); }
#total-price-container span { font-size: 1.1em; color: var(--medium-grey); }
#total-price-display { font-size: 2em; font-weight: 700; color: var(--primary-color); display: block; }
.services-section { margin: 1.5rem 0; }
.services-section h4 { font-size: 1.1em; margin-bottom: 1rem; }
.service-item { display: flex; align-items: center; margin-bottom: 0.5rem; }
.service-item input { margin-right: 10px; width: 1.2em; height: 1.2em; }
.service-item label { font-weight: normal; margin-bottom: 0; }
@media (max-width: 992px) {
#config-form .config-layout { grid-template-columns: 1fr; }
.config-column-summary { margin-top: 2rem; position: static; }
}
#summary-items-list { margin-bottom: 1.5rem; border-top: 1px solid var(--border-color); padding-top: 1rem; }
.summary-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid #e9ecef; font-size: 0.9em; }
.summary-item:last-child { border-bottom: none; }
.summary-item-name { color: var(--medium-grey); padding-right: 1rem; }
.summary-item-price { font-weight: bold; color: var(--dark-grey); white-space: nowrap; }
.summary-placeholder { color: var(--medium-grey); font-style: italic; text-align: center; padding: 2rem 0; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding: 1rem; background-color: var(--light-grey); border-radius: 6px; flex-wrap: wrap; gap: 1rem; }
#filter-modal .modal-content { max-width: 600px; }
#filter-form { display: flex; flex-direction: column; height: 100%; }
#dynamic-filters-container { flex-grow: 1; max-height: 60vh; overflow-y: auto; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.filter-group { margin-bottom: 1.5rem; border-top: 1px solid var(--border-color); padding-top: 1rem; }
.filter-group h4 { font-size: 1.1em; margin-bottom: 1rem; font-family: var(--font-main); }
.filter-options { display: flex; flex-direction: column; gap: 0.8rem; }
.filter-option { display: flex; align-items: center; cursor: pointer; }
.filter-option input { margin-right: 10px; width: 16px; height: 16px; }
#filter-form .modal-footer { display: flex; justify-content: space-between; align-items: center; }
#clear-filters-link { font-size: 0.9em; color: var(--medium-grey); }
.pagination-nav { display: flex; justify-content: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
.pagination { display: flex; list-style: none; padding: 0; margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.page-item { margin: 0; }
.page-link { display: block; padding: 0.75rem 1.2rem; color: var(--primary-color); background-color: #fff; border-left: 1px solid var(--border-color); text-decoration: none; transition: background-color 0.2s ease; }
.page-item:first-child .page-link { border-left: none; }
.page-item:hover .page-link { background-color: var(--light-grey); }
.page-item.active .page-link { background-color: var(--primary-color); color: #fff; font-weight: bold; cursor: default; }
.page-item.disabled .page-link { color: #aaa; background-color: #f9f9f9; cursor: not-allowed; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.controls-group { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.sort-form, .per-page-form { display: flex; align-items: center; gap: 0.5rem; }
.filter-bar-form select, #config-form .form-group select { padding: 0.5rem; border-radius: 4px; border: 1px solid #ccc; background-color: #fff; }
.services-section { border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.services-section label { margin-bottom: 1rem; }
.service-item.toggle-switch { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; }
.toggle-switch .label-text { font-size: 0.95em; cursor: pointer; flex-grow: 1; }
.toggle-switch input[type="checkbox"] { height: 0; width: 0; visibility: hidden; }
.toggle-switch label.slider { cursor: pointer; text-indent: -9999px; width: 50px; height: 26px; background: #ccc; display: block; border-radius: 100px; position: relative; flex-shrink: 0; transition: background-color 0.3s; }
.toggle-switch label.slider:after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: 0.3s; }
.toggle-switch input:checked + label.slider { background: var(--primary-color); }
.toggle-switch input:checked + label.slider:after { left: calc(100% - 3px); transform: translateX(-100%); }
.toggle-switch label.slider:active:after { width: 26px; }
.config-layout { grid-template-columns: 1fr 1fr; }
.config-column-main { grid-column: 1 / 2; }
.config-column-summary { grid-column: 2 / 3; }
@media (max-width: 992px) {
.config-layout { grid-template-columns: 1fr; }
.config-column-main, .config-column-summary { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
.product-detail-main, .product-detail-bottom-columns { grid-template-columns: 1fr; }
}
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 500px) 1fr; gap: 3rem; align-items: flex-start; }
.product-detail-left-column { display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 20px; }
.product-detail-image img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border-color); }
@media (max-width: 992px) {
.product-detail-layout { grid-template-columns: 1fr; }
.product-detail-left-column { position: static; }
}
.fps-widget { background-color: var(--light-grey); border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; font-family: var(--font-main); width: 100%; }
.fps-widget-header { text-align: center; margin-bottom: 1.25rem; }
.fps-widget-header h3 { margin: 0; font-size: 1.3em; color: var(--dark-grey); }
.fps-main-display { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; justify-content: center; }
.fps-circle { width: 80px; height: 80px; border-radius: 50%; background-color: var(--primary-color); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 1.8em; font-weight: 700; flex-shrink: 0; line-height: 1; }
.fps-circle::after { content: 'FPS'; font-size: 0.4em; font-weight: normal; margin-top: 2px; }
.fps-game-title { font-size: 1.4em; font-weight: 600; color: var(--dark-grey); }
.fps-slider-container { position: relative; display: flex; align-items: center; margin-bottom: 1rem; }
.fps-arrow { background-color: #fff; border: 1px solid #ccc; border-radius: 8px; width: 40px; height: 40px; font-size: 1.2em; font-weight: bold; color: #555; cursor: pointer; z-index: 10; display: none; transition: all 0.2s; }
.fps-arrow:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.fps-arrow.prev { margin-right: 10px; }
.fps-arrow.next { margin-left: 10px; }
.fps-arrow:disabled { opacity: 0.3; cursor: not-allowed; background-color: #f0f0f0; color: #ccc; border-color: #ccc; }
.fps-game-selector { display: flex; gap: 8px; overflow-x: hidden; scroll-behavior: smooth; flex-grow: 1; padding: 5px 0; }
.game-btn { border: 2px solid transparent; border-radius: 6px; padding: 4px; background-color: transparent; cursor: pointer; transition: all 0.2s ease-in-out; flex-shrink: 0; }
.game-btn img { width: 65px; height: 85px; object-fit: cover; border-radius: 4px; display: block; }
.game-btn.active { border-color: var(--primary-color); }
.game-btn:not(.active):hover { transform: translateY(-3px); }
.fps-resolution-selector { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 1.5rem; }
.resolution-btn { padding: 0.5rem 1rem; border: 1px solid #ccc; border-radius: 20px; background-color: #f0f0f0; color: var(--dark-grey); cursor: pointer; font-family: var(--font-secondary); font-weight: 600; transition: all 0.2s ease-in-out; font-size: 0.85em; }
.resolution-btn small { display: block; font-weight: normal; color: var(--medium-grey); font-size: 0.8em; margin-top: 2px; }
.resolution-btn:hover { background-color: #e0e0e0; }
.resolution-btn.active { background-color: var(--primary-color); color: white; border-color: var(--primary-color); }
.resolution-btn.active small { color: #fff; opacity: 0.8; }
.image-modal-overlay { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.85); justify-content: center; align-items: center; }
.image-modal-close { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; }
.image-modal-close:hover, .image-modal-close:focus { color: #bbb; text-decoration: none; cursor: pointer; }
.image-modal-content { margin: auto; display: block; max-width: 85%; max-height: 85%; }
.wattage-value { font-weight: bold; }
.wattage-low { color: #28a745; }
.wattage-medium { color: var(--primary-color); }
.wattage-high { color: #dc3545; }
.product-specs ul { list-style: none; padding: 0; }
.product-specs .component-item { display: block; border-bottom: 1px solid var(--border-color); }
.product-specs .component-item:last-child { border-bottom: none; }
.component-toggle { color: var(--dark-grey); background: none; border: none; width: 100%; text-align: left; padding: 0.8rem 0; font-size: 1em; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.2s; }
.component-toggle:hover { color: var(--primary-color); }
.component-toggle .arrow { font-size: 0.8em; transition: transform 0.3s ease; }
.component-toggle.active .arrow { transform: rotate(90deg); }
.component-details { display: none; background-color: var(--light-grey); padding: 0.5rem 1rem 1rem 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--primary-color); border-radius: 0 4px 4px 0; }
.component-details ul { list-style: none; padding: 0; font-size: 0.9em; }
.component-details ul li { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px dashed #ddd; }
.component-details ul li:last-child { border-bottom: none; }
.component-details ul li span { color: var(--medium-grey); }
.tooltip-container { position: relative; display: inline-flex; align-items: center; gap: 5px; }
.tooltip-content { visibility: hidden; min-width: 250px; background-color: rgba(40, 40, 40, 0.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); color: #fff; text-align: left; border-radius: 6px; padding: 10px 15px; position: absolute; z-index: 10; bottom: 130%; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity 0.3s; font-size: 0.85em; line-height: 1.6; font-weight: normal; box-shadow: 0 4px 10px rgba(0,0,0,0.25); pointer-events: none; }
.tooltip-content.bottom { bottom: auto; top: 130%; }
.tooltip-content::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-width: 5px; border-style: solid; border-color: rgba(40, 40, 40, 0.9) transparent transparent transparent; }
.tooltip-content.bottom::after { top: auto; bottom: 100%; border-color: transparent transparent rgba(40, 40, 40, 0.9) transparent; }
.tooltip-container:hover .tooltip-content { visibility: visible; opacity: 1; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 20px; background-color: #f2f2f2; color: #333; flex-wrap: wrap; }
.footer-links { display: flex; gap: 15px; }
.footer-links a { color: #ffa600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.content-section { max-width: 800px; margin: 40px auto; padding: 20px; background-color: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); line-height: 1.6; }
.content-section h2, .content-section h3 { color: #333; margin-bottom: 15px; }
.content-section p, .content-section ul { margin-bottom: 1em; }
.content-section ul { list-style-type: disc; margin-left: 20px; }
.form-group-inline { display: flex; align-items: flex-end; gap: 15px; }
.captcha-group { flex-grow: 1; }
.captcha-group input { width: 100px; max-width: 100%; }
.button-group { flex-shrink: 0; }
.faq-container { max-width: 800px; margin: 2rem auto 0 auto; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 1.5rem 2.5rem 1.5rem 0; font-size: 1.1em; font-weight: 600; font-family: var(--font-main); color: var(--dark-grey); cursor: pointer; position: relative; transition: color 0.2s ease; }
.faq-question:hover { color: var(--primary-color); }
.faq-question::after { content: '\f067'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease; color: var(--primary-color); }
.faq-question.active::after { content: '\f068'; transform: translateY(-50%) rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; padding: 0 1rem; }
.faq-answer p { padding-bottom: 1.5rem; line-height: 1.7; color: var(--medium-grey); }
.faq-footer { text-align: center; margin-top: 3rem; padding: 2rem; background-color: var(--light-grey); border-radius: 8px; }
.faq-footer h3 { margin-top: 0; margin-bottom: 1rem; }
.product-price-stock-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.product-price-detail { font-size: 1.5em; font-weight: bold; }
.product-stock { margin-bottom: 0; font-size: 1.1em; font-weight: 500; }
.product-stock strong { padding: 5px 10px; border-radius: 4px; color: white; }
.stock-high { background-color: #28a745; }
.stock-medium { background-color: #fd7e14; }
.stock-low { background-color: #dc3545; }
.stock-out { background-color: #6c757d; }
.product-detail-bottom-section { grid-column: 1 / -1; margin-top: 2.5rem; padding-top: 2.5rem; border-top: none; }
.product-tabs { width: 100%; }
.tab-nav { list-style: none; padding: 0; margin: 0 0 -1px 0; display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border-color, #ddd); }
.tab-nav li { margin-right: 4px; margin-bottom: 2px; }
.tab-nav .tab-link { display: block; padding: 12px 22px; text-decoration: none; color: #555; background-color: #f4f4f4; border: 1px solid var(--border-color, #ddd); border-bottom: none; border-radius: 8px 8px 0 0; font-weight: 500; font-size: 1.05em; position: relative; top: 1px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.tab-nav .tab-link:hover { background-color: #fafafa; }
.tab-nav .tab-link.active { background-color: #fff; color: #000; border-bottom: 1px solid #fff; }
.tab-content-container { border: 1px solid var(--border-color, #ddd); padding: 2rem; border-radius: 0 8px 8px 8px; background-color: #fff; clear: both; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content#tab-popis p { margin-bottom: 1em; line-height: 1.6; }
.tab-content#tab-popis h1, .tab-content#tab-popis h2, .tab-content#tab-popis h3 { margin-top: 1.5em; margin-bottom: 0.5em; }

/* --- ZMĚNA: Styly pro kódy produktu --- */
.product-codes {
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.6;
    border-top: 1px solid var(--border-color, #eee);
    margin-top: 1.5rem;
    padding-top: 1rem;
    /* Flex pravidla */
    display: flex;
    justify-content: space-between; /* Klíčové pro zarovnání */
    flex-wrap: wrap;
    align-items: center;
}
.product-codes > span { /* Cílí na přímé potomky: Záruka, EAN, Kódy */
    white-space: nowrap;
    margin-bottom: 0;
    flex-basis: auto; /* Nechá je, ať si vezmou, kolik potřebují */
}
.product-codes > span:first-child { /* Záruka */
    text-align: left;
}
.product-codes > span.product-codes-center { /* EAN */
    text-align: center;
    flex-grow: 1; /* EAN zabere zbytek místa uprostřed */
}
.product-codes > span.product-codes-right { /* Kódy */
    text-align: right;
}

.product-codes strong {
    color: #333;
}

/* Kódy uvnitř pravého bloku */
.product-codes-right span { 
    display: inline-block; /* Zajištění, aby byly vedle sebe na desktopu */
    margin-left: 1em;
}
.product-codes-right span:first-child {
    margin-left: 0;
}
/* --- KONEC ZMĚNY --- */

.product-actions { margin-top: 1.5rem; }
.product-detail-left-column { position: static !important; align-self: start; }
.share-buttons { display: flex; flex-direction: column; gap: 1rem; max-width: 350px; }
.share-btn, #copy-url-btn { display: inline-block; padding: 10px 15px; border-radius: 5px; text-decoration: none; color: #fff !important; font-weight: 500; text-align: center; border: none; cursor: pointer; font-size: 1em; transition: opacity 0.2s; }
.share-btn i, #copy-url-btn i { margin-right: 8px; }
.share-btn.copy-link, #copy-url-btn { background-color: #6c757d; }
.share-btn.facebook { background-color: #1877F2; }
.share-btn.instagram { background-color: #C13584; }
.share-btn:hover, #copy-url-btn:hover { opacity: 0.85; color: #fff; }
.share-note { font-size: 0.9em; color: #6c757d; margin-top: 0.5rem; }
#price-watch-form { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; }
#price-watch-form label { font-weight: 500; margin-bottom: -0.5rem; }
#price-watch-form input[type="email"] { padding: 10px; border: 1px solid var(--border-color, #ddd); border-radius: 5px; font-size: 1em; }
#price-watch-form .submit-button { background-color: var(--primary-color, #007bff); color: white; padding: 12px; border: none; border-radius: 5px; cursor: pointer; font-size: 1em; font-weight: 500; text-align: center; }
#price-watch-form .submit-button:hover { opacity: 0.9; }
.chart-container { width: 100%; max-width: 100%; margin-top: 1rem; }
.chart-filters { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chart-filter-btn { padding: 6px 12px; border: 1px solid var(--border-color, #ddd); background-color: #f9f9f9; color: #333; border-radius: 5px; cursor: pointer; font-size: 0.9em; font-weight: 500; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chart-filter-btn:hover { background-color: #f0f0f0; }
.chart-filter-btn.active { background-color: var(--primary-color, #007bff); color: #fff; border-color: var(--primary-color, #007bff); }

@media (max-width: 480px) {
body { font-size: 95%; }
.hero-slider { height: 300px; }
.hero-content { padding: 1.5rem; }
.hero-content h2 { font-size: 1.6em; }
.section-title { font-size: 1.6em; margin-bottom: 2rem; }
.eshop-header h2, .product-detail-info h1, .contact-header h2, .inquiry-info-column h2, .client-section-header h2 { font-size: 1.8em; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.footer-links { flex-direction: column; align-items: center; gap: 10px; }
.site-footer { flex-direction: column; gap: 1rem; }
.cookie-buttons { grid-template-columns: 1fr; }
.checkout-container { gap: 1.5rem; }
.form-row { flex-direction: column; gap: 0; }
.form-group.half-width { width: 100%; margin-bottom: 1rem; }
.form-row .form-group:last-child { margin-bottom: 0; }
.tab-nav .tab-link { padding: 10px 15px; font-size: 1em; }
}
/* --- Styly pro Pokladnu --- */

/* Skryje pole, dokud není potřeba */
#platba-fieldset {
    display: none;
    margin-top: 2rem; /* Odsazení od dopravy */
}

/* Styl pro Zásilkovna a GLS widgety */
#zasilkovna-widget-container,
#gls-widget-container {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-top: 0.5rem;
    border: 1px dashed #ccc;
    display: none; /* Skryto, dokud se nevybere */
}
.packeta-selector-open {
    margin-bottom: 1rem;
    /* Použije existující styl .submit-button-secondary */
}
.packeta-selector-value {
    padding: 1rem;
    background-color: #e9f5e9;
    border-left: 4px solid #2ecc71;
    color: #333;
    line-height: 1.6;
}
.packeta-selector-value:empty {
    display: none;
}
.packeta-selector-value strong {
    display: block;
    margin-bottom: 0.5rem;
}

/* Styl pro neaktivní/vypnuté volby (Dobírka) */
.shipping-option.disabled {
    background-color: #f9f9f9;
    cursor: not-allowed;
    color: #aaa;
}
.shipping-option.disabled .shipping-option-content strong {
    color: #aaa;
}
.shipping-option.disabled .shipping-option-content span {
    color: #aaa;
}

/* --- ZMĚNA: Styly pro GLS Modal (vyskakovací okno) --- */
.gls-modal-overlay {
    display: none; /* Skryté ve výchozím stavu */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.gls-modal-content {
    background: #fff;
    border-radius: 8px;
    width: 95%; /* Širší na mobilu */
    max-width: 1200px; /* Zvětšená šířka na desktopu */
    height: 85vh; /* Výška okna */
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.gls-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.gls-modal-header h2 {
    margin: 0;
    font-family: var(--font-main);
    font-size: 1.2em; /* Zmenšený nadpis */
    padding: 0;
    border-bottom: none;
}
.gls-modal-close {
    background: none;
    border: none;
    font-size: 2em; /* Zmenšený křížek */
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease;
}
.gls-modal-close:hover {
    color: var(--dark-grey);
}
.gls-modal-body {
    flex-grow: 1;
    overflow: hidden;
}
#glsFrame {
    width: 100%;
    height: 100%;
    border: 0;
}


/* --- Responzivita pro Pokladnu --- */
@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    .checkout-summary-column {
        position: static;
        margin-top: 2rem;
    }
}