/*
Theme Name: JTB Modern FMCG
Theme URI: https://example.invalid/
Author: JTB Demo
Description: Responsywny motyw demonstracyjny JTB TRADE FMCG do edycji w Elementorze.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: jtb-modern
*/
:root{--navy:#071e35;--navy2:#0b2b4b;--orange:#ff7900;--ink:#12263b;--muted:#64748b;--bg:#f6f8fb}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:white}a{text-decoration:none;color:inherit}.jtb-top{background:var(--navy);color:#dbe7f1;font-size:12px;padding:9px max(18px,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;gap:12px}.jtb-header{background:#fff;box-shadow:0 2px 15px #001b3412;position:relative;z-index:10}.jtb-head-inner{max-width:1180px;margin:auto;display:flex;align-items:center;gap:30px;min-height:83px;padding:12px 18px}.jtb-logo{font-weight:900;letter-spacing:-1.5px;font-size:31px;color:var(--navy);white-space:nowrap}.jtb-logo span{color:var(--orange)}.jtb-logo small{display:block;font-size:10px;letter-spacing:1.5px;color:#43566b}.jtb-nav{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:13px;font-weight:700}.jtb-nav a:hover,.jtb-nav .current-menu-item a{color:var(--orange)}.jtb-action,.jtb-btn{display:inline-block;background:var(--orange);color:white;border-radius:8px;padding:13px 18px;font-size:13px;font-weight:700}.jtb-action:hover,.jtb-btn:hover{background:#e56d00;color:white}.jtb-toggle{display:none;background:none;border:0;font-size:26px;color:var(--navy);cursor:pointer}.jtb-footer{background:var(--navy);color:#d5e1ec;padding:48px 18px 20px}.jtb-footer-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px}.jtb-footer h3{color:white}.jtb-footer p{line-height:1.7;font-size:14px}.jtb-bottom{max-width:1180px;margin:30px auto 0;border-top:1px solid #ffffff30;padding-top:20px;font-size:12px}.jtb-main{min-height:50vh}.jtb-content{max-width:1180px;margin:45px auto;padding:0 18px}.jtb-hero{position:relative}.jtb-pill{display:inline-block;color:var(--orange);font-weight:800;font-size:12px;letter-spacing:1px}.jtb-card{border-radius:15px;overflow:hidden;box-shadow:0 6px 30px #071e3512}.jtb-card img{width:100%;height:200px;object-fit:cover}.jtb-notices{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.jtb-notice{border:1px solid #e7edf3;border-radius:13px;padding:20px;background:white}.jtb-notice time{color:var(--orange);font-size:12px}.jtb-notice h3{font-size:19px}.jtb-notice p{font-size:14px;color:#536477;line-height:1.6}.jtb-notice a{color:var(--orange);font-weight:bold}.jtb-demo-label{font-size:11px;color:#687a8d}.elementor-widget-heading .elementor-heading-title{line-height:1.15}.elementor-widget-text-editor{line-height:1.65}.jtb-footer a:hover{color:var(--orange)}@media(max-width:900px){.jtb-head-inner{flex-wrap:wrap;gap:15px}.jtb-toggle{display:block;margin-left:auto}.jtb-nav{display:none;order:3;width:100%;flex-direction:column;align-items:flex-start;gap:0;border-top:1px solid #eee;padding:10px 0}.jtb-nav.is-open{display:flex}.jtb-nav a{padding:12px 0}.jtb-action{display:none}.jtb-notices{grid-template-columns:1fr 1fr}.jtb-footer-inner{grid-template-columns:1fr 1fr}}@media(max-width:600px){.jtb-top{font-size:10px;flex-wrap:wrap}.jtb-logo{font-size:26px}.jtb-notices,.jtb-footer-inner{grid-template-columns:1fr}.jtb-footer{padding-top:30px}.elementor-widget-heading h1{font-size:clamp(34px,9vw,58px)!important}.elementor-widget-heading h2{font-size:clamp(27px,7vw,40px)!important}}
.jtb-nav li{list-style:none;margin:0;padding:0}.jtb-nav li a{display:block}.jtb-nav .sub-menu{display:none;position:absolute;background:white;padding:12px;box-shadow:0 10px 30px #0002}.jtb-nav li:hover>.sub-menu{display:block}@media(max-width:767px){.elementor .e-con.e-flex{--flex-wrap:wrap}.elementor .e-con.e-flex>.e-con{width:100%!important;max-width:100%!important;flex-basis:100%!important}.jtb-nav .sub-menu{position:static;box-shadow:none;display:block;padding-left:16px}.jtb-nav li{width:100%}}

/* JTB 1.1: responsive Elementor category and two-column layout */
@media(min-width:1025px){.elementor .e-con.e-flex:has(> .e-con[style]){min-width:0}}
.elementor .e-con.e-flex{min-width:0}
.elementor .e-con.e-flex>.e-con{min-width:0}
.elementor-widget-image img{max-width:100%;height:auto;object-fit:cover}
@media(max-width:767px){.elementor .e-con.e-flex>.e-con{width:100%;max-width:100%;flex-basis:auto}}


/* JTB Modern 2.0 – layout isolated from Elementor container width settings */
.jtb-v2-section{width:100%!important;max-width:none!important;min-width:0!important;padding:64px 24px!important;display:block!important;box-sizing:border-box}
.jtb-v2-section>.jtb-v2-inner{width:100%!important;max-width:1240px!important;margin:0 auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:24px!important;min-width:0!important}
.jtb-v2-section .jtb-v2-grid6{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:100%!important}
.jtb-v2-section .jtb-v2-grid2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;width:100%!important;max-width:100%!important}
.jtb-v2-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;min-width:0!important;width:100%!important;max-width:100%!important;background:#fff;border:1px solid #e9edf3;border-radius:14px;overflow:hidden;padding:0 0 18px!important;box-shadow:0 7px 25px #081f3410}
.jtb-v2-card>.elementor-widget{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
.jtb-v2-card .elementor-widget-image img{display:block;width:100%!important;height:145px!important;object-fit:cover!important}
.jtb-v2-card .elementor-widget-heading,.jtb-v2-card .elementor-widget-button{padding:0 12px!important}
.jtb-v2-card .elementor-heading-title{font-size:16px!important;line-height:1.35!important}
.jtb-v2-card .elementor-button{font-size:12px!important;padding:12px!important}
.jtb-v2-soft{background:#f3f6fa}.jtb-v2-panel{background:white;border-radius:16px;padding:34px!important;box-shadow:0 5px 25px #0b25400d;min-width:0!important;width:100%!important;max-width:100%!important}
.jtb-v2-panel-dark{background:#08223c;color:white}.jtb-v2-panel-dark .elementor-heading-title,.jtb-v2-panel-dark p{color:white!important}
.jtb-v2-hero{min-height:480px;background-color:#0a2540;background-position:center!important;background-size:cover!important;position:relative;color:white}
.jtb-v2-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#061a30eb 0%,#071d35b8 45%,#071d352e 100%);pointer-events:none}
.jtb-v2-hero>.jtb-v2-inner{position:relative;z-index:1;min-height:350px;justify-content:center!important}
.jtb-v2-hero-copy{max-width:630px!important;width:100%!important;display:flex!important;flex-direction:column!important;gap:16px!important}
.jtb-v2-hero h1{font-size:clamp(38px,5vw,66px)!important;line-height:1.05!important}.jtb-v2-hero p{color:#fff!important;font-size:18px!important}
.jtb-v2-about-image,.jtb-v2-about-copy{width:100%!important;max-width:100%!important;min-width:0!important}.jtb-v2-about-image img{width:100%!important;height:350px!important;object-fit:cover!important;border-radius:16px}
.jtb-v2-cta{background:#071e35;color:white}.jtb-v2-cta p{color:white!important}
.jtb-v2-section .elementor-widget-heading h2{font-size:clamp(26px,3vw,38px);line-height:1.2}
@media(max-width:1100px){.jtb-v2-section .jtb-v2-grid6{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:767px){.jtb-v2-section{padding:42px 16px!important}.jtb-v2-section .jtb-v2-grid6{grid-template-columns:repeat(2,minmax(0,1fr))!important}.jtb-v2-section .jtb-v2-grid2{grid-template-columns:1fr!important}.jtb-v2-card .elementor-widget-image img{height:150px!important}.jtb-v2-hero{min-height:420px}.jtb-v2-hero-copy{max-width:100%!important}.jtb-v2-panel{padding:24px!important}}
@media(max-width:400px){.jtb-v2-section .jtb-v2-grid6{gap:10px!important}.jtb-v2-card .elementor-widget-image img{height:115px!important}.jtb-v2-card .elementor-heading-title{font-size:14px!important}}
