/* ===== OURWAY ORIGINAL BLUE STYLE ===== */

.header-top,
#header,
#_desktop_top_menu,
.top-menu,
#top-menu {
    background: #004b9b !important;
}

#_desktop_top_menu .container,
.top-menu {
    background: #2f78cf !important;
}

.top-menu > li > a,
#top-menu > li > a {
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    padding: 18px 22px !important;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.top-menu > li:hover > a,
.top-menu > li.current > a {
    background: rgba(0,0,0,0.12) !important;
    color: #fff !important;
}

.top-menu .sub-menu {
    background: #2f78cf !important;
}

.top-menu .sub-menu a {
    color: #fff !important;
}

#search_widget input,
.search-widget input {
    border: 0;
    height: 48px;
}

#search_widget button,
.search-widget button {
    background: #f59b00 !important;
    border: 0 !important;
    color: #fff !important;
    width: 58px;
}

#header .header-nav {
    background: #004b9b !important;
}

.block-categories .title,
#left-column .block .title_block,
#left-column .block h4,
#left-column .block h3 {
    background: #004b9b !important;
    color: #fff !important;
    padding: 15px 18px;
    margin: 0;
}

.wpblockicons,
#wpblockicons {
    background: #fff;
    border: 1px solid #ddd;
}

.btn-primary,
.button,
button {
    background: #004b9b !important;
    border-color: #004b9b !important;
    color: #fff !important;
}

a {
    color: #004b9b;
}

body {
    background: #f5f5f5;
}

/* TOTWEB oprava barev hlavičky podle původního Ourway */
#wrapper,
#wrapper > .container,
#content-wrapper,
#main {
    background: #fff;
}

#header,
.header-top,
.header-nav,
#_desktop_logo,
#search_widget {
    background: #00569c !important;
}

.header-top {
    padding-top: 35px;
    padding-bottom: 35px;
}

.header-nav {
    color: #fff !important;
    border: none !important;
}

.header-nav a,
.header-nav span,
.header-nav .material-icons,
#_desktop_user_info a,
#_desktop_language_selector a {
    color: #fff !important;
}

#search_widget form input {
    background: #fff !important;
    color: #333 !important;
}

#search_widget form button {
    background: #ff9200 !important;
    color: #fff !important;
}

#top-menu,
.top-menu,
#header .menu,
#header .header-bottom,
#header .js-top-menu-bottom {
    background: #1f78d0 !important;
}

#top-menu > li > a,
.top-menu > li > a,
#header .menu a {
    color: #fff !important;
    font-weight: 700;
}

#top-menu > li > a:hover,
.top-menu > li > a:hover,
#header .menu a:hover {
    background: #00569c !important;
    color: #fff !important;
}

#wrapper .container {
    background: #fff;
}


/* Oprava WP image slideru – bez překrytých textů a šipek */
#slideshow #wpimageslider-wrap .caption,
#slideshow #wpimageslider-wrap figcaption,
#slideshow #wpimageslider-wrap .caption-description,
#slideshow #wpimageslider-wrap .display-1,
#slideshow #wpimageslider-wrap .bx-prev,
#slideshow #wpimageslider-wrap .bx-next {
    display: none !important;
}

#slideshow #wpimageslider-wrap,
#slideshow #wpimageslider-wrap .bx-wrapper,
#slideshow #wpimageslider-wrap .bx-viewport {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#slideshow #wpimageslider-wrap img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

/* Oprava breadcrumb navigace */
#wrapper .breadcrumb,
#wrapper nav.breadcrumb,
.breadcrumb {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    line-height: 1.8 !important;
}

#wrapper .breadcrumb ol,
#wrapper .breadcrumb ul {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

/* OURWAY FOOTER */

.footer-before-container,
.footer-container,
.footer-copyright{
  background:#005596;
  color:#fff;
}

.footer-container{
  padding:45px 0 25px;
}

.footer-container a,
.footer-container .h3,
.footer-container .h4,
.footer-container .block-contact-title,
.footer-container p,
.footer-container li{
  color:#fff !important;
}

.footer-container a:hover{
  color:#ff8a00 !important;
}

.footer-container ul{
  padding-left:0;
}

.footer-container li{
  list-style:none;
  margin:7px 0;
}

.footer-container li:before{
  content:"›";
  color:#ff8a00;
  margin-right:8px;
  font-weight:bold;
}

