/* YGT only fixes page canvas/form integration. Visual sections, header, slider, cart, mobile menu and footer use WoodMart/Elementor native styles. */
.ygt-managed-page .wd-page-content{padding-top:0}
.ygt-managed-page .content-layout-wrapper{max-width:none;width:100%;padding-inline:0}
.ygt-managed-page .site-content{max-width:none;width:100%;padding-inline:0}
.ygt-managed-page .entry-content{overflow:visible}
.ygt-managed-page .entry-content>p:empty{display:none}
.ygt-native-home .entry-content>.wd-slider:first-child{margin-top:0}
.ygt-native-form-wrap{max-width:980px;margin:0 auto;padding:32px;border:1px solid var(--brdcolor-gray-300);border-radius:var(--wd-brd-radius);background:var(--bgcolor-white)}
.ygt-native-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ygt-native-form .form-row{margin-bottom:18px}
.ygt-native-form textarea{min-height:160px}
.ygt-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:767px){.ygt-native-form-wrap{padding:22px}.ygt-native-form-grid{grid-template-columns:1fr}}

/* v2.2.0: layout guards only; visual language remains WoodMart-native. */
.ygt-managed-page .wd-brands.wd-layout-grid .wd-brand-item{min-height:112px;display:flex;align-items:center;justify-content:center}
.ygt-managed-page .wd-brands.wd-layout-grid .wd-brand-item img{max-height:72px;width:auto;object-fit:contain}
@media (min-width:1025px){.ygt-managed-page .elementor-widget-wd_infobox{min-width:0}}


