/* =========================================
   MAIN STYLES & VARIABLES
   ========================================= */
:root {
    --text-main: hsl(234, 23%, 33%);
    --wavin-blue-dark: #353750;
    --wavin-blue-link: #00A8E1;
    --wavin-green: #41B47E;
    --wavin-green-hover: #008a32;
    --white: #ffffff;
    --bg-light: #F8F9FA;
    --border-color: #d1d9e1;
    --font-main: 'Noto Sans', sans-serif;
    --font-headings: 'Lora', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; position: relative; }
body { font-family: var(--font-main); color: var(--text-main); line-height: 1.5; background-color: var(--white); -webkit-font-smoothing: antialiased; padding-top: 100px; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, .hero-title, .min-title, .min-section-title, .blog-post-title, .page-title { font-family: var(--font-headings); color: var(--wavin-blue-dark); font-weight: 700; }
h1, .page-title, .min-title, .tab-header h1 { font-size: 38px; line-height: 1.2; margin-top: 0; margin-bottom: 30px; }
.hero-title { font-size: 56px; font-weight: 700; line-height: 1.1; margin-bottom: 20px; color: var(--white); }

/* --- HEADER --- */
.site-header { background: var(--white); height: 100px; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.site-header.scrolled { height: 70px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); background-color: rgba(255,255,255,0.95); backdrop-filter: blur(5px); }
.site-header.scrolled .header-logo { max-height: 40px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-link { display: flex; align-items: center; height: 100%; z-index: 1001; }
.header-logo { display: block; height: auto; max-height: 55px; width: auto; transition: max-height 0.3s ease; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a { font-size: 16px; font-weight: 400; color: var(--text-main); }
.main-nav a:hover { color: var(--wavin-blue-link); }
.header-actions { display: flex; align-items: center; gap: 18px; z-index: 1001; }
.search-btn { background: none; border: none; cursor: pointer; color: var(--text-main); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.search-btn:hover { background-color: #f0f2f5; color: var(--wavin-blue-link); }

/* --- MOBILE MENU --- */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 24px; flex-direction: column; justify-content: space-between; z-index: 1001; }
.mobile-menu-btn span { display: block; width: 100%; height: 3px; background-color: var(--text-main); border-radius: 3px; transition: all 0.3s; }
.btn-mobile-call { display: none; color: var(--text-main); padding: 5px; }
.mobile-drawer { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-top: 1px solid #eee; }
.mobile-drawer-list { padding: 20px; }
.mobile-drawer-list li { margin-bottom: 15px; border-bottom: 1px solid #f5f5f5; padding-bottom: 10px; }
.mobile-drawer-list a { font-size: 18px; font-weight: 600; color: var(--text-main); display: block; }
.site-header.menu-open .mobile-drawer { max-height: 400px; }
.site-header.menu-open .mobile-menu-btn span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.site-header.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.site-header.menu-open .mobile-menu-btn span:nth-child(3) { transform: rotate(-45deg) translate(7px,-8px); }

/* --- UI ELEMENTS --- */
.btn, .btn-contact, .btn-green, .btn-blue-rounded, .btn-rounded-dark { display: inline-block; font-weight: 700; border-radius: 50px; white-space: nowrap; transition: all 0.2s ease; color: var(--white)!important; box-shadow: 0 4px 6px rgba(0,0,0,0.1); text-decoration: none; cursor: pointer; border: none; }
.btn-contact { background-color: var(--wavin-blue-dark); padding: 10px 24px; font-size: 14px; }
.btn-green { background-color: var(--wavin-green); padding: 14px 36px; font-size: 16px; }
.btn-blue-rounded { background-color: var(--wavin-blue-dark); padding: 12px 28px; font-size: 15px; text-align: center; margin-top: 5px; margin-left: 30px; }
.btn-rounded-dark { background-color: var(--wavin-blue-dark); padding: 14px 36px; font-family: var(--font-main); }
.btn:hover, .btn-contact:hover, .btn-green:hover, .btn-blue-rounded:hover, .btn-rounded-dark:hover { background-color: var(--wavin-blue-link); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,168,225,0.3); }

.min-breadcrumbs { padding: 30px 0; font-size: 13px; color: #999; width: 100%; }
.min-breadcrumbs a { color: var(--text-main); border-bottom: 1px solid transparent; }
.min-breadcrumbs a:hover { color: var(--wavin-blue-link); border-color: var(--wavin-blue-link); }
.min-breadcrumbs span { color: #999; }

#scrollTopBtn { display: none; position: fixed; bottom: 30px; right: 30px; z-index: 2000; border: none; outline: none; background-color: var(--wavin-blue-dark); color: var(--white); cursor: pointer; padding: 12px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,0.25); transition: all 0.3s ease; }
#scrollTopBtn:hover { background-color: var(--wavin-blue-link); transform: translateY(-5px); }
#scrollTopBtn.show { display: flex; align-items: center; justify-content: center; animation: fadeInUp 0.4s; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* --- HERO SECTION --- */
.hero { position: relative; height: 600px; display: flex; align-items: center; overflow: visible; }
.hero-bg { position: absolute; inset: 0; background: #eee url('../images/main-banner.jpg') center/cover no-repeat; z-index: 1; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.hero-content { position: relative; color: var(--white); max-width: 750px; /*padding-top: 40px;*/ z-index: 3; }
/*.hero-title { font-size: 56px; font-weight: 700; line-height: 1.1; margin-bottom: 20px; color: var(--white); }*/
.hero-subtitle { font-size: 20px; margin-bottom: 30px; font-weight: 400; }
.hero-cta-wrapper { display: flex; gap: 15px; }
.hero-wave { position: absolute; bottom: -100px; left: 0; width: 100%; line-height: 0; pointer-events: none; z-index: 4; }
.hero-wave svg { display: block; height: 200px; width: 170%; transform: translateX(-41.18%); }

/* --- SECTIONS (Design, Challenges, Text) --- */
.design-services { padding: 100px 0; background-color: var(--bg-light); position: relative; z-index: 0; }
.design-services-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 80px; }
.design-services-image { width: 100%; }
.video-container { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background-color: #000; box-shadow: 0 15px 30px rgba(0,59,111,0.15); }
.video-container video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80px; height: 80px; border-radius: 50%; background-color: rgba(255,255,255,0.9); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; color: var(--wavin-blue-link); z-index: 5; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.video-play-btn:hover { transform: translate(-50%,-50%) scale(1.1); background-color: #fff; }
.video-play-btn.hidden { opacity: 0; pointer-events: none; }
.design-services-content h2 { font-size: 36px; margin-bottom: 20px; }
.design-services-content p { font-size: 18px; opacity: 0.8; margin-bottom: 30px; }

.challenges { padding: 80px 0; background-color: var(--white); margin-top: 50px; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 32px; font-weight: 700; }
.challenges-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.card { background: var(--white); border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: box-shadow 0.3s ease; }
.card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.card-img { height: 180px; width: 100%; background-color: #ddd; background-size: cover; background-position: center; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 15px; min-height: 50px; }
.card-link { color: var(--wavin-blue-link); font-weight: 700; font-size: 14px; }
.card-link:hover { text-decoration: underline; }

.text-block { padding: 60px 0 100px 0; text-align: center; }
.text-block-inner { max-width: 800px; margin: 0 auto; }
.text-block h2 { font-size: 36px; margin-bottom: 20px; }
.text-block p { font-size: 18px; opacity: 0.8; margin-bottom: 30px; }
.inline-link { color: var(--wavin-blue-link); font-weight: 700; border-bottom: 2px solid var(--wavin-blue-link); }
.inline-link:hover { color: var(--wavin-blue-dark); border-color: var(--wavin-blue-dark); }

/* --- NEWS SECTION --- */
.latest-news {/*padding: 80px 0;*/ background-color: var(--white); }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.news-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 30px; }
.news-header h2 { font-size: 32px; font-weight: 700; max-width: 600px; }
.btn-link-arrow { color: var(--wavin-blue-link); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.news-card { background: var(--white); border: 1px solid var(--border-color); display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--border-color); }
.news-img-wrapper { position: relative; height: 220px; overflow: hidden; display: block; }
.news-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img-wrapper img { transform: scale(1.05); }
.news-tag { position: absolute; top: 15px; left: 15px; background-color: var(--wavin-blue-link); color: var(--white); padding: 4px 12px; font-size: 12px; font-weight: 700; border-radius: 4px; text-transform: uppercase; }
.news-tag.green { background-color: var(--wavin-green); }
.news-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { font-size: 13px; color: #888; margin-bottom: 10px; }
.news-title { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 15px; color: var(--text-main); }
.news-card:hover .news-title { color: var(--wavin-blue-link); }

/* --- CLEAN NEWS GRID --- */
.clean-news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.clean-news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; height: 100%; }
.clean-news-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.clean-news-img { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.clean-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.clean-news-card:hover .clean-news-img img { transform: scale(1.05); }
.clean-news-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.clean-news-date { font-size: 0.85rem; color: #888; margin-bottom: 10px; font-weight: 500; }
.clean-news-title { font-size: 1.25rem; font-weight: 700; line-height: 1.4; margin: 0 0 15px 0; flex-grow: 1; }
.clean-news-title a { color: #333; text-decoration: none; transition: color 0.2s; }
.clean-news-title a:hover { color: #00A8E1; }
.clean-news-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #00A8E1; text-decoration: none; font-size: 0.95rem; }
.clean-news-link svg { transition: transform 0.2s; }
.clean-news-link:hover svg { transform: translateX(4px); }

/* --- CATALOG LAYOUT --- */
.catalog-page { background-color: var(--white); padding-bottom: 80px; }
.catalog-layout, .support-layout, .blog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.catalog-sidebar { background-color: var(--bg-light); border: 1px solid var(--border-color); border-radius: 15px; padding: 20px; position: sticky; top: 130px; }
.sidebar-header { font-size: 18px; font-weight: 700; color: var(--wavin-blue-dark); margin-bottom: 15px; padding-bottom: 15px; border-bottom: 2px solid var(--wavin-blue-link); }
.tabs-nav { display: flex; flex-direction: column; gap: 5px; }
.tab-btn { display: block; width: 100%; text-align: left; background: none; border: none; padding: 10px 12px; font-family: var(--font-main); font-size: 16px; cursor: pointer; border-radius: 4px; transition: all 0.2s ease; text-decoration: none; }
.tab-btn:hover { background-color: #e9ecef; color: var(--wavin-blue-dark); }
.tab-btn.active { background-color: var(--wavin-blue-dark); color: #fff; font-weight: 600; }
.tab-pane { display: none; animation: fadeIn 0.4s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.tab-header { margin-bottom: 30px; }
.tab-header h1 { font-size: 38px; margin-bottom: 20px; }
.tab-header p { font-size: 16px; color: #666; max-width: 800px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-color); border-radius: 15px; overflow: hidden; transition: all 0.3s ease; height: 100%; }
.prod-card:hover { border-color: #d5d5d5; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transform: translateY(-5px); }
.pc-img { position: relative; background-color: var(--bg-light); display: flex; align-items: center; justify-content: center; padding: 10px; }
.pc-img img { max-height: 100%; max-width: 100%; mix-blend-mode: multiply; transition: transform 0.3s; }
.prod-card:hover .pc-img img { transform: scale(1.05); }
.pc-badge { position: absolute; top: 10px; left: 10px; background: var(--wavin-green); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
.pc-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.pc-code { font-size: 11px; margin-bottom: 5px; }
.pc-info h4 { font-size: 18px; font-weight: 550; margin-bottom: 15px; line-height: 1.3; color: var(--text-main); }
.pc-link { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--wavin-blue-link); }
.prod-card.fade-in { animation: fadeInCard 0.4s ease forwards; }
@keyframes fadeInCard { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* --- PRODUCT PAGE --- */
.minimal-page { padding-bottom: 80px; background-color: var(--white); }
.min-hero-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 0px; align-items: start; }
.min-gallery-col { position: relative; }
.sticky-wrapper { position: sticky; top: 120px; display: flex; flex-direction: column; }
.image-box-frame { position: relative; text-align: center; background: var(--bg-light); padding: 20px; border-radius: 20px; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; min-height: 300px; }
.image-box-frame img { mix-blend-mode: multiply; max-height: 500px; width: auto; max-width: 100%; object-fit: contain; }
.files-box-frame { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 20px; padding: 20px; text-align: left; margin-bottom: 30px; }
.file-row { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; transition: 0.3s; }
.file-row:last-child { margin-bottom: 0; }
.file-row:hover { transform: translateX(5px); }
.file-icon { font-weight: 700; font-size: 13px; background: var(--white); padding: 8px; border-radius: 4px; color: var(--wavin-blue-dark); border: 1px solid var(--border-color); min-width: 38px; text-align: center; }
.file-info { display: flex; flex-direction: column; }
.file-info a { font-weight: 600; color: var(--text-main); font-size: 15px; line-height: 1.3; margin-bottom: 3px; }
.file-info a:hover { color: var(--wavin-blue-link); }
.file-size { font-size: 13px; color: #999; }
.all-downloads-link { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border-color); }
.all-downloads-link .file-icon { background-color: transparent; border: 1px solid #ccc; color: var(--text-main); transition: all 0.3s ease; }
.all-downloads-link:hover .file-icon { border-color: var(--wavin-blue-link); color: var(--wavin-blue-link); }
.all-downloads-link:hover .file-info a { color: var(--wavin-blue-link); }
.min-badges-wrapper { position: absolute; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 10; align-items: flex-end; }
.min-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; background: var(--wavin-green); color: #fff; padding: 6px 12px; border-radius: 50px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.min-info-col { border-bottom: none; padding-bottom: 0; }
.min-header { margin-bottom: 40px; border-bottom: none; }
.min-series { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--wavin-blue-link); display: block; margin-bottom: 10px; font-weight: 700; }
.min-title { line-height: 1.3; color: var(--text-main); margin-bottom: 20px; }
.min-description { margin-bottom: 30px; font-size: 16px; line-height: 1.6; text-align: justify; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
.min-specs-list { margin-bottom: 40px; }
.ms-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 15px; }
.ms-item .label { color: var(--text-main); }
.ms-item .val { font-weight: 600; color: var(--text-main); }
.min-actions { display: flex; align-items: center; gap: 30px; justify-content: flex-end; margin-top: 30px; margin-bottom: 0; }
.min-table-section { margin-top: 30px; margin-bottom: 30px; }
.min-section-title { font-size: 28px; margin-top: 20px; color: var(--text-main); }

/* --- SHOPS PAGE --- */
.shops-page { padding-bottom: 80px; background-color: var(--white); }
.shops-header { margin-bottom: 40px; text-align: center; }
.shops-intro { max-width: 800px; margin: 0 auto; }
.shops-intro h4 { margin-top: 20px; margin-bottom: 15px; font-size: 20px; }
.map-wrapper-center { display: flex; flex-direction: column; align-items: center; width: 100%; position: relative; min-width: 0; }
.select-container { margin-bottom: 30px; width: 100%; text-align: center; }
.select-container select { padding: 12px 15px; width: 100%; max-width: 320px; border: 1px solid #ccc; border-radius: 50px; font-size: 15px; font-weight: 600; color: var(--text-main); cursor: pointer; background-color: var(--white); font-family: var(--font-main); appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.05); text-align: center; text-align-last: center; padding-right: 15px; }
.select-container select:hover { border-color: var(--wavin-blue-link); box-shadow: 0 4px 12px rgba(0, 168, 225, 0.15); outline: none; }
.map-container-relative { position: relative; display: block; line-height: 0; max-width: 100%; }
.main-map-img { display: block; width: auto; max-width: 100%; height: auto; position: relative; z-index: 1; }
.map-overlay-img { visibility: hidden; position: absolute; top: 0; left: 0; pointer-events: none; z-index: 2; width: 100%; height: 100%; }
.shops-footer { margin-top: 60px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--border-color); text-align: center; }
.regions-data-wrapper { width: 100%; scroll-margin-top: 140px; }
.shop-group-wrapper h4 { color: var(--wavin-blue-dark); font-size: 18px; font-weight: 700; width: 90%; margin: 30px auto 15px auto; text-align: left; display: block; }
.popup-title { color: var(--wavin-blue-dark); border-bottom: 1px solid var(--wavin-blue-link); padding-bottom: 10px; margin: 0 auto 20px auto; font-size: 24px; width: 90%; text-align: left; }
.empty-msg { width: 90%; margin: 20px auto; text-align: center; color: #666; }
.region-info-block, .shop-group-wrapper { animation: fadeInBlock 0.5s ease-out; width: 100%; }
@keyframes fadeInBlock { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* --- CLEAN TABLE --- */
.clean-table-wrapper { width: 100%; margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 15px; border: 1px solid var(--border-color); display: block; position: relative; box-sizing: border-box; min-width: 0; background: var(--white); }
.shops-page .clean-table-wrapper { width: 90%; margin: 20px auto; }
.clean-table { width: 100%; border-collapse: collapse; border-style: hidden; }
.clean-table th, .clean-table td { padding: 10px 12px; font-family: var(--font-main); text-align: center !important; vertical-align: middle !important; border: 1px solid var(--border-color) !important; }
.clean-table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: #555; border-bottom: 1px solid var(--border-color) !important; font-weight: 700; background-color: var(--bg-light) !important; white-space: nowrap; }
.clean-table td { font-size: 14px; color: var(--text-main); font-weight: 400 !important; }
.clean-table th:nth-child(odd), .clean-table td:nth-child(odd) { background-color: var(--white); }
.clean-table th:nth-child(even), .clean-table td:nth-child(even) { background-color: var(--bg-light); }
.clean-table td:first-child { font-weight: 600; }
.shops-page .clean-table td, .shops-page .clean-table th { background-color: var(--white) !important; }
.shops-page .clean-table thead th { background-color: var(--bg-light) !important; }
.shops-page .clean-table a { color: var(--wavin-blue-link) !important; text-decoration: underline !important; font-weight: 700 !important; }
.shops-page .clean-table td.name-cell { text-align: left !important; padding-left: 10px !important; border-left: none !important; }
.shops-page .clean-table td.site-cell { text-align: center !important; }
.shops-page .clean-table td.logo-cell { width: 80px; text-align: left !important; padding-left: 20px !important; padding-right: 0 !important; border-right: none !important; vertical-align: middle !important; }
.shop-logo { max-height: 45px; width: auto; display: block; margin: 0; }
.table-divider { height: 1px; background-color: var(--border-color); width: 100%; margin: 0; padding: 0; border: none; }
.clean-table thead th { border-top: none !important; }
.clean-table tbody tr:last-child td { border-bottom: none !important; }
.clean-table th:first-child, .clean-table td:first-child { border-left: none !important; }
.clean-table th:last-child, .clean-table td:last-child { border-right: none !important; }
.clean-table .section-row td { color: var(--wavin-blue-dark) !important; font-family: var(--font-headings); font-size: 16px; font-weight: 700; text-align: center !important; padding: 20px 15px !important; border-top: 1px solid var(--border-color) !important; border-bottom: 1px solid var(--border-color) !important; border-left: none !important; border-right: none !important; }
.table-footer-notes { margin-top: 25px; width: 100%; }
.table-note { font-size: 14px; font-weight: 600; color: var(--text-main); margin-top: 25px; margin-bottom: 40px; text-align: left; }
.product-disclaimer { font-size: 12px; line-height: 1.6; color: #888; font-family: var(--font-main); text-align: center; max-width: 900px; margin: 0 auto; }

/* --- TEXT CONTENT --- */
.static-page { padding-bottom: 80px; background-color: var(--white); }
.static-header { text-align: center; margin-bottom: 50px; }
.text-content { max-width: 900px; margin: 0 auto; font-size: 16px; color: var(--text-main); }
.text-content.full-width { max-width: 100%; margin: 0; }
.text-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 30px 0; display: block; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.text-content img[style*="float: left"], .text-content img.align_left { float: left; margin: 10px 30px 20px 0; max-width: 50%; }
.text-content img[style*="float: right"], .text-content img.align_right { float: right; margin: 10px 0 20px 30px; max-width: 50%; }
.text-content img.align_center, .text-content figure.align_center { display: block; margin: 30px auto; float: none; }
.text-content figure { margin: 30px 0; display: block; }
.text-content figure img { margin-bottom: 10px; }
.text-content figcaption { font-size: 13px; color: #888; text-align: center; font-style: italic; font-family: var(--font-main); }
.text-content p { margin-bottom: 24px; text-align: justify; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
.text-content h2, .text-content h3, .text-content h4 { font-family: var(--font-headings); color: var(--wavin-blue-dark); margin-top: 40px; margin-bottom: 20px; font-weight: 700; }
.text-content h2 { font-size: 28px; padding-bottom: 0; border-bottom: none; }
.text-content h3 { font-size: 22px; }
.text-content h4 { font-size: 18px; }
.text-content ul, .text-content ol { margin-bottom: 24px; padding-left: 20px; list-style-position: outside; text-align: justify; }
.text-content ul { list-style-type: disc; }
.text-content ol { list-style-type: decimal; }
.text-content li { text-align: justify; margin-bottom: 10px; padding-left: 10px; }
.text-content a { color: var(--wavin-blue-link); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.text-content a:hover { color: var(--wavin-blue-dark); text-decoration: none; }
.text-content strong, .text-content b { font-weight: 700; color: var(--wavin-blue-dark); }
.text-content table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 14px; }
.text-content th, .text-content td { padding: 12px 15px; border: 1px solid var(--border-color); text-align: left; }
.text-content th { background-color: var(--bg-light); font-weight: 700; color: var(--wavin-blue-dark); }
hr { border: none; height: 1px; background-color: var(--border-color); margin: 40px 0; }

/* --- BLOG --- */
.blog-page .catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; padding-bottom: 80px; }
.blog-list-container { display: flex; flex-direction: column; gap: 30px; }
.blog-row-item { display: flex; background: var(--white); border-bottom: 1px solid #eef2f5; padding-bottom: 30px; transition: all 0.3s ease; }
.blog-row-item:last-child { border-bottom: none; }
.blog-row-img { width: 280px; height: 190px; flex-shrink: 0; border-radius: 8px; overflow: hidden; margin-right: 30px; position: relative; background-color: var(--bg-light); }
.blog-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-row-item:hover .blog-row-img img { transform: scale(1.05); }
.blog-row-content { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; }
.blog-meta { margin-bottom: 10px; }
.meta-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-row-title { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; margin-top: 0; }
.blog-row-title a { color: var(--text-main); text-decoration: none; transition: color 0.2s; }
.blog-row-item:hover .blog-row-title a { color: var(--wavin-blue-link); }
.blog-row-text { font-size: 15px; line-height: 1.6; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn-text-arrow, .read-more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--wavin-blue-link); margin-top: auto; }
.btn-text-arrow:hover, .read-more-link:hover { gap: 12px; color: var(--wavin-blue-dark); }
.blog-sidebar-widget { margin-bottom: 40px; }
.widget-title { font-size: 18px; font-weight: 700; color: var(--wavin-blue-dark); margin-bottom: 20px; border-bottom: 2px solid var(--wavin-blue-link); padding-bottom: 10px; display: inline-block; }
.sidebar-back-btn { margin-bottom: 20px; display: inline-block; }
.recent-posts-list li { margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.recent-posts-list li:last-child { border-bottom: none; }
.recent-post-link { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--text-main); display: block; margin-bottom: 5px; }
.recent-post-link:hover { color: var(--wavin-blue-link); }
.recent-post-date { font-size: 11px; color: #999; }
.load-more-wrapper { text-align: center; margin-top: 50px; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.blog-card { background: var(--white); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; display: flex; flex-direction: row; transition: all 0.3s ease; height: auto; min-height: 240px; }
.blog-card:nth-child(even) { flex-direction: row-reverse; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--wavin-blue-link); }
.blog-thumb { width: 40%; position: relative; overflow: hidden; background-color: var(--bg-light); flex-shrink: 0; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; position: absolute; top: 0; left: 0; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-content { width: 60%; padding: 25px 30px; display: flex; flex-direction: column; justify-content: center; }
.blog-card h3 { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 15px; color: var(--text-main); }
.blog-card:hover h3 { color: var(--wavin-blue-link); }
.blog-date { font-size: 12px; color: #999; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; display: flex; align-items: center; }
.blog-summary { font-size: 15px; color: #666; margin-bottom: 20px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-post-title { margin-bottom: 30px; }
.single-post-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 15px; margin-bottom: 30px; }
.blog-post-lead { font-family: var(--font-headings); font-size: 18px; line-height: 1.5; color: var(--wavin-blue-dark); font-weight: 500; margin-top: 30px; margin-bottom: 30px; text-align: justify; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
.single-post-meta { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--wavin-blue-dark); margin-bottom: 20px; align-items: flex-end; text-align: right; }
.single-post-meta .meta-item { display: flex; align-items: center; gap: 5px; }
.single-post-meta strong { font-weight: 700; color: var(--wavin-blue-dark); }
.single-post-meta .text-muted { color: #888; font-weight: 400; }
.meta-right strong { color: var(--wavin-blue-dark)!important; font-weight: 500; margin-left: 5px; }
.blog-post-footer-nav { margin-top: 50px; padding-top: 30px; }

/* --- FOOTER --- */
.site-footer { position: relative; background-color: var(--white); color: var(--text-main); padding-top: 0; margin-top: 250px; }
.footer-wave { position: absolute; top: -359px; left: 0; width: 100%; line-height: 0; pointer-events: none; }
.footer-wave svg { display: block; width: 170%; height: 400px; transform: translateX(-41.18%); }
.footer-content { display: grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 20px; padding-bottom: 20px; padding-top: 40px; position: relative; z-index: 1; }
/*.footer-cta-col { padding-right: 30px; }*/
.footer-col h4 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { font-size: 14px; opacity: 0.85; }
.footer-list a:hover { color: var(--wavin-blue-link); opacity: 1; text-decoration: underline; }
.footer-bottom-image { grid-column: 1 / -1; text-align: right; margin-top: 10px; width: 100%; }
.footer-bottom-image img { display: inline-block; max-width: 100%; height: auto; }
.footer-bottom { border-top: 1px solid #ddd; padding: 24px 0; font-size: 13px; color: #666; }
.bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.legal-links a { margin-left: 20px; color: #666; }
.legal-links a:hover { color: var(--wavin-blue-link); }

/* --- PLUGINS & HELPERS --- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.global-blockquote, .text-content blockquote, .min-description blockquote { position: relative; background-color: var(--bg-light); border-left: 5px solid var(--wavin-blue-link); width: 90%; margin: 35px auto; padding: 25px 35px; border-radius: 0 8px 8px 0; font-family: var(--font-headings); font-size: 18px; line-height: 1.6; font-style: italic; font-weight: 500; color: var(--wavin-blue-dark); box-shadow: 0 5px 15px rgba(0,0,0,0.03); text-align: left; }
.global-blockquote::before, .text-content blockquote::before, .min-description blockquote::before { content: '“'; position: absolute; top: -10px; left: 10px; font-family: serif; font-size: 80px; line-height: 1; color: var(--wavin-blue-link); opacity: 0.15; pointer-events: none; }
@media (max-width: 768px) { .global-blockquote, .text-content blockquote, .min-description blockquote { padding: 20px 25px; font-size: 16px; margin: 25px 0; width: 100%; } }
.m-top-10 { margin-top: 10px; }
.m-top-20 { margin-top: 20px; }
.m-top-40 { margin-top: 40px; }
.m-top-80 { margin-top: 80px; }
.m-bottom-80 { margin-bottom: 80px; }
.m-bottom-60 { margin-bottom: 60px; }
.text-muted { color: #888; }
/*.icon-calendar { display: inline-block; width: 14px; height: 14px; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23353750' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: center; background-size: contain; margin-right: 5px; vertical-align: middle; position: relative; top: -1px; }*/

/* --- CONTACT PAGE --- */
.contact-page { padding-bottom: 80px; }
.contact-people-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; margin-bottom: 60px; }
.person-card { background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; display: flex; flex-direction: row; gap: 30px; transition: all 0.3s ease; align-items: flex-start; }
.person-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: #bbc4cf; transform: translateY(-3px); }
.person-photo { width: 120px; height: 120px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background-color: var(--bg-light); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo svg { width: 50%; height: 50%; stroke: #999; }
.person-info { flex-grow: 1; }
.person-name { font-size: 24px; margin-bottom: 5px; color: var(--wavin-blue-dark); line-height: 1.2; font-weight: 700; }
.person-role { font-size: 14px; color: var(--text-main); font-weight: 400; text-transform: none; margin-bottom: 20px; letter-spacing: normal; }
.person-contacts { display: flex; flex-direction: column; gap: 10px; }
.contact-link { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-main); font-weight: 500; transition: color 0.2s; }
.contact-link svg { stroke: var(--wavin-blue-link); }
.contact-link:hover { color: var(--wavin-blue-link); }
.divider-line { height: 1px; background-color: var(--border-color); width: 100%; margin: 60px 0; }
.form-container { max-width: 700px; margin: 0 auto; background: var(--bg-light); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); }
.wavin-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--wavin-blue-dark); }
.wavin-form input[type="text"], .wavin-form input[type="email"], .wavin-form input[type="number"], .wavin-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 6px; font-family: var(--font-main); font-size: 15px; color: var(--text-main); transition: border-color 0.3s, box-shadow 0.3s; background: var(--white); }
.wavin-form input:focus, .wavin-form textarea:focus { outline: none; border-color: var(--wavin-blue-link); box-shadow: 0 0 0 3px rgba(0, 168, 225, 0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.captcha-group { background: #fff; padding: 20px; border-radius: 6px; border: 1px solid var(--border-color); text-align: center; max-width: 400px; margin: 0 auto 20px auto; }
.captcha-input { width: 80px !important; display: inline-block !important; margin-left: 10px; text-align: center; font-weight: 700; vertical-align: middle; }
.captcha-group label { display: inline-block !important; margin-bottom: 0 !important; margin-right: 5px; }
.msg-success { text-align: center; padding: 40px 20px; }
.msg-success svg { stroke: var(--wavin-green); margin-bottom: 15px; }
.msg-success h3 { font-size: 24px; color: var(--wavin-blue-dark); margin-bottom: 10px; }
.msg-success p { margin-bottom: 30px; }
.msg-error { background-color: #ffe6e6; color: #d63031; padding: 15px; border-radius: 6px; margin-bottom: 20px; border: 1px solid #ffcccc; text-align: center; font-weight: 600; }
.text-center { text-align: center; }
.phone-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.phone-row:last-child { margin-bottom: 0; }
.contact-link.phone { margin-bottom: 0; }
.messengers-box { display: flex; gap: 8px; align-items: center; }
.ms-icon { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 0; transition: transform 0.2s ease, opacity 0.2s; }
.ms-icon svg { width: 100%; height: 100%; display: block; }
.ms-icon:hover { transform: scale(1.1); opacity: 0.8; }
.ms-icon.wa { color: #25D366; }

/* --- 404 PAGE --- */
.page-404 { padding-top: 140px; padding-bottom: 100px; min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; z-index: 10; }
.error-content { max-width: 600px; margin: 0 auto; animation: fadeInUp 0.5s ease-out; }
.error-code { font-size: 150px; line-height: 1; font-weight: 700; color: var(--wavin-blue-link); margin-bottom: 30px; font-family: var(--font-headings); opacity: 0.15; user-select: none; }
.error-title { font-size: 36px; font-weight: 700; color: var(--wavin-blue-dark); margin-bottom: 20px; margin-top: -50px; position: relative; z-index: 2; }
.error-text { font-size: 16px; color: var(--wavin-blue-dark); margin-bottom: 40px; line-height: 1.6; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- SUPPORT SECTION --- */
.support-sections-wrapper { padding-bottom: 40px; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 30px; margin-top: 20px; }
.support-card { background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; height: 100%; text-decoration: none; color: inherit; cursor: pointer; }
.support-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: var(--border-color); }
.sc-thumb { position: relative; height: 280px; background-color: var(--bg-light); border-bottom: 1px solid #eee; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sc-thumb img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; padding: 15px; transition: transform 0.5s ease; }
.support-card:hover .sc-thumb img { transform: scale(1.05); }
.sc-type-badge { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 2; }
.sc-type-badge.file { background-color: var(--wavin-blue-link); }
.sc-type-badge.link { background-color: var(--wavin-green); }
.sc-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; text-align: center; }
.sc-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); line-height: 1.4; font-family: var(--font-main); transition: color 0.3s ease; }
.support-card:hover .sc-title { color: var(--wavin-blue-link); }
.support-section-block { scroll-margin-top: 140px; margin-bottom: 60px; }
.sc-meta { font-size: 13px; color: #888; margin-top: auto; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* --- CALCULATOR --- */
.calc-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 30px; align-items: start; }
.wavin-alert { background-color: #fff4e5; border-left: 4px solid #ff9800; padding: 20px; border-radius: 4px; display: flex; gap: 15px; align-items: flex-start; margin-bottom: 30px; color: var(--text-main); font-size: 14px; line-height: 1.5; }
.wavin-alert svg { width: 24px; height: 24px; stroke: #ff9800; flex-shrink: 0; margin-top: 2px; }
.wavin-alert strong { color: #e65100; }
.step-item { display: flex; gap: 15px; margin-bottom: 20px; }
.step-desc p { margin-bottom: 5px; }
.step-desc .text-muted { font-size: 13px; color: #888; }
.calc-form-container { background: var(--bg-light); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.calc-form-container label { font-weight: 700; color: var(--wavin-blue-dark); margin-bottom: 8px; display: block; }
.select-wrapper { position: relative; }
.select-wrapper select { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 6px; font-family: var(--font-main); font-size: 15px; color: var(--text-main); background: #fff; appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-wrapper::after { content: ''; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--wavin-blue-dark); pointer-events: none; }
.w-100 { width: 100%; text-align: center; justify-content: center; }
.calc-result-box { background-color: var(--wavin-blue-link); color: #fff; padding: 20px; border-radius: 8px; margin-top: 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: fadeIn 0.5s ease; }
.res-label { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; margin-bottom: 5px; }
.res-value { font-size: 32px; font-weight: 700; font-family: var(--font-headings); }
#calcBtn { margin-top: 20px; display: block; margin-left: auto; margin-right: auto; width: auto; min-width: 200px; }
#calcExplanation { display: none; margin-top: 30px; line-height: 1.5; transition: opacity 0.3s ease; }
.btn-copy { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px; cursor: pointer; margin: 15px auto 0 auto; width: fit-content; display: flex; align-items: center; gap: 6px; transition: all 0.2s ease; font-family: var(--font-main); }
.btn-copy:hover { background: #fff; color: var(--wavin-blue-link); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.btn-copy svg { display: block; }
#debugOutput { font-family: monospace; font-size: 13px; background: #fff; color: #555; resize: vertical; }
.calc-scheme-box { background: #fff; border: 1px solid #e0e0e0; padding: 20px; border-radius: 8px; text-align: center; }
.calc-scheme-box h4 { margin-top: 0; margin-bottom: 15px; font-size: 18px; color: #333; }
.scheme-img-container img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.text-small { font-size: 13px; }
.alert-error-box { margin-top: 20px; padding: 15px; background-color: #fbeae9; border-left: 4px solid #d9534f; color: #a94442; border-radius: 4px; font-weight: 500; animation: fadeIn 0.3s ease; }

/* --- ABOUT & WARRANTY --- */
.about-page-wrapper { background-color: #fff; padding-bottom: 80px; }
.section-1 { margin-bottom: 50px; }
.section-2 { margin-bottom: 110px; }
.section-3, .section-4 { margin-bottom: 80px; }
.page-title { margin-top: 0; margin-bottom: 32px; color: var(--wavin-blue-dark); }
.section-title { font-size: 32px; margin-bottom: 40px; color: var(--wavin-blue-dark); }
.rounded-square-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.grid-2-1 { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 2fr 3fr; gap: 60px; align-items: start; }
.section-3 .text-content { margin-top: -30px; background: transparent !important; }
.section-4 .text-content { max-width: 100%; margin: 0; background: transparent !important; }
.section-3, .section-4 { background-color: transparent !important; }
.section-1 .text-content > *:first-child, .section-3 .text-content > *:first-child, .section-4 .text-content > *:first-child { margin-top: 0; }
.tiles-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; }
.about-tile { background-color: var(--white); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; height: 600px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.about-tile:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); border-color: var(--border-color); }
.tile-img { height: 40%; background-size: cover; background-position: center; background-color: #eee; border-bottom: 1px solid var(--border-color); transition: border-color 0.3s ease; }
.tile-content { height: 60%; padding: 30px; display: flex; flex-direction: column; background-color: #F8F9FA; }
.tile-content h1 { margin-top: 0; margin-bottom: 15px; font-size: 38px; color: var(--wavin-blue-dark); }
.tile-content h2 { margin-top: 0; margin-bottom: 15px; font-size: 30px; color: var(--wavin-blue-dark); }
.tile-content h3 { margin-top: 0; margin-bottom: 15px; font-size: 20px; color: var(--wavin-blue-dark); }
.tile-desc { font-size: 15px; line-height: 1.6; overflow: hidden; }
.warranty-page-wrapper { background-color: var(--white); padding-bottom: 80px; }
.warranty-banner { width: 100%; margin-bottom: 60px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.warranty-banner img { width: 100%; height: auto; display: block; object-fit: cover; }
.warranty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-section { padding: 60px 0; }
.about-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrapper { position: relative; border-radius: 8px; overflow: visible; }
.about-image-wrapper img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.exp-badge { position: absolute; bottom: -20px; left: -20px; background-color: var(--wavin-green); color: #fff; padding: 20px 30px; border-radius: 8px; box-shadow: 0 10px 20px rgba(65,180,126,0.4); text-align: center; }
.exp-num { display: block; font-size: 32px; font-weight: 700; line-height: 1; font-family: var(--font-headings); }
.exp-text { font-size: 13px; text-transform: uppercase; font-weight: 600; }
.stats-section { padding: 60px 0; background-color: var(--wavin-blue-dark); color: #fff; margin-bottom: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat-num { font-size: 42px; font-weight: 700; color: var(--wavin-green); font-family: var(--font-headings); margin-bottom: 5px; }
.stat-label { font-size: 15px; opacity: 0.9; }
.about-tiles-section { padding: 80px 0; background-color: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; margin-top: 40px; }
.value-card { background: var(--white); border: 1px solid var(--border-color); padding: 30px 25px; border-radius: 8px; text-align: center; transition: all 0.3s ease; height: 100%; }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--wavin-blue-link); }
.vc-icon { width: 70px; height: 70px; background-color: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; color: var(--wavin-blue-link); transition: all 0.3s ease; }
.value-card:hover .vc-icon { background-color: var(--wavin-blue-link); color: #fff; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: var(--wavin-blue-dark); }
.value-card p { font-size: 14px; color: #666; line-height: 1.6; }
.video-rounded-24 { border-radius: 24px; }
.maintenance-banner { background-color: #ffcc00; color: #333; text-align: center; padding: 10px 20px; font-weight: 600; font-size: 14px; position: relative; z-index: 1000; }

/* --- COOKIE MODAL --- */
.cookie-modal { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; overflow-y: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.cookie-modal.active { display: flex; opacity: 1; }
.cookie-content { background-color: #fff; border-radius: 12px; width: 90%; max-width: 600px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); display: flex; flex-direction: column; overflow: hidden; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
.cookie-header { padding: 20px 25px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #f9f9f9; }
.cookie-logo { height: 28px; width: auto; display: block; }
.cookie-header h3 { margin: 0; font-size: 1.25rem; color: #333; display: flex; align-items: center; gap: 12px; }
.cookie-close { font-size: 28px; line-height: 1; border: none; background: none; cursor: pointer; color: #999; padding: 0; }
.cookie-close:hover { color: #333; }
.cookie-body { padding: 25px; }
.cookie-desc { font-size: 0.95rem; color: #666; margin-bottom: 20px; line-height: 1.5; }
.cookie-options { display: flex; flex-direction: column; gap: 15px; }
.cookie-option-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: #f5f7fa; border-radius: 8px; border: 1px solid #eef1f5; }
.option-info { flex: 1; padding-right: 15px; }
.option-title { display: block; font-weight: 700; color: #333; margin-bottom: 4px; }
.option-desc { display: block; font-size: 0.8rem; color: #777; line-height: 1.3; }
.option-switch { position: relative; width: 50px; height: 26px; flex-shrink: 0; }
.option-switch input { opacity: 0; width: 0; height: 0; }
.switch-label { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.switch-label:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input:checked + .switch-label { background-color: #00A8E1; }
input:checked + .switch-label:before { transform: translateX(24px); }
input:disabled + .switch-label { opacity: 0.6; cursor: not-allowed; }
.cookie-footer { padding: 20px 25px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 15px; background: #fff; }
.btn-cookie { padding: 10px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; font-size: 0.95rem; transition: all 0.2s; }
.btn-outline { background: transparent; border: 2px solid #ddd; color: #555; }
.btn-outline:hover { border-color: #bbb; background: #f5f5f5; }
.btn-primary { background: #00A8E1; border: 2px solid #00A8E1; color: white; }
.btn-primary:hover { background: #008bbd; border-color: #008bbd; }
.flex-center-vertical { display: flex; align-items: center; justify-content: space-between; gap: 40px; }

/* =========================================
   MEDIA QUERIES (ADAPTIVITY)
   ========================================= */
@media (max-width: 1200px) {
    .footer-content { grid-template-columns: 1.5fr repeat(4,1fr); gap: 15px; }
}

@media (max-width: 992px) {
    body { padding-top: 100px; }
    .site-header { position: fixed; left: 0; right: 0; }
    .mobile-menu-btn { display: flex; }
    .main-nav, .desktop-only { display: none; }
    .mobile-only { display: block; }
    .header-inner { padding: 0 5%; }
    .logo-link { position: absolute; left: 50%; transform: translateX(-50%); }
    .header-logo { max-height: 35px; }
    .hero-title { font-size: 42px; }
    .challenges-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .design-services-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .design-services-image { order: -1; max-width: 100%; margin: 0 auto; }
    .news-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 20px; }
    .news-card { min-width: 300px; scroll-snap-align: start; }
    .min-hero-wrapper { display: block; margin-bottom: 40px; }
    .min-gallery-col { width: 100%; margin-bottom: 30px; display: block; }
    .min-info-col { width: 100%; }
    .min-title { font-size: 28px; }
    .min-actions { flex-direction: column; align-items: stretch; gap: 15px; }
    .btn-rounded-dark { width: 100%; text-align: center; }
    .catalog-layout, .blog-layout, .support-layout { display: flex; flex-direction: column; gap: 20px; }
    .catalog-layout > div:not(.catalog-sidebar), .blog-layout > div:not(.blog-sidebar-widget), .support-layout > div:not(.catalog-sidebar) { display: contents; }
    .catalog-sidebar, .blog-sidebar-widget, .support-sidebar { order: 1; width: 100%; position: static !important; top: auto; max-height: none !important; overflow-y: visible !important; margin-bottom: 20px; border-radius: 15px; z-index: 1; }
    .sidebar-header, .widget-title { font-size: 16px; cursor: pointer; width: 100%; }
    .tabs-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .tab-btn { padding: 12px; text-align: center; }
    .tab-header, .min-header, .blog-header, .static-header { order: 2; width: 100%; margin-bottom: 20px; text-align: left; }
    .catalog-grid, .blog-grid, .support-grid { order: 3; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; width: 100%; }
    .footer-content { grid-template-columns: 1fr 1fr 1fr; }
    .footer-cta-col { border-right: none; grid-column: 1 / 4; padding-bottom: 40px; border-bottom: 1px solid #ddd; }
    .clean-table { min-width: 1000px; }
    .blog-thumb { width: 35%; }
    .blog-content { width: 65%; }
    .calc-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .calc-form-container { order: -1; }
    .blog-page .catalog-layout { grid-template-columns: 1fr; }
    .blog-page .catalog-layout > .catalog-content, .blog-post-page .catalog-layout > .catalog-content { display: block !important; order: 1 !important; width: 100%; }
    .blog-page .catalog-sidebar, .blog-post-page .catalog-sidebar { order: 2 !important; margin-top: 40px; position: static; width: 100%; }
    .blog-page .tab-header, .blog-post-page .tab-header { margin-bottom: 30px; display: block; width: 100%; }
    .footer-bottom-image { text-align: center; margin-top: 10px; }
    .about-grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrapper { order: -1; width: 100%; }
    .exp-badge { left: 20px; bottom: -15px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .grid-2-1, .grid-1-2, .tiles-grid-3 { grid-template-columns: 1fr; gap: 40px; }
    .section-1 { margin-bottom: 60px; }
    .section-2 { margin-bottom: 80px; } 
    .section-1 .img-col { order: -1; margin-bottom: 20px; }
    .section-3 .img-col { margin-bottom: 20px; }
    .section-3 .text-content { margin-top: 0; }
    .rounded-square-img { max-width: 400px; margin: 0 auto; display: block; }
    .about-tile { height: auto; min-height: 400px; }
    .tile-img { height: 250px; }
    .tile-content { height: auto; }
    .warranty-banner { margin-bottom: 40px; border-radius: 12px; }
    .warranty-grid { grid-template-columns: 1fr; gap: 30px; }
    .clean-news-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    .text-content { font-size: 15px; padding: 0; }
    .text-content h2 { font-size: 24px; margin-top: 30px; }
    .text-content h3 { font-size: 20px; }
    .text-content table { display: block; width: 100%; overflow-x: auto; }
    .tabs-nav { grid-template-columns: 1fr; }
    .tab-btn { text-align: left; }
    .min-hero-wrapper { display: flex; flex-direction: column; gap: 0; width: 100%; align-items: stretch; }
    .min-gallery-col, .min-info-col, .sticky-wrapper { display: contents; }
    .min-header { order: 1; margin-bottom: 15px; text-align: left; }
    .image-box-frame { order: 2; margin-bottom: 20px; }
    .min-actions { order: 3; margin-bottom: 30px; }
    .sidebar-file-header, .files-box-frame, .all-downloads-link, .sidebar-attention { order: 4; width: 100%; }
    .min-description, .min-specs-list { order: 2; width: 100%; }
    .map-container-relative { pointer-events: none; }
    .product-disclaimer { text-align: left; }
    .clean-table-wrapper { max-width: calc(100vw - 40px); margin-left: 0; margin-right: 0; width: 100%!important; }
    .popup-title, .region-info-block h4, .m-top-20 { width: 100%; }
    .blog-card, .blog-card:nth-child(even) { flex-direction: column; height: auto; }
    .blog-thumb { width: 100%; height: 220px; }
    .blog-thumb img { position: relative; }
    .blog-content { width: 100%; padding: 20px; }
    .blog-card h3 { font-size: 20px; }
    .blog-post-lead { font-size: 16px; }
    .contact-people-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .person-card { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .person-contacts { align-items: center; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-container { padding: 25px 20px; }
    .page-404 { padding-top: 120px; min-height: 60vh; }
    .error-code { font-size: 100px; }
    .error-title { font-size: 28px; margin-top: -30px; }
    .blog-row-item { flex-direction: column; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; padding-bottom: 0; }
    .blog-row-img { width: 100%; height: 220px; margin-right: 0; border-radius: 0; }
    .blog-row-content { padding: 25px; }
    .blog-row-title { font-size: 20px; }
    .video-rounded-24 { border-radius: 24px; }
    .flex-center-vertical { flex-direction: column; text-align: center; }
    .grid-2-1.flex-center-vertical { flex-direction: column-reverse; }
}

@media (max-width: 600px) {
    .header-actions { gap: 15px; }
    .hero-title { font-size: 38px; }
    .challenges-grid { grid-template-columns: 1fr; }
    .news-header { flex-direction: column; align-items: flex-start; gap: 15px; }
	.news-footer { flex-direction: column; align-items: flex-start; gap: 15px; }
    .news-card { min-width: 280px; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-col { text-align: center; }
    .bottom-inner { flex-direction: column; gap: 15px; text-align: center; }
    .legal-links a { display: block; margin: 5px 0; margin-left: 0; }
    .btn-blue-rounded { margin-left: 0; }
    .catalog-grid, .support-grid, .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .text-content img[style*="float: left"], .text-content img[style*="float: right"] { float: none; display: block; margin: 20px auto; max-width: 100%; }
    .single-post-meta { flex-direction: column; align-items: flex-start; gap: 5px; }
    .stats-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .cookie-footer { flex-direction: column; }
    .btn-cookie { width: 100%; text-align: center; }
    .clean-news-grid { grid-template-columns: 1fr; }
    
    /* === FIX: BUTTON MOBILE CENTER === */
    .footer-cta-col {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
        grid-column: 1 / 2;
    }
    .footer-cta-col .btn-blue-rounded {
        margin: 0 !important;
    }
}

/* =========================================
   СТИЛІ ДЛЯ КАЛЬКУЛЯТОРА ЗВАРЮВАННЯ (WELDING)
   ========================================= */

/* Рядки результатів (Label + Value) */
.calc-res-row {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-res-row .res-label {
    font-size: 14px;
    opacity: 0.9;
    text-align: left;
}

.calc-res-row .res-value {
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

/* Адаптивність для мобільних (центрування стовпчиком) */
@media (max-width: 600px) {
    .calc-res-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding-bottom: 15px;
    }
    .calc-res-row .res-label {
        text-align: center;
        width: 100%;
        font-size: 13px;
    }
    .calc-res-row .res-value {
        text-align: center;
        width: 100%;
        font-size: 20px;
    }
}

/* Повідомлення попереджень (всередині блоку з рамкою) */
.warning-msg {
    width: 100%;
    color: #ffffff;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
    font-size: 15px;
    /* Лінія-розділювач між повідомленнями */
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 0;
}

/* Прибираємо лінію в останнього повідомлення */
.warning-msg:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Кроки розрахунку (Кружечки з номерами) */
.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-num {
    background-color: var(--wavin-blue-dark); 
    color: #ffffff; /* Білий текст */
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 1;
}

.step-desc .text-muted {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 5px;
    margin-bottom: 0;
}