.ourway-footer-map{
  background:#005596;
  color:#fff;
  padding:10px 0 25px;
}

.ourway-map-box{
  overflow:hidden;
}

.ourway-map-box iframe{
  display:block;
  width:100%;
  height:366px;
}

.ourway-find-us{
  text-align:center;
  padding:22px 0 5px;
  font-size:15px;
  line-height:1.7;
}

.ourway-find-us strong{
  display:inline-block;
  font-size:18px;
  margin-bottom:6px;
}

.ourway-footer-benefits{
  background:#f7f7f7;
  padding:30px 0;
  color:#111;
}

.ourway-benefits-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:25px;
}

.ourway-benefits-grid > div{
  display:grid;
  grid-template-columns:48px 1fr;
  column-gap:15px;
  align-items:center;
  border-right:1px solid #d7d7d7;
  min-height:70px;
}

.ourway-benefits-grid > div:last-child{
  border-right:0;
}

.ourway-benefits-grid i{
  grid-row:1 / span 2;
  font-size:42px;
  color:#005596;
}

.ourway-benefits-grid strong{
  display:block;
  font-size:16px;
  line-height:1.2;
}

.ourway-benefits-grid span{
  display:block;
  font-size:14px;
  line-height:1.35;
}

.footer-copyright{
  padding:18px 0;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:13px;
}

@media (max-width:991px){

  .ourway-benefits-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .ourway-benefits-grid > div{
    border-right:0;
  }
}

@media (max-width:575px){

  .ourway-benefits-grid{
    grid-template-columns:1fr;
  }

  .footer-container{
    padding:30px 0 15px;
  }
}

.ourway-bottom-line{
  text-align:center;
  padding:14px 10px 4px;
  font-size:13px;
  color:#d7d7d7;
  line-height:1.6;
}

.ourway-bottom-line a{
  color:#ffffff !important;
  text-decoration:none;
}

.ourway-bottom-line a:hover{
  color:#ff8a00 !important;
}


/* OURWAY modern info strip */
.ourway-info-strip{
  background:#f5f7fa;
  padding:22px 0;
}

.ourway-info-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.ourway-info-card{
  background:#fff;
  border:1px solid #e4e8ef;
  border-radius:14px;
  padding:18px 18px;
  display:flex;
  align-items:center;
  gap:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
  min-height:82px;
}

.ourway-info-card i{
  font-size:34px;
  color:#005596;
  flex:0 0 auto;
}

.ourway-info-card strong{
  display:block;
  font-size:15px;
  text-transform:uppercase;
  color:#111;
  line-height:1.25;
}

.ourway-info-card span{
  display:block;
  color:#777;
  font-size:13px;
  margin-top:4px;
}

.ourway-info-card.sale i,
.ourway-info-card.sale strong{
  color:#e30613;
}

@media (max-width:991px){
  .ourway-info-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:575px){
  .ourway-info-grid{
    grid-template-columns:1fr;
  }
}

/* HEADER INFO STRIP compact override */
.ourway-header-strip{
  background:#f5f7fa !important;
  padding:12px 0 !important;
  border-bottom:1px solid #e6e6e6;
}

.ourway-header-strip .ourway-info-card{
  min-height:58px !important;
  padding:10px 14px !important;
  border-radius:8px !important;
  box-shadow:0 3px 10px rgba(0,0,0,.04) !important;
}

.ourway-header-strip .ourway-info-card i{
  font-size:26px !important;
}

.ourway-header-strip .ourway-info-card strong{
  font-size:13px !important;
}

.ourway-header-strip .ourway-info-card span{
  font-size:12px !important;
  margin-top:2px !important;
}


/* HEADER INFO STRIP visible fix */
.ourway-header-strip{
  background:#eef3f8 !important;
  padding:14px 0 !important;
  min-height:86px !important;
}

.ourway-header-strip .ourway-info-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:14px !important;
}

.ourway-header-strip .ourway-info-card{
  background:#ffffff !important;
  border:2px solid #005596 !important;
  color:#111 !important;
  opacity:1 !important;
  visibility:visible !important;
  min-height:64px !important;
}

.ourway-header-strip .ourway-info-card i{
  color:#005596 !important;
}

.ourway-header-strip .ourway-info-card strong{
  color:#005596 !important;
}

.ourway-header-strip .ourway-info-card.sale{
  border-color:#ff8a00 !important;
}

