/* ===== migration additions (AEO/SEO sections, breadcrumb, form, video) – set --msm-red to the brand colour ===== */
:root{--msm-red:#da251c;--msm-dark:#333;--msm-grey:#666;--msm-bg:#f5f5f5}
.msm-aeo{background:#fff;padding:60px 0}
.msm-aeo-row{width:80%;max-width:1080px;margin:auto}
.msm-aeo-head{text-align:center;margin-bottom:22px}
.msm-aeo-kicker{display:block;color:var(--msm-red);font-family:inherit;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}
.msm-aeo-title{font-family:inherit;font-size:30px;line-height:1.3;color:#000;padding:0}
.msm-aeo-answer{max-width:860px;margin:0 auto 22px;text-align:center;font-size:16px;line-height:1.8;color:var(--msm-grey)}
.msm-aeo-answer strong{color:var(--msm-dark);font-weight:600}
.msm-aeo-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:50px}
.msm-aeo-links a{background:var(--msm-red);color:#fff;padding:10px 20px;font-size:14px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;border-radius:2px;transition:background .2s}
.msm-aeo-links a:hover,.msm-aeo-links a:focus{background:#b01d15}
.msm-faq{max-width:900px;margin:auto}
.msm-faq-item{border:1px solid #e5e5e5;border-left:4px solid var(--msm-red);background:#fff;margin-bottom:12px;border-radius:2px}
.msm-faq-item summary{cursor:pointer;list-style:none;padding:16px 48px 16px 20px;position:relative}
.msm-faq-item summary::-webkit-details-marker{display:none}
.msm-faq-item summary::after{content:'+';position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--msm-red);font-weight:700}
.msm-faq-item[open] summary::after{content:'–'}
.msm-faq-item summary h3{font-size:17px;font-weight:600;color:var(--msm-dark);padding:0;margin:0;display:inline}
.msm-faq-item p{padding:0 20px 18px;margin:0;color:var(--msm-grey);font-size:15px;line-height:1.7}
.msm-nap{background:var(--msm-bg)}
.msm-nap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.msm-nap-grid>div{background:#fff;padding:24px;border-top:3px solid var(--msm-red)}
.msm-nap-grid h3{font-size:18px;color:var(--msm-red);padding-bottom:8px}
.msm-nap-grid p{font-size:15px;line-height:1.8;color:var(--msm-grey)}
.msm-nap-grid a{color:var(--msm-dark)}
.msm-breadcrumb{background:#f7f7f7;border-bottom:1px solid #eee}
.msm-bc-inner{width:80%;max-width:1080px;margin:auto;padding:10px 0}
.msm-breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;font-size:13px}
.msm-breadcrumb li+li::before{content:'›';margin:0 8px;color:#999}
.msm-breadcrumb a{color:var(--msm-red)}
.msm-breadcrumb li[aria-current]{color:#555}
/* lite YouTube (videos load only on click – faster page) */
.msm-yt{position:relative;display:block;aspect-ratio:16/9;background:#000 center/cover no-repeat;cursor:pointer;overflow:hidden}
.msm-yt img{width:100%;height:100%;object-fit:cover;display:block;opacity:.9}
.msm-yt::after{content:'';position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7a8.5 8.5 0 0 0-6-6C55.3.3 34 .3 34 .3s-21.3 0-26.5 1.4a8.5 8.5 0 0 0-6 6C.1 12.9.1 24 .1 24s0 11.1 1.4 16.3a8.5 8.5 0 0 0 6 6C12.7 47.7 34 47.7 34 47.7s21.3 0 26.5-1.4a8.5 8.5 0 0 0 6-6C67.9 35.1 67.9 24 67.9 24s0-11.1-1.4-16.3z' fill='%23da251c'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat}
.msm-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* form */
.msm-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.msm-form-msg{padding:14px 18px;margin:10px 0 18px;border-radius:2px;font-size:15px}
.msm-ok{background:#e8f6ec;border-left:4px solid #2e9e4f;color:#1d5e30}
.msm-err{background:#fdecea;border-left:4px solid var(--msm-red);color:#8a1d15}
.gfield_error input,.gfield_error textarea{border-color:var(--msm-red)!important}
@media(max-width:980px){.msm-nap-grid{grid-template-columns:1fr}.msm-aeo-row,.msm-bc-inner{width:90%}.msm-aeo-title{font-size:24px}.msm-aeo{padding:40px 0}}
/* ---- AEO blocks v3 ---- */
.msm-definition{max-width:860px;margin:-8px auto 22px;text-align:center;font-size:15px;color:var(--msm-grey);font-style:italic}
.msm-answer{padding:40px 0 30px}
.msm-glance{background:var(--msm-bg)}
.msm-glance-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}
.msm-glance-grid li{background:#fff;text-align:center;padding:22px 12px;border-bottom:3px solid var(--msm-red)}
.msm-stat{display:block;font-size:32px;font-weight:700;color:var(--msm-red);line-height:1.2}
.msm-stat-label{display:block;font-size:14px;color:var(--msm-dark);text-transform:uppercase;letter-spacing:.5px;margin-top:6px}
.msm-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;counter-reset:s}
.msm-steps li{background:#fff;border:1px solid #eee;padding:26px 20px 20px;position:relative;text-align:center}
.msm-step-no{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--msm-red);color:#fff;font-weight:700;font-size:18px;margin-bottom:10px}
.msm-steps h3,.msm-why-grid h3{font-size:17px;color:var(--msm-dark);padding-bottom:6px}
.msm-steps p,.msm-why-grid p{font-size:14px;line-height:1.7;color:var(--msm-grey)}
.msm-trust{background:var(--msm-bg)}
.msm-trust-list{list-style:none;margin:0 auto 24px;padding:0;max-width:900px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px 24px}
.msm-trust-list li{padding-left:28px;position:relative;font-size:15px;line-height:1.7;color:var(--msm-dark)}
.msm-trust-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--msm-red);font-weight:700}
.msm-trust-logos{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;align-items:center}
.msm-trust-logos img{height:60px;width:auto;object-fit:contain;filter:grayscale(.2)}
.msm-why-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.msm-why-grid li{border-top:3px solid var(--msm-red);background:#fff;padding:20px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
/* theme list styles (Divi/Elementor) must not leak into AEO blocks */
.msm-aeo ul,.msm-aeo ol{list-style:none!important;padding:0!important;margin-left:0!important}
.msm-aeo li{list-style:none!important}.msm-aeo li::marker{content:''}
.msm-aeo ul li::before{color:var(--msm-red)}

/* ---- AEO area: one new section at the bottom, theme colour accents ---- */
.msm-aeo{border-top:1px solid #eee}
.msm-aeo + .msm-aeo{border-top:0;padding-top:20px}
/* ---- contact form: clean, responsive (scoped to our form only) ---- */
#gform_wrapper_1{max-width:860px;margin:0 auto}
#gform_wrapper_1 .gform_fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
#gform_wrapper_1 .gfield{grid-column:auto!important;width:auto!important;margin:0!important}
#gform_wrapper_1 .gfield--width-full,#gform_wrapper_1 .msm-hp{grid-column:1/-1!important}
#gform_wrapper_1 input:not([type=hidden]),#gform_wrapper_1 select,#gform_wrapper_1 textarea{width:100%!important;max-width:100%!important;box-sizing:border-box;padding:12px 14px!important;border:1px solid #d6d6d6!important;border-radius:4px!important;font-size:15px!important;background:#fff!important;color:#333;transition:border-color .2s,box-shadow .2s}
#gform_wrapper_1 input:focus,#gform_wrapper_1 select:focus,#gform_wrapper_1 textarea:focus{outline:0;border-color:var(--msm-red)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--msm-red) 18%,transparent)}
#gform_wrapper_1 .gform_button{background:var(--msm-red)!important;color:#fff!important;border:0!important;border-radius:4px!important;padding:13px 34px!important;font-size:16px!important;font-weight:600;cursor:pointer;transition:filter .2s}
#gform_wrapper_1 .gform_button:hover{filter:brightness(.9)}
#gform_wrapper_1 .gfield_error input,#gform_wrapper_1 .gfield_error select,#gform_wrapper_1 .gfield_error textarea{border-color:#c62828!important}
@media(max-width:767px){#gform_wrapper_1 .gform_fields{grid-template-columns:1fr}#gform_wrapper_1 .gform_button{width:100%}}

:root{--msm-red:#89161D}
/* ================= KCR Impex – layout (v2: same as live site) =================
   Desktop: grass background, white boxed site 1300px max / 90% width.
   Inside the box: slider + grey bands run the full box width, content has 30px side space.
   Mobile (<768px): box = full screen width, full-width sections edge to edge, other content 90%. */
html, body { overflow-x: hidden; }
body {
  background: #6a9c2f url("../images/2018/10/grass-1.jpg") center center / contain repeat fixed !important;
}
.l-canvas, .l-canvas.type_wide {
  max-width: 1300px !important; width: 90% !important; margin: 0 auto !important;
  background: #fff !important; box-shadow: 0 0 25px rgba(0,0,0,.25) !important;
}
/* fixed/sticky header and footer keep the same box width */
.l-header, .l-header.pos_fixed, .header_hor .l-header {
  max-width: 1300px !important; width: 90% !important; left: 0 !important; right: 0 !important; margin: 0 auto !important;
}
/* footer sits inside the box -> fill it */
.l-canvas .l-footer { max-width: none !important; width: 100% !important; margin: 0 !important; }
/* outer wrappers: no side padding -> backgrounds fill the box edge to edge */
.l-subheader, .l-titlebar, .l-section, .l-subfooter, .sidebar_none .l-main { padding-left: 0 !important; padding-right: 0 !important; }
/* inner content: 30px side space inside the box */
.header_hor .l-subheader-h, .l-titlebar-h, .l-section-h, .l-subfooter-h, .w-tabs-section-content-h,
.sidebar_left .l-main-h, .sidebar_right .l-main-h {
  max-width: none !important; width: calc(100% - 60px) !important; margin-left: auto !important; margin-right: auto !important;
}
.sidebar_left .l-main-h .l-section-h, .sidebar_right .l-main-h .l-section-h { width: 100% !important; }
/* full-width rows (banner / slider) */
.l-section.width_full > .l-section-h, .l-section.full_height > .l-section-h { width: 100% !important; }
.rev_slider_wrapper, .rev_slider_wrapper.fullwidthbanner-container { width: 100% !important; left: 0 !important; }

/* columns in a row get equal height (INTRODUCTION / CUSTOMER SUPPORT / QUALITY boxes line up) */
@media (min-width: 768px) {
  .l-main .g-cols { display: flex; flex-wrap: wrap; }
  .l-main .g-cols::before, .l-main .g-cols::after { display: none; }
  .l-main .g-cols > .vc_column_container > .vc_column-inner { height: 100%; }
}

/* ---------- equal spacing for every section ---------- */
.l-main .l-section > .l-section-h { padding-top: 45px !important; padding-bottom: 45px !important; }
/* two sections with the same background one after another: no double gap */
.l-main .l-section.with_overlay + .l-section.with_overlay > .l-section-h,
.l-main .l-section:not(.with_overlay):not(.width_full) + .l-section:not(.with_overlay) > .l-section-h { padding-top: 0 !important; }
/* slider row: no padding */
.l-main .l-section.width_full.height_auto > .l-section-h { padding-top: 0 !important; padding-bottom: 0 !important; }
/* builder spacing that made blocks stick together / leave big holes */
.l-main .vc_custom_1539665328477, .l-main [class*="vc_custom_"][style*="margin-top: -"] { margin-top: 0 !important; }
.l-main .vc_column-inner > .vc_custom_heading:first-child { margin-top: 0 !important; }
.l-main .wpb_wrapper > :last-child, .l-main .wpb_text_column > .wpb_wrapper > :last-child,
.l-main .vc_column-inner > .wpb_wrapper > :last-child { margin-bottom: 0 !important; }
.l-main .g-cols > .vc_column_container > .vc_column-inner { padding-bottom: 0 !important; }

@media (max-width: 767px) {
  body { background: #fff !important; }
  .l-canvas, .l-canvas.type_wide, .l-header, .l-header.pos_fixed, .header_hor .l-header {
    width: 100% !important; max-width: none !important; box-shadow: none !important;
  }
  .header_hor .l-subheader-h, .l-titlebar-h, .l-section-h, .l-subfooter-h, .w-tabs-section-content-h,
  .sidebar_left .l-main-h, .sidebar_right .l-main-h { width: 90% !important; }
  .l-main .l-section > .l-section-h { padding-top: 32px !important; padding-bottom: 32px !important; }
  .l-main .l-section.width_full.height_auto > .l-section-h { padding: 0 !important; }
}

/* home: INTRODUCTION is now the single H1 – keep its old h3 look */
h1.vc_custom_1539665328477 { font-size: 28px; line-height: 1.4; }
@media (max-width: 767px) { h1.vc_custom_1539665328477 { font-size: 24px; } }
/* language switcher (GTranslate light widget) */
.gtranslate_wrapper { display: inline-block; min-width: 120px; }
.gtranslate_wrapper select, .gt_selector { font-size: 13px; padding: 4px 6px; border: 1px solid #ccc; border-radius: 3px; background: #fff; }
/* WhatsApp floating button (was hand-coded in the old theme footer) */
a.float { position: fixed; width: 56px; height: 56px; bottom: 30px; right: 30px; background: #25d366; border-radius: 50%;
  box-shadow: 2px 2px 6px rgba(0,0,0,.3); z-index: 100; display: flex; align-items: center; justify-content: center; }
a.float svg { width: 32px; height: 32px; fill: #fff; }
@media (max-width: 767px) { a.float { width: 50px; height: 50px; bottom: 18px; right: 16px; } a.float svg { width: 28px; height: 28px; } }
.w-toplink.active { right: 96px; }
@media (max-width: 767px) { .w-toplink.active { right: 76px; } }
/* images never overflow on phones */
img { max-width: 100%; height: auto; }

/* ================= mobile alignment fixes ================= */
@media (max-width: 767px) {
  /* card headings (INTRODUCTION / CUSTOMER SUPPORT / QUALITY & PACKING) fit inside the box */
  .l-main .vc_custom_heading { font-size: 21px !important; line-height: 1.35 !important; word-wrap: break-word; }
  h1.vc_custom_1539665328477 { font-size: 21px !important; }
  /* stacked columns: space between product cards (READ MORE no longer touches the next title) */
  .l-main .g-cols > .vc_column_container, .l-main .vc_row > .vc_column_container { margin-bottom: 28px !important; }
  .l-main .g-cols > .vc_column_container:last-child { margin-bottom: 0 !important; }
  /* titlebar & long text */
  .l-titlebar h1 { font-size: 28px !important; }
  .l-main p, .l-main li { overflow-wrap: break-word; }
  /* table cells: never split words in the middle (was 'Cardamo m') */
  .l-main td, .l-main th { word-break: normal !important; overflow-wrap: normal !important; hyphens: manual; font-size: 13px; padding: 8px 6px !important; }
  .l-main table { width: 100% !important; }
  /* tabs on product pages stack neatly */
  .w-tabs-list { flex-wrap: wrap; }
  /* maps fill the width */
  .l-main iframe, .l-footer iframe { width: 100% !important; }
}
.l-main iframe[src*="google.com/maps"] { width: 100% !important; }
@media (max-width: 767px) {
  /* old builder pulled headings up with margin-top:-32px – on phones that made titles overlap the button above */
}

/* ================= static-site fixes (v2) ================= */
/* enquiry form uses the full content width, 2 columns on desktop */
#gform_wrapper_1.gform_wrapper { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.msm-form-msg { margin: 0 0 18px; padding: 12px 16px; border-radius: 4px; font-size: 15px; }
.msm-form-msg.msm-ok { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.msm-form-msg.msm-err { background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; }
#gform_submit_button_1[disabled] { opacity: .7; cursor: wait; }
.gfield_error input, .gfield_error textarea { border-color: #c62828 !important; }
@media (max-width: 767px) {
  /* justified text leaves big gaps on phones -> left aligned */
  .l-main [style*="justify"], .l-main [style*="justify"] p, .l-main .align_justify { text-align: left !important; }
  /* product tabs (Ultimate Addons): one neat row of equal buttons */
  ul.ult_tabmenu { display: flex !important; flex-wrap: nowrap; width: 100% !important; padding: 0 !important; }
  ul.ult_tabmenu > li.ult_tab_li { flex: 1 1 0; min-width: 0; float: none !important; display: block !important; width: auto !important; margin: 0 1px !important; }
  ul.ult_tabmenu > li.ult_tab_li > a.ult_a { display: flex !important; align-items: center; justify-content: center; height: 100%; padding: 10px 4px !important; text-align: center; }
  ul.ult_tabmenu .ult-span-text { font-size: 12.5px !important; line-height: 1.3 !important; white-space: normal; }
}

/* enquiry form: Name | Email | Mobile in one row, Message full width; old site green "SEND" button */
@media (min-width: 768px) { #gform_wrapper_1 .gform_fields { grid-template-columns: 1fr 1fr 1fr !important; } }
#gform_wrapper_1 #gform_submit_button_1 { background: #678e21 !important; width: auto; min-width: 160px; text-transform: uppercase; font-weight: 700; border-radius: 4.5px !important; }
#gform_wrapper_1 #gform_submit_button_1:hover { background: #557619 !important; filter: none; }
@media (max-width: 767px) { #gform_wrapper_1 #gform_submit_button_1 { width: 100%; } }
#gform_wrapper_1 .gform_footer { margin-top: 16px !important; }
.l-main .ult-carousel-wrapper, .l-main .ult-carousel-wrapper .slick-list { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* ================= language switcher (header, next to Contact Us) ================= */
.kcr-lang-holder { display: inline-block; min-width: 170px; height: 30px; vertical-align: middle; }
.kcr-lang { position: relative; width: 170px; font: 14px/1.2 Arial, Helvetica, sans-serif; text-align: left; }
.kcr-lang button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 6px; width: 100%; color: #555; }
.kcr-lang img { width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.kcr-lang .kcr-lang-btn, .kcr-lang .kcr-lang-cur { height: 30px; padding: 0 10px 0 7px; background: #fff; border: 1px solid #ccc; }
.kcr-lang-btn span, .kcr-lang-cur span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcr-lang-chev { flex: 0 0 10px; color: #666; transition: transform .2s; }
.kcr-lang-cur .kcr-lang-chev { transform: rotate(180deg); }
.kcr-lang-btn:hover, .kcr-lang-btn:focus-visible { border-color: #999; }
.kcr-lang-pop { position: absolute; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; border: 1px solid #ccc; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.kcr-lang-pop[hidden] { display: none; }
.kcr-lang-list { list-style: none !important; margin: 0 !important; padding: 0 !important; max-height: 126px; overflow-y: auto; }
.kcr-lang-list li { margin: 0 !important; padding: 0 !important; }
.kcr-lang-list li::before { display: none !important; }
.kcr-lang .kcr-lang-list button { height: 21px; padding: 0 7px; color: #333; }
.kcr-lang-list button:hover, .kcr-lang-list button:focus-visible { background: #f0f0f0; color: #89161d; }
.kcr-lang .kcr-lang-cur { border: 0; border-top: 1px solid #ddd; }
/* hide Google Translate's own bar / tooltips, keep the page where it is */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style*="vertical-align"] { vertical-align: baseline !important; }
/* old custom CSS hides every .w-text-value – keep the language switcher visible */
.ush_text_4 .w-text-value { display: inline-block !important; }
.l-subheader-cell.at_right .ush_text_4 { margin-left: 4px; }

/* desktop: menu sits right, translator directly after "Contact Us" (as on the live site) */
@media (min-width: 901px) {
  .l-header .l-subheader.at_middle .l-subheader-cell.at_center { justify-content: flex-end !important; flex-grow: 1 !important; }
  .l-header .l-subheader.at_middle .l-subheader-cell.at_right { flex-grow: 0 !important; padding-left: 6px; }
}
/* phones: compact switcher next to the menu button */
@media (max-width: 900px) {
  .kcr-lang-mobile { display: flex; align-items: center; margin-right: 10px; }
  .kcr-lang-mobile .kcr-lang-holder, .kcr-lang-mobile .kcr-lang { min-width: 0; width: 128px; }
  .kcr-lang-mobile .kcr-lang { font-size: 13px; }
}
.kcr-lang .kcr-lang-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcr-lang.is-busy .kcr-lang-btn { opacity: .6; cursor: progress; }