/* v2.3.0 refinements */
.ygt-native-home .main-page-wrapper,
.ygt-native-home .wd-page-content,
.ygt-native-home .entry-content,
.ygt-native-home .site-content{padding-top:0!important;margin-top:0!important}
.ygt-native-home .entry-content>.wd-slider:first-child,
.ygt-native-home .wd-page-content>.wd-slider:first-child,
.ygt-native-home .entry-content>.wd-slider-wrapper:first-child,
.ygt-native-home .wd-page-content>.wd-slider-wrapper:first-child{margin-top:0!important}
.whb-header-bottom,.whb-row.whb-header-bottom,.whb-flex-row.whb-header-bottom{display:none!important}
body .whb-general-header{margin-bottom:0!important;border-bottom:0!important}
body .whb-main-header,body .whb-row{margin-bottom:0}
.ygt-managed-page .wd-brands .wd-carousel-item .wd-brand-item{min-height:96px;display:flex;align-items:center;justify-content:center;padding:12px 20px;border:1px solid rgba(11,49,84,.08);border-radius:18px;background:#fff}
.ygt-managed-page .wd-brands .wd-carousel-item img{max-height:64px;width:auto;object-fit:contain}
.ygt-managed-page .elementor-widget-wd_banner .promo-banner{height:100%}
.ygt-managed-page .elementor-widget-wd_banner .promo-banner .banner-image{border-radius:22px;overflow:hidden}
.ygt-managed-page .elementor-widget-wd_banner{height:100%}
.footer-container .ygt-native-footer,.footer-container .elementor-widget-wrap{width:100%}
.ygt-managed-page footer .elementor-widget-wd_title .title{max-width:unset}
@media (min-width:1025px){
  .ygt-managed-page .elementor-widget-wd_infobox{min-width:0}
}

/* v2.4.0: sector-specific layout refinements */
.ygt-page-hero{position:relative;overflow:hidden}
.ygt-page-hero>.e-con-inner,.ygt-page-hero>.elementor-element{position:relative;z-index:2}
.ygt-page-hero .title-after_title{max-width:780px}

/* Motor oil banners: two equal columns on desktop/tablet, stacked on mobile. */
.ygt-section-home-oils .ygt-half-col,
.ygt-section-inner-oils .ygt-half-col{width:calc(50% - 12px)!important;max-width:calc(50% - 12px)!important;flex:0 0 calc(50% - 12px)!important}
.ygt-section-home-oils .elementor-widget-wd_banner,
.ygt-section-inner-oils .elementor-widget-wd_banner{width:100%!important;height:100%}
.ygt-section-home-oils .promo-banner,
.ygt-section-inner-oils .promo-banner{min-height:360px;border-radius:22px;overflow:hidden;box-shadow:0 14px 34px rgba(8,43,77,.10)}

/* Process section: lighter, clearer four-step flow. */
.ygt-section-home-process{background:linear-gradient(180deg,#edf5fb 0%,#f8fbfe 100%)!important;border-top:1px solid #dbe7f1;border-bottom:1px solid #dbe7f1}
.ygt-section-home-process .elementor-widget-wd_infobox{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(8,43,77,.07);overflow:hidden}
.ygt-section-home-process .info-box-icon{color:#0b61b5}
.ygt-section-home-process .info-box-title{color:#082b4d}
.ygt-section-home-process .info-box-content{color:#53687b}

/* Footer: compact CTA + four balanced columns. */
.ygt-section-footer-main{padding-top:44px!important;padding-bottom:40px!important}
.ygt-section-footer-main .ygt-footer-links-row{display:grid!important;grid-template-columns:1.35fr .8fr .8fr 1.1fr!important;gap:30px!important;width:100%!important}
.ygt-section-footer-main .ygt-footer-links-row>.e-con,
.ygt-section-footer-main .ygt-footer-links-row>.elementor-element{width:100%!important;max-width:100%!important}
.ygt-section-footer-main a{transition:opacity .2s ease}
.ygt-section-footer-main a:hover{opacity:.78}
.ygt-section-footer-main .wd-title-style-default .title{line-height:1.18}

/* Advanced quote / technical form. */
.ygt-native-form-wrap{max-width:1120px;padding:0;border:1px solid #dce7f0;border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(8,43,77,.08);background:#fff}
.ygt-form-head{padding:34px 36px 28px;background:linear-gradient(135deg,#082b4d 0%,#0d4f86 100%);color:#fff}
.ygt-form-head h3{color:#fff;margin:7px 0 10px;font-size:28px}
.ygt-form-head p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.ygt-form-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.13em;color:#9fd0ff}
.ygt-native-form{padding:32px 36px 36px}
.ygt-form-section{padding:0 0 26px;margin:0 0 26px;border-bottom:1px solid #e7eef4}
.ygt-form-section:last-of-type{margin-bottom:20px}
.ygt-form-section h4{margin:0 0 18px;color:#082b4d;font-size:18px}
.ygt-native-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.ygt-native-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ygt-native-form-grid .form-row{margin:0}
.ygt-native-form .form-row label{display:block;margin-bottom:7px;font-weight:600;color:#20384d}
.ygt-native-form input.input-text,
.ygt-native-form textarea.input-text,
.ygt-native-form select.select{width:100%;min-height:48px;border:1px solid #cfdde8;border-radius:10px;background:#fff;padding:10px 13px;box-shadow:none}
.ygt-native-form textarea.input-text{min-height:150px;resize:vertical}
.ygt-native-form input:focus,
.ygt-native-form textarea:focus,
.ygt-native-form select:focus{border-color:#1677ff;box-shadow:0 0 0 3px rgba(22,119,255,.10);outline:none}
.ygt-span-2{grid-column:span 2}
.ygt-form-consent{font-size:13px;color:#687b8c}
.ygt-form-submit{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0}
.ygt-form-whatsapp{font-weight:700;text-decoration:underline}
.ygt-native-form-wrap>.woocommerce-message,.ygt-native-form-wrap>.woocommerce-error{margin:22px 36px 0}

@media(max-width:1024px){
  .ygt-section-footer-main .ygt-footer-links-row{grid-template-columns:1fr 1fr!important}
  .ygt-native-form-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .ygt-section-home-oils .ygt-half-col,
  .ygt-section-inner-oils .ygt-half-col{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
  .ygt-section-home-oils .promo-banner,
  .ygt-section-inner-oils .promo-banner{min-height:300px}
  .ygt-section-footer-main .ygt-footer-links-row{grid-template-columns:1fr!important;gap:18px!important}
  .ygt-native-form{padding:24px 20px 26px}
  .ygt-form-head{padding:26px 20px 22px}
  .ygt-form-head h3{font-size:24px}
  .ygt-native-form-grid,.ygt-native-form-grid-3{grid-template-columns:1fr}
  .ygt-span-2{grid-column:auto}
  .ygt-native-form-wrap>.woocommerce-message,.ygt-native-form-wrap>.woocommerce-error{margin:16px 20px 0}
}


/* v2.4.4 - Native WoodMart brand carousel refinements */
.ygt-managed-page .wd-brands.wd-layout-carousel .wd-carousel-inner{overflow:hidden;border-radius:18px}
.ygt-managed-page .wd-brands.wd-layout-carousel .wd-carousel-item{height:auto}
.ygt-managed-page .wd-brands.wd-layout-carousel .wd-brand-item{min-height:116px;height:100%;display:flex;align-items:center;justify-content:center;padding:20px;background:#fff}
.ygt-managed-page .wd-brands.wd-layout-carousel .wd-brand-item img{display:block;max-width:150px;max-height:72px;width:auto;height:auto;object-fit:contain}
.ygt-managed-page .wd-brands.wd-layout-carousel .wd-btn-arrow{z-index:3}
@media (max-width:1024px){.ygt-managed-page .wd-brands.wd-layout-carousel .wd-brand-item{min-height:104px;padding:16px}.ygt-managed-page .wd-brands.wd-layout-carousel .wd-brand-item img{max-width:135px;max-height:64px}}
@media (max-width:767px){.ygt-managed-page .wd-brands.wd-layout-carousel .wd-brand-item{min-height:92px;padding:12px}.ygt-managed-page .wd-brands.wd-layout-carousel .wd-brand-item img{max-width:110px;max-height:54px}}