.ourway-header-strip .ourway-info-card.sale i,
.ourway-header-strip .ourway-info-card.sale strong{
  color:#e30613 !important;
}


/* OURWAY HEADER STRIP FINAL */
.ourway-header-strip{
  display:block !important;
  background:#eef3f8 !important;
  padding:12px 0 !important;
  border-bottom:1px solid #dce5ee !important;
}

.ourway-header-strip .ourway-info-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:14px !important;
}

.ourway-header-strip .ourway-info-card{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  background:#fff !important;
  border:2px solid #005596 !important;
  border-radius:10px !important;
  min-height:62px !important;
  padding:10px 14px !important;
  box-shadow:0 3px 12px rgba(0,0,0,.08) !important;
  color:#111 !important;
}

.ourway-header-strip .ourway-info-card i{
  display:block !important;
  font-size:28px !important;
  color:#005596 !important;
}

.ourway-header-strip .ourway-info-card strong{
  display:block !important;
  color:#005596 !important;
  font-size:13px !important;
  line-height:1.2 !important;
  text-transform:uppercase !important;
}

.ourway-header-strip .ourway-info-card span{
  display:block !important;
  color:#555 !important;
  font-size:12px !important;
  line-height:1.25 !important;
  margin-top:2px !important;
}

.ourway-header-strip .ourway-info-card.sale{
  border-color:#ff8a00 !important;
}

.ourway-header-strip .ourway-info-card.sale i,
.ourway-header-strip .ourway-info-card.sale strong{
  color:#e30613 !important;
}

@media(max-width:991px){
  .ourway-header-strip .ourway-info-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media(max-width:575px){
  .ourway-header-strip .ourway-info-grid{grid-template-columns:1fr !important;}
}

/* OURWAY HEADER STRIP - original larger visible version */
.ourway-header-strip{
  display:block !important;
  background:#ffffff !important;
  padding:22px 0 !important;
  border-bottom:1px solid #ddd !important;
  min-height:110px !important;
}

.ourway-header-strip .container{
  max-width:1400px !important;
}

.ourway-header-strip .ourway-info-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:0 !important;
  background:#fff !important;
  border:1px solid #ddd !important;
}

.ourway-header-strip .ourway-info-card{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:18px !important;
  min-height:82px !important;
  padding:15px 25px !important;
  border-right:1px solid #ddd !important;
  background:#fff !important;
  box-shadow:none !important;
  border-radius:0 !important;
  color:#111 !important;
  visibility:visible !important;
  opacity:1 !important;
}

.ourway-header-strip .ourway-info-card:last-child{
  border-right:0 !important;
}

.ourway-header-strip .ourway-info-card i{
  display:block !important;
  font-size:34px !important;
  color:#005596 !important;
  line-height:1 !important;
}

.ourway-header-strip .ourway-info-card strong{
  display:block !important;
  color:#111 !important;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-transform:uppercase !important;
}

.ourway-header-strip .ourway-info-card span{
  display:block !important;
  color:#777 !important;
  font-size:14px !important;
  line-height:1.3 !important;
  margin-top:3px !important;
}

.ourway-header-strip .ourway-info-card.sale i,
.ourway-header-strip .ourway-info-card.sale strong{
  color:#e30613 !important;
}

@media(max-width:991px){
  .ourway-header-strip .ourway-info-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }
  .ourway-header-strip .ourway-info-card:nth-child(2){
    border-right:0 !important;
  }
}

@media(max-width:575px){
  .ourway-header-strip .ourway-info-grid{
    grid-template-columns:1fr !important;
  }
  .ourway-header-strip .ourway-info-card{
    border-right:0 !important;
    border-bottom:1px solid #ddd !important;
  }
}


/* OURWAY HEADER STRIP - softer style */
.ourway-header-strip{
  background:#f7f8fa !important;
  padding:12px 0 14px !important;
  border-bottom:1px solid #e5e5e5 !important;
}

.ourway-header-strip .ourway-info-grid{
  border:1px solid #e3e6ea !important;
  background:#fff !important;
}

.ourway-header-strip .ourway-info-card{
  min-height:68px !important;
  padding:10px 18px !important;
  border-right:1px solid #e3e6ea !important;
  background:#fff !important;
  transition:.2s ease;
}

.ourway-header-strip .ourway-info-card:hover{
  background:#fafcff !important;
}

.ourway-header-strip .ourway-info-card i{
  font-size:28px !important;
  opacity:.9;
}

.ourway-header-strip .ourway-info-card strong{
  font-size:13px !important;
  letter-spacing:.3px;
  color:#1d1d1d !important;
}

.ourway-header-strip .ourway-info-card span{
  font-size:12px !important;
  color:#777 !important;
}

.ourway-header-strip .ourway-info-card.sale{
  border-top:2px solid #ff8a00 !important;
}

.ourway-header-strip .ourway-info-card.sale i,
.ourway-header-strip .ourway-info-card.sale strong{
  color:#d93025 !important;
}


/* OURWAY HEADER STRIP - gray borders only */
.ourway-header-strip .ourway-info-grid{
  border:1px solid #dfe3e8 !important;
}

.ourway-header-strip .ourway-info-card{
  border-right:1px solid #dfe3e8 !important;
  border-top:0 !important;
  border-bottom:0 !important;
  border-left:0 !important;
}

.ourway-header-strip .ourway-info-card:last-child{
  border-right:0 !important;
}

.ourway-header-strip .ourway-info-card.sale{
  border-top:0 !important;
}


/* NEWSLETTER ABOVE FOOTER - original gray style */
.footer-before-container{
  background:#e9e9e9 !important;
  color:#111 !important;
  padding:34px 0 30px !important;
  border:0 !important;
}

.footer-before-container .container{
  max-width:1400px !important;
}

.footer-before-container .row{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
}

.footer-before-container #blockEmailSubscription_displayFooterBefore,
.footer-before-container .block_newsletter{
  width:100% !important;
  max-width:1100px !important;
  margin:0 auto !important;
  color:#111 !important;
}

.footer-before-container .block_newsletter .row{
  display:flex !important;
  align-items:flex-start !important;
}

.footer-before-container .block_newsletter p,
.footer-before-container .block_newsletter label,
.footer-before-container .block_newsletter h3,
.footer-before-container .block_newsletter .h3{
  color:#111 !important;
}

.footer-before-container .block_newsletter p.h3,
.footer-before-container .block_newsletter .h3{
  font-size:20px !important;
  font-weight:700 !important;
  margin:12px 0 0 !important;
}

.footer-before-container .block_newsletter form{
  display:block !important;
  margin:0 !important;
}

.footer-before-container .block_newsletter .input-wrapper,
.footer-before-container .block_newsletter .input-group{
  display:flex !important;
  width:100% !important;
}

.footer-before-container .block_newsletter input[type="email"],
.footer-before-container .block_newsletter input[name="email"]{
  height:48px !important;
  background:#fff !important;
  border:1px solid #cfcfcf !important;
  color:#333 !important;
  box-shadow:none !important;
}

.footer-before-container .block_newsletter button,
.footer-before-container .block_newsletter .btn{
  height:48px !important;
  background:#ff8a00 !important;
  border-color:#ff8a00 !important;
  color:#fff !important;
  padding:0 28px !important;
  font-weight:700 !important;
}

.footer-before-container .block_newsletter small,
.footer-before-container .block_newsletter .conditions,
.footer-before-container .block_newsletter .gdpr_consent,
.footer-before-container .block_newsletter .psgdpr_consent_message{
  color:#222 !important;
  font-size:13px !important;
  line-height:1.35 !important;
}

.footer-container{
  margin-top:0 !important;
}

@media(max-width:767px){
  .footer-before-container{
    padding:24px 15px !important;
  }

  .footer-before-container .block_newsletter .row{
    display:block !important;
  }

  .footer-before-container .block_newsletter p.h3,
  .footer-before-container .block_newsletter .h3{
    margin-bottom:15px !important;
  }
}

/* newsletter spacing fix */
.footer-before-container .block_newsletter .row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:40px !important;
}

.footer-before-container .block_newsletter .col-xs-12:first-child,
.footer-before-container .block_newsletter .col-md-6:first-child{
  flex:0 0 42% !important;
  max-width:42% !important;
}

.footer-before-container .block_newsletter .col-xs-12:last-child,
.footer-before-container .block_newsletter .col-md-6:last-child{
  flex:0 0 58% !important;
  max-width:58% !important;
}

.footer-before-container .block_newsletter form .input-wrapper,
.footer-before-container .block_newsletter form .input-group{
  display:flex !important;
  align-items:center !important;
  gap:0 !important;
}

.footer-before-container .block_newsletter input[type="email"]{
  border-radius:4px 0 0 4px !important;
}

.footer-before-container .block_newsletter button{
  border-radius:0 4px 4px 0 !important;
  margin-left:-1px !important;
}

.footer-before-container .block_newsletter .psgdpr_consent_message,
.footer-before-container .block_newsletter .conditions{
  margin-top:12px !important;
  display:block !important;
}

@media(max-width:767px){

  .footer-before-container .block_newsletter .row{
    display:block !important;
  }

  .footer-before-container .block_newsletter .col-xs-12,
  .footer-before-container .block_newsletter .col-md-6{
    max-width:100% !important;
    flex:0 0 100% !important;
  }
}

/* NEWSLETTER final alignment */
.footer-before-container{
  background:#e9e9e9 !important;
  padding:28px 0 !important;
}

.footer-before-container .block_newsletter{
  max-width:1180px !important;
  margin:0 auto !important;
}

.footer-before-container .block_newsletter .row{
  display:grid !important;
  grid-template-columns: 34% 66% !important;
  align-items:center !important;
  gap:28px !important;
}

.footer-before-container .block_newsletter p.h3,
.footer-before-container .block_newsletter .h3{
  font-size:18px !important;
  line-height:1.25 !important;
  margin:0 !important;
  color:#111 !important;
}

.footer-before-container .block_newsletter form{
  display:grid !important;
  grid-template-columns: minmax(360px, 1fr) auto minmax(260px, 390px) !important;
  align-items:center !important;
  gap:14px !important;
  margin:0 !important;
}

.footer-before-container .block_newsletter input[type="email"],
.footer-before-container .block_newsletter input[name="email"]{
  height:46px !important;
  width:100% !important;
  min-width:360px !important;
  border:1px solid #cfcfcf !important;
  background:#fff !important;
  color:#333 !important;
  padding:0 14px !important;
}

.footer-before-container .block_newsletter button,
.footer-before-container .block_newsletter .btn{
  height:46px !important;
  min-width:118px !important;
  background:#ff8a00 !important;
  border-color:#ff8a00 !important;
  color:#fff !important;
  font-weight:700 !important;
  padding:0 24px !important;
}

.footer-before-container .block_newsletter .psgdpr_consent_message,
.footer-before-container .block_newsletter .conditions,
.footer-before-container .block_newsletter small{
  margin:0 !important;
  color:#111 !important;
  font-size:12px !important;
  line-height:1.35 !important;
  max-width:390px !important;
}

@media(max-width:991px){
  .footer-before-container .block_newsletter .row{
    grid-template-columns:1fr !important;
  }

  .footer-before-container .block_newsletter form{
    grid-template-columns:1fr auto !important;
  }

  .footer-before-container .block_newsletter .psgdpr_consent_message,
  .footer-before-container .block_newsletter .conditions,
  .footer-before-container .block_newsletter small{
    grid-column:1 / -1 !important;
    max-width:none !important;
  }
}

@media(max-width:575px){
  .footer-before-container .block_newsletter form{
    grid-template-columns:1fr !important;
  }

  .footer-before-container .block_newsletter input[type="email"],
  .footer-before-container .block_newsletter input[name="email"]{
    min-width:0 !important;
  }
}

/* VRÁCENÍ ORIGINÁL VZHLEDU MEGA MENU */

#header .dropdown-menu a,
#header .dropdown-item{
    font-size:13px !important;
    font-weight:400 !important;
    text-transform:none !important;
    letter-spacing:0 !important;
    padding:4px 18px !important;
    line-height:1.45 !important;
}

#header .top-menu .sub-menu{
    min-width:280px !important;
}

#header .top-menu .sub-menu ul[data-depth="1"] > li{
    margin-bottom:2px !important;
}


/* VYPNUTÍ OBRÁZKŮ V MEGA MENU */

#header .top-menu img,
#header .dropdown-menu img,
#header .sub-menu img,
#header .top-menu .menu-image{
    display:none !important;
}

#header .top-menu .sub-menu{
    background-image:none !important;
}

#header .top-menu .sub-menu ul[data-depth="1"]{
    display:block !important;
    width:auto !important;
}

#header .top-menu .sub-menu li{
    width:auto !important;
    min-width:0 !important;
}


/* schovat rozbalovací šipky v horním menu */
#header .top-menu .dropdown-submenu > a:after,
#header .top-menu .dropdown-item:after,
#header .top-menu .dropdown-toggle:after,
#header .menu .dropdown-toggle:after,
#header .js-top-menu .dropdown-toggle:after{
  display:none !important;
  content:none !important;
  border:0 !important;
}


/* schovat ikonky/šipky rozbalení v horním menu */
#header .top-menu i,
#header .top-menu .material-icons,
#header .top-menu .sub-arrow,
#header .top-menu .dropdown-arrow,
#header .top-menu .caret,
#header .menu i,
#header .menu .material-icons,
#header .menu .sub-arrow,
#header .menu .caret{
  display:none !important;
}


/* spodní copyright lišta */
.ourway-bottom-line,
.footer-copyright,
.footer-copyright *,
.footer-container .copyright,
#footer .copyright{
    background:#ffffff !important;
    color:#555 !important;
    font-size:13px !important;
    text-align:center !important;
}

.ourway-bottom-line a,
.footer-copyright a,
#footer .copyright a{
    color:#666 !important;
}

.ourway-bottom-line a:hover,
.footer-copyright a:hover,
#footer .copyright a:hover{
    color:#0b5aa0 !important;
}


/* spodní copyright - odsazení */
.ourway-bottom-line,
.footer-copyright{
    padding:12px 0 14px !important;
    line-height:1.8 !important;
}

.ourway-bottom-line a,
.footer-copyright a{
    display:inline-block;
    padding:0 6px;
}


/* odstranit šipky submenu */
#_desktop_top_menu .category > a:before,
#_desktop_top_menu .category > a:after,
#_desktop_top_menu .dropdown-item:before,
#_desktop_top_menu .dropdown-item:after,
#_desktop_top_menu .submenu:before,
#_desktop_top_menu .submenu:after,
#_desktop_top_menu .sub-menu a:before,
#_desktop_top_menu .sub-menu a:after{
    display:none !important;
    content:none !important;
}


/* NEWSLETTER - final layout podle skutečného DOM */
.footer-before-container{
  background:#e9e9e9 !important;
  padding:26px 0 !important;
}

.footer-before-container .block_newsletter{
  max-width:1180px !important;
  margin:0 auto !important;
}

.footer-before-container .block_newsletter > .row{
  display:grid !important;
  grid-template-columns: 36% 64% !important;
  align-items:center !important;
  gap:24px !important;
  margin:0 !important;
}

.footer-before-container .block_newsletter .col-lg-6:first-child{
  width:auto !important;
  max-width:none !important;
  padding:0 !important;
}

.footer-before-container .block_newsletter .col-lg-6:last-child{
  width:auto !important;
  max-width:none !important;
  padding:0 !important;
}

.footer-before-container .block_newsletter #block-newsletter-label{
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  margin:0 !important;
  color:#111 !important;
}

.footer-before-container .block_newsletter form .row{
  display:grid !important;
  grid-template-columns: minmax(320px, 1fr) auto !important;
  grid-template-areas:
    "email button"
    "text text" !important;
  gap:10px 12px !important;
  align-items:center !important;
  margin:0 !important;
}

.footer-before-container .block_newsletter .input-wrapper{
  grid-area:email !important;
  min-width:0 !important;
}

.footer-before-container .block_newsletter input[type="email"]{
  width:100% !important;
  height:42px !important;
  padding:0 14px !important;
  border:1px solid #cfcfcf !important;
  background:#fff !important;
  color:#333 !important;
  font-size:14px !important;
}

.footer-before-container .block_newsletter input.subscribe,
.footer-before-container .block_newsletter input[name="submitNewsletter"]{
  grid-area:button !important;
  position:static !important;
  float:none !important;
  width:auto !important;
  height:42px !important;
  min-width:112px !important;
  padding:0 24px !important;
  background:#ff8a00 !important;
  border:0 !important;
  color:#fff !important;
  font-weight:700 !important;
  font-size:13px !important;
}

.footer-before-container .block_newsletter .conditions{
  grid-area:text !important;
  width:100% !important;
  margin:0 !important;
  color:#111 !important;
  font-size:12px !important;
  line-height:1.35 !important;
}

.footer-before-container .block_newsletter .conditions p{
  margin:0 !important;
  max-width:650px !important;
}

@media(max-width:991px){
  .footer-before-container .block_newsletter > .row{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:575px){
  .footer-before-container .block_newsletter form .row{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "email"
      "button"
      "text" !important;
  }

  .footer-before-container .block_newsletter input[name="submitNewsletter"]{
    width:100% !important;
  }
}
