/* =========================================================================
   Sundal Medical — Global custom CSS
   Loaded by mu-plugin: sundal-custom-css.php  (enqueued late, overrides theme + Elementor)

   SINGLE SOURCE OF TRUTH for all non-Elementor CSS.
   Do NOT paste CSS into Customizer → Additional CSS anymore. Add it here.
   This file ships with the mu-plugins folder, so it moves to live as a file
   (zip the mu-plugins folder WITH this assets/ subfolder) — no DB migration.
   ========================================================================= */


/* -------------------------------------------------------------------------
   Header — hide theme elements not used on a B2B / RFQ site
   ------------------------------------------------------------------------- */
.top-order         { display: none !important; }  /* "Order Tracking" button */
.menu-product-cart { display: none !important; }  /* Cart icon */


/* -------------------------------------------------------------------------
   Misc legacy helpers
   ------------------------------------------------------------------------- */
.myicon                    { transition: transform 0.3s ease; }
.mycontainer:hover .myicon { transform: scale(1.2) rotate(15deg); }
.span                      { color: #0481BB; }


/* -------------------------------------------------------------------------
   Homepage — carousel pagination position (element 12704c6)
   ------------------------------------------------------------------------- */
.elementor-16479 .elementor-element.elementor-element-12704c6 .swiper-pagination {
    position: absolute !important;
    margin-top: 34px;
}


/* -------------------------------------------------------------------------
   Elementor popup — close button icon
   ------------------------------------------------------------------------- */
.elementor-popup-modal .dialog-close-button svg {
    fill: #1f2124;
    height: 1em;
    width: 1em;
    position: relative;
    top: -10px;
}


/* -------------------------------------------------------------------------
   Shortcode widget spacing (element 35d955b)
   ------------------------------------------------------------------------- */
.elementor-element.elementor-element-35d955b.elementor-widget__width-initial.elementor-widget-tablet__width-initial.elementor-widget.elementor-widget-shortcode {
    padding-top: 20px;
}


/* -------------------------------------------------------------------------
   Header search — narrow the category <select> on smaller screens
   ------------------------------------------------------------------------- */
@media (max-width: 1066px) {
    .sundal-search select { max-width: 120px !important; }
}


/* -------------------------------------------------------------------------
   Trust Strip — column dividers   (NOTE: kept OUTSIDE any media query)
   Desktop = 4 columns in a row · Tablet (<=1080) = 2 columns · Mobile (<=600) = 1 column
   Requires the section's CSS ID to be:  trust-strip
   ------------------------------------------------------------------------- */
#trust-strip { border-bottom: 1px solid #E3EAEF; }
#trust-strip > .e-con-inner { flex-wrap: nowrap; align-items: stretch; }
#trust-strip > .e-con-inner > .e-con { flex: 1 1 0; min-width: 0; padding: 30px 26px; box-sizing: border-box; }
#trust-strip > .e-con-inner > .e-con + .e-con { border-left: 1px solid #E3EAEF !important; }

/* Tablet: 2 columns */
@media (max-width: 1080px) {
  #trust-strip > .e-con-inner { flex-wrap: wrap; }
  #trust-strip > .e-con-inner > .e-con { flex: 1 1 50%; }
  #trust-strip > .e-con-inner > .e-con + .e-con { border-left: none !important; }
  #trust-strip > .e-con-inner > .e-con:nth-child(2n) { border-left: 1px solid #E3EAEF !important; }
  #trust-strip > .e-con-inner > .e-con:nth-child(n+3) { border-top: 1px solid #E3EAEF !important; }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  #trust-strip > .e-con-inner > .e-con { flex: 1 1 100% !important; }
  #trust-strip > .e-con-inner > .e-con:nth-child(n) { border-left: none !important; }
  #trust-strip > .e-con-inner > .e-con + .e-con { border-top: 1px solid #E3EAEF !important; }
}


/* =========================================================================
   CATEGORY / SHOP (Product Archive template 18300)
   ========================================================================= */

/* ---- breadcrumb ---- */
#shop-breadcrumb, #shop-breadcrumb > .e-con-inner { background:#F4F8FB !important; }
#shop-breadcrumb .e-con-inner, #shop-breadcrumb .elementor-element,
#shop-breadcrumb .elementor-widget-container, #shop-breadcrumb .elementor-shortcode,
#shop-breadcrumb nav { background:transparent !important; background-image:none !important; }
#shop-breadcrumb .s-breadcrumb,
#shop-breadcrumb .woocommerce-breadcrumb { display:flex; align-items:center; gap:9px; min-height:52px; font-family:'Ubuntu',sans-serif; font-size:13.5px; color:#5F6E79; margin:0; }
#shop-breadcrumb a { color:#5F6E79; text-decoration:none; }
#shop-breadcrumb a:hover { color:#0481BB; }
#shop-breadcrumb .s-bc-sep { color:#8A9AA6; margin:0 2px; }

/* ---- toolbar ---- */
/* toolbar: result-count + sort on one centered line, exactly 10px top/bottom */
#shop-toolbar { justify-content:space-between !important; align-items:center !important; padding:10px 0 !important; margin:0 !important; }
#shop-toolbar > *, #shop-toolbar .elementor-widget { margin:0 !important; align-self:center !important; }
#shop-toolbar .elementor-widget-container, #shop-toolbar .woocommerce-ordering, #shop-toolbar .woocommerce-result-count { margin:0 !important; padding:0 !important; line-height:1.2; }
/* kill the main container's flex gap (on .e-con-inner for boxed) so the bar sits 10px above the grid */
.e-con-inner:has(> #shop-toolbar) { gap:0 !important; row-gap:0 !important; }
#shop-row { padding-top:0 !important; margin-top:0 !important; }
#shop-loop, #shop-loop > .elementor-widget-container { margin-top:0 !important; padding-top:0 !important; }
/* tighten archive-header bottom gap so the space above the toolbar is ~10px too */
#shop-header, #shop-header > .e-con-inner { padding-bottom:16px !important; }
#shop-toolbar .s-result-count .woocommerce-result-count,
#shop-toolbar .woocommerce-result-count { margin:0; font-family:'Ubuntu',sans-serif; font-size:14px; color:#5F6E79; }
#shop-toolbar .woocommerce-ordering { margin:0; }
#shop-toolbar .woocommerce-ordering select,
#shop-toolbar select.orderby { font-family:'Ubuntu',sans-serif; font-size:13.5px; color:#0E2532; border:1.5px solid #E3EAEF; border-radius:8px; padding:10px 36px 10px 14px; outline:none; cursor:pointer; -webkit-appearance:none; -moz-appearance:none; appearance:none; background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235F6E79' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 13px center; }
#shop-toolbar .woocommerce-ordering select::-ms-expand { display:none; }
/* remove theme's broken FontAwesome-4 arrow (\f107) that renders as a tofu/hex box under FA5 */
#shop-toolbar .woocommerce-ordering:after { content:none !important; display:none !important; }
.s-viewtoggle { display:flex; border:1.5px solid #E3EAEF; border-radius:8px; overflow:hidden; }
.s-viewtoggle button { width:40px; height:40px; border:none; background:#fff; color:#8A9AA6; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.s-viewtoggle button + button { border-left:1px solid #E3EAEF; }
.s-viewtoggle button svg { display:block; }
.s-viewtoggle button.on { background:#EAF3F9; color:#0481BB; }

/* ---- sidebar filter panels ---- */
.s-filters { display:flex; flex-direction:column; gap:18px; }
.s-panel { background:#fff; border:1px solid #E3EAEF; border-radius:12px; box-shadow:0 2px 10px rgba(14,37,50,.05); overflow:hidden; }
.s-panel h3 { display:flex; align-items:center; justify-content:flex-start; margin:0; padding:16px 18px; font-family:'Ubuntu',sans-serif; font-size:14px; font-weight:700; color:#0E2532; border-bottom:1px solid #EDF2F6; cursor:pointer; user-select:none; }
.s-panel h3 .s-dot { width:7px; height:7px; border-radius:50%; background:#0481BB; margin-left:auto; }
/* accordion chevron + collapse (first panel open, others collapsed; click heading toggles) */
.s-panel h3::after { content:""; flex:none; width:8px; height:8px; margin-left:12px; border-right:2px solid #8A9AA6; border-bottom:2px solid #8A9AA6; transform:rotate(-135deg) translateY(2px); transition:transform .25s ease; }
.s-panel.collapsed h3 { border-bottom-color:transparent; }
.s-panel.collapsed h3::after { transform:rotate(45deg) translateY(-2px); }
.s-panel-body { padding:6px 18px 14px; overflow:hidden; max-height:1000px; transition:max-height .3s ease, padding .3s ease, opacity .2s ease; }
.s-panel.collapsed .s-panel-body { max-height:0; padding-top:0; padding-bottom:0; opacity:0; }
.s-panel-body ul { list-style:none; margin:0; padding:0; }
.s-panel-body ul ul.children { padding-left:16px; }
.s-panel-body li { display:flex; align-items:center; gap:10px; padding:8px 0; font-family:'Ubuntu',sans-serif; font-size:14px; color:#243743; border-bottom:1px solid #EDF2F6; }
.s-panel-body li:last-child { border-bottom:none; }
.s-panel-body li:before { content:""; width:17px; height:17px; border:1.6px solid #C4D2DC; border-radius:4px; flex:none; transition:.15s; }
.s-panel-body li:hover:before { border-color:#0481BB; }
.s-panel-body li.chosen:before,
.s-panel-body li.woocommerce-widget-layered-nav-list__item--chosen:before { background:#0481BB; border-color:#0481BB; }
.s-panel-body li a { color:#243743; text-decoration:none; flex:1; }
.s-panel-body li a:hover { color:#0481BB; }
.s-panel-body li .count { margin-left:auto; font-size:12px; color:#8A9AA6; background:#F4F8FB; padding:1px 9px; border-radius:100px; }
/* hierarchical category children wrap onto their own line below the parent */
.s-panel-body li { flex-wrap:wrap; }
.s-panel-body ul.children { flex:0 0 100%; width:100%; padding-left:0; margin-top:8px; }
.s-panel-body ul.children li:last-child { border-bottom:none; }

/* ---- attribute filters: custom AJAX checkboxes (aligned, with checkmark) ---- */
.s-flist { list-style:none; margin:0; padding:0; }
.s-flist .s-filter { display:flex; align-items:center; gap:10px; padding:8px 0; font-family:'Ubuntu',sans-serif; font-size:14px; color:#243743; border-bottom:1px solid #EDF2F6; cursor:pointer; user-select:none; }
.s-flist .s-filter:last-child { border-bottom:none; }
.s-flist .s-filter:before { content:none !important; display:none !important; } /* neutralise inherited pseudo-checkbox */
.s-flist .s-filter:hover { color:#0481BB; }
.s-flist .s-check { width:18px; height:18px; flex:none; border:1.6px solid #C4D2DC; border-radius:4px; background:#fff; position:relative; transition:.15s; }
.s-flist .s-filter:hover .s-check { border-color:#0481BB; }
.s-flist .s-filter.is-checked .s-check { background:#0481BB; border-color:#0481BB; }
.s-flist .s-filter.is-checked .s-check:after { content:""; position:absolute; left:5px; top:1.5px; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.s-flist .s-name { flex:1; }
.s-flist .s-filter.is-checked .s-name { color:#0481BB; font-weight:500; }
.s-flist .count { margin-left:auto; font-size:12px; color:#8A9AA6; background:#F4F8FB; padding:1px 9px; border-radius:100px; }

/* ---- clear-all-filters button (shows only when a filter is active) ---- */
.s-clear[hidden] { display:none !important; }
.s-clear-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; background:#fff; color:#0481BB; border:1px solid #BFE0F3; font-family:'Ubuntu',sans-serif; font-weight:600; font-size:13px; letter-spacing:.2px; padding:10px 14px; border-radius:8px; cursor:pointer; transition:.15s; }
.s-clear-btn:hover { background:#EAF3F9; border-color:#0481BB; }
.s-clear-x { font-size:17px; line-height:1; font-weight:700; margin-top:-1px; }

/* ---- sidebar custom-quote CTA ---- */
.s-cta { background:linear-gradient(140deg,#045E86,#0481BB); color:#fff; border-radius:12px; padding:22px 20px; text-align:center; }
.s-cta h4 { margin:0 0 6px; font-family:'Ubuntu',sans-serif; font-size:16px; color:#fff; }
.s-cta p { margin:0 0 16px; font-size:13px; color:rgba(255,255,255,.85); }
.s-cta-btn { display:block; background:#fff; color:#045E86; font-family:'Ubuntu',sans-serif; font-weight:700; font-size:12px; letter-spacing:.5px; text-transform:uppercase; padding:11px 14px; border-radius:8px; text-decoration:none; transition:.2s; }
.s-cta-btn:hover { background:#EAF4FA; }

/* ---- loop grid gap + pagination ---- */
#shop-loop .elementor-grid { gap:22px; }
#shop-loop .elementor-pagination { display:flex; justify-content:center; gap:8px; margin-top:40px; }
#shop-loop .elementor-pagination .page-numbers { min-width:42px; height:42px; padding:0 12px; display:flex; align-items:center; justify-content:center; border:1px solid #E3EAEF; border-radius:8px; color:#0E2532; font-family:'Ubuntu',sans-serif; font-weight:500; font-size:14px; background:#fff; text-decoration:none; }
#shop-loop .elementor-pagination .page-numbers:hover { border-color:#0481BB; color:#0481BB; }
#shop-loop .elementor-pagination .page-numbers.current { background:#0481BB; border-color:#0481BB; color:#fff; }
#shop-loop .elementor-pagination .page-numbers.dots { border:none; background:none; }

/* product card — favourite heart: center the icon inside its round chip */
.elementor-18444 .elementor-widget-icon .elementor-icon { display:flex !important; align-items:center !important; justify-content:center !important; line-height:0 !important; }
/* wishlist heart: clickable, fills red when saved */
.elementor-18444 .elementor-widget-icon { cursor:pointer; }
.elementor-18444 .elementor-widget-icon .elementor-icon i { transition:color .15s ease; }
.elementor-18444 .elementor-widget-icon.is-wished .elementor-icon { border-color:#f3b6c2 !important; background:#fff5f7 !important; }
.elementor-18444 .elementor-widget-icon.is-wished .elementor-icon i { font-weight:900 !important; color:#e4405f !important; }
.elementor-18444 .elementor-widget-icon.is-wished .elementor-icon svg { fill:#e4405f !important; }

/* wishlist page */
#wishlist-loop .elementor-grid { gap:22px; }
#wishlist-empty { display:none; }
#wishlist-empty .sw-empty-in { text-align:center; padding:50px 20px; }
#wishlist-empty .sw-empty-ic { font-size:54px; line-height:1; color:#BFE0F3; margin-bottom:14px; }
#wishlist-empty h3 { font-family:'Ubuntu',sans-serif; color:#0E2532; font-size:20px; margin:0 0 8px; }
#wishlist-empty p { color:#5F6E79; margin:0 0 22px; font-family:'Ubuntu',sans-serif; }
#wishlist-empty .sw-empty-btn { display:inline-block; background:#0481BB; color:#fff; font-family:'Ubuntu',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.5px; padding:13px 26px; border-radius:8px; text-decoration:none; transition:.2s; }
#wishlist-empty .sw-empty-btn:hover { background:#045E86; }

/* wishlist heart + live count in the shop/category archive header (top-right) */
#shop-header > .e-con-inner { position:relative; }
.sw-hwl { position:absolute; top:4px; right:0; z-index:3; display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%; background:#fff; border:1px solid #E3EAEF; color:#0E2532; box-shadow:0 3px 12px rgba(14,37,50,.07); transition:color .2s, border-color .2s, transform .2s; }
.sw-hwl:hover { color:#e4405f; border-color:#f3b6c2; transform:translateY(-1px); }
.sw-hwl-count { display:none; position:absolute; top:-5px; right:-5px; min-width:20px; height:20px; padding:0 5px; box-sizing:border-box; border-radius:100px; background:#e4405f; color:#fff; font-family:'Ubuntu',sans-serif; font-size:11px; font-weight:700; line-height:1; align-items:center; justify-content:center; border:2px solid #fff; }
.sw-hwl.has-items .sw-hwl-count { display:inline-flex; }
@media (max-width:600px){ .sw-hwl { width:42px; height:42px; top:0; } }

/* =========================================================================
   Request-a-Quote page (/get-a-quote/) — body content only, fully scoped
   under #sundal-rfq so it never collides with the theme / Elementor header
   & footer that wrap it. Renders via the [sundal_quote] shortcode.
   ========================================================================= */
#sundal-rfq{
  --blue:#0481BB; --blue-deep:#045E86; --blue-light:#0E95D4;
  --navy:#0E2532; --ink:#243743; --gray:#5F6E79; --muted:#8A9AA6;
  --line:#E3EAEF; --line-soft:#EDF2F6;
  --bg:#F4F8FB; --tint:#EAF3F9; --tint-2:#F0F6FB;
  --radius:12px; --radius-sm:8px;
  --shadow:0 2px 10px rgba(14,37,50,.05); --shadow-md:0 8px 24px rgba(14,37,50,.08);
  --instrument:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%239DB6C6' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='34' cy='76' r='9'/%3E%3Ccircle cx='66' cy='76' r='9'/%3E%3Cpath d='M41 69 L71 20'/%3E%3Cpath d='M59 69 L29 20'/%3E%3C/g%3E%3Ccircle cx='50' cy='49' r='2.6' fill='%239DB6C6'/%3E%3C/svg%3E");
  font-family:'Ubuntu',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink); font-size:15px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
#sundal-rfq *{box-sizing:border-box}
#sundal-rfq a{color:inherit;text-decoration:none}
/* force the approved Ubuntu family (site uses Ubuntu for headings; raw tags would fall back to the theme font) */
#sundal-rfq, #sundal-rfq h1, #sundal-rfq h2, #sundal-rfq h3, #sundal-rfq h4, #sundal-rfq h5, #sundal-rfq h6, #sundal-rfq p, #sundal-rfq a, #sundal-rfq span, #sundal-rfq b, #sundal-rfq label, #sundal-rfq input, #sundal-rfq select, #sundal-rfq textarea, #sundal-rfq button, #sundal-rfq li, #sundal-rfq small{font-family:'Ubuntu',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important}
#sundal-rfq .rfq-ic{flex:none;display:inline-flex;align-items:center;color:var(--blue)}
#sundal-rfq .wrap{max-width:1280px;margin:0 auto;padding:0 24px}
#sundal-rfq .mono-eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--blue)}

/* buttons */
#sundal-rfq .btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:13px;letter-spacing:.7px;text-transform:uppercase;padding:13px 24px;border-radius:var(--radius-sm);border:2px solid transparent;cursor:pointer;transition:.2s;white-space:nowrap;text-decoration:none}
#sundal-rfq .btn svg{width:16px;height:16px}
#sundal-rfq .btn-primary{background:var(--blue);color:#fff}
#sundal-rfq .btn-primary:hover{background:var(--blue-deep);color:#fff}
#sundal-rfq .btn-outline{background:transparent;border-color:var(--line);color:var(--navy)}
#sundal-rfq .btn-outline:hover{border-color:var(--blue);color:var(--blue)}
#sundal-rfq .btn-block{width:100%;justify-content:center}

/* breadcrumb + hero bands: block-level, fill the full-width page body (no 100vw → no scrollbar overflow) */
#sundal-rfq .crumbs,#sundal-rfq .arch-head{width:auto}
#sundal-rfq .crumbs{background:var(--bg);border-bottom:1px solid var(--line)}
#sundal-rfq .crumbs .wrap{display:flex;align-items:center;gap:9px;height:52px;font-size:13.5px;color:var(--gray)}
#sundal-rfq .crumbs a:hover{color:var(--blue)}
#sundal-rfq .crumbs .sep{color:var(--muted)}
#sundal-rfq .crumbs .cur{color:var(--navy);font-weight:500}
#sundal-rfq .arch-head{background:linear-gradient(120deg,var(--tint) 0%,var(--tint-2) 60%,#fff 100%);border-bottom:1px solid var(--line)}
#sundal-rfq .arch-head .wrap{padding:34px 24px 28px}
#sundal-rfq .arch-head .mono-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:12px}
#sundal-rfq .arch-head .mono-eyebrow:before{content:"";width:26px;height:2px;background:var(--blue)}
#sundal-rfq .arch-head h1{margin:0;font-size:38px;line-height:1.15;color:var(--navy);font-weight:700}
#sundal-rfq .arch-head p{margin:12px 0 0;max-width:660px;color:var(--gray);font-size:15.5px}
#sundal-rfq .arch-head .stat{margin-top:18px;display:inline-flex;gap:8px;align-items:center;font-size:14px;color:var(--navy);background:#fff;border:1px solid var(--line);padding:7px 16px;border-radius:100px;font-weight:500}
#sundal-rfq .arch-head .stat b{color:var(--blue)}
#sundal-rfq .arch-head .stat svg{width:16px;height:16px;color:var(--blue)}

/* certification badges */
#sundal-rfq .badges{display:flex;gap:12px;flex-wrap:wrap}
#sundal-rfq .badges .b{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 14px;font-size:12.5px;font-weight:500;color:var(--navy)}
#sundal-rfq .badges .b i{width:26px;height:26px;border-radius:50%;background:var(--tint);color:var(--blue);display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:700;font-size:11px}

/* two-column RFQ body */
#sundal-rfq .quote{display:grid;grid-template-columns:1fr 372px;gap:34px;padding:26px 0 20px;align-items:start}
#sundal-rfq .q-main{display:flex;flex-direction:column;gap:22px;min-width:0}
#sundal-rfq .q-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
#sundal-rfq .q-phead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line-soft)}
#sundal-rfq .q-phead h3{margin:0;font-size:15px;font-weight:700;color:var(--navy);display:flex;align-items:center;gap:9px}
#sundal-rfq .q-phead h3 .c{background:var(--tint);color:var(--blue);font-size:12px;font-weight:700;padding:2px 10px;border-radius:100px}
#sundal-rfq .q-phead .link{font-size:12.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);cursor:pointer;background:none;border:none;font-family:inherit}
#sundal-rfq .q-phead .link:hover{color:var(--blue)}
#sundal-rfq .q-item{display:grid;grid-template-columns:78px 1fr auto;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line-soft);align-items:start}
#sundal-rfq .q-item:last-child{border-bottom:none}
#sundal-rfq .q-item .thumb{width:78px;height:78px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--tint-2) var(--instrument) center/58% no-repeat}
#sundal-rfq .q-item .qi-spec{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);font-weight:500}
#sundal-rfq .q-item .qi-name{margin:3px 0 4px;font-size:15.5px;font-weight:700;color:var(--navy);line-height:1.3}
#sundal-rfq .q-item .qi-name a:hover{color:var(--blue)}
#sundal-rfq .q-item .qi-sku{font-size:12.5px;color:var(--gray)}
#sundal-rfq .q-opts{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
#sundal-rfq .q-opts select{font-family:inherit;font-size:12.5px;color:var(--navy);border:1.5px solid var(--line);border-radius:var(--radius-sm);padding:8px 12px;background:#fff;outline:none;cursor:pointer}
#sundal-rfq .qi-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
#sundal-rfq .qi-qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}
#sundal-rfq .qi-qty button{width:34px;height:38px;border:none;background:#F6F9FB;color:var(--navy);font-size:17px;cursor:pointer;display:flex;align-items:center;justify-content:center}
#sundal-rfq .qi-qty button:hover{background:var(--tint);color:var(--blue)}
#sundal-rfq .qi-qty input{width:46px;height:38px;text-align:center;border:none;border-left:1.5px solid var(--line);border-right:1.5px solid var(--line);font-family:inherit;font-size:14px;font-weight:700;color:var(--navy);outline:none}
#sundal-rfq .qi-remove{display:flex;align-items:center;gap:6px;background:none;border:none;font-family:inherit;font-size:12.5px;color:var(--muted);cursor:pointer;padding:0}
#sundal-rfq .qi-remove:hover{color:#D64545}
#sundal-rfq .qi-remove svg{width:12px;height:12px}
#sundal-rfq .q-empty{padding:48px 24px;text-align:center}
#sundal-rfq .q-empty .ic{width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:var(--tint);color:var(--blue);display:flex;align-items:center;justify-content:center}
#sundal-rfq .q-empty .ic svg{width:30px;height:30px}
#sundal-rfq .q-empty h4{margin:0 0 6px;font-size:18px;color:var(--navy)}
#sundal-rfq .q-empty p{margin:0 0 18px;color:var(--gray);font-size:14px}

/* buyer form */
#sundal-rfq .q-form{padding:20px}
#sundal-rfq .q-note{display:flex;align-items:flex-start;gap:9px;background:var(--bg);border:1px solid var(--line-soft);border-radius:var(--radius-sm);padding:12px 14px;font-size:12.5px;color:var(--gray);margin:0 0 20px}
#sundal-rfq .q-note svg{width:15px;height:15px;flex:none;margin-top:1px;color:var(--blue)}
#sundal-rfq .q-grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#sundal-rfq .q-field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
#sundal-rfq .q-field label{font-size:12.5px;font-weight:700;color:var(--navy);letter-spacing:.3px}
#sundal-rfq .q-field label .req{color:#D64545}
#sundal-rfq .q-field input,#sundal-rfq .q-field select,#sundal-rfq .q-field textarea{font-family:inherit;font-size:14px;color:var(--ink);border:1.5px solid var(--line);border-radius:var(--radius-sm);padding:12px 14px;background:#fff;outline:none;transition:.15s;width:100%}
#sundal-rfq .q-field input:focus,#sundal-rfq .q-field select:focus,#sundal-rfq .q-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(4,129,187,.12)}
#sundal-rfq .q-field textarea{resize:vertical;min-height:104px}
#sundal-rfq .q-check{display:flex;align-items:flex-start;gap:11px;font-size:13.5px;color:var(--ink);cursor:pointer;margin-top:4px}
#sundal-rfq .q-check input{width:18px;height:18px;margin-top:1px;accent-color:var(--blue);flex:none}

/* sticky summary rail */
#sundal-rfq .q-side{position:sticky;top:18px;display:flex;flex-direction:column;gap:16px}
#sundal-rfq .q-sum{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-md);overflow:hidden}
#sundal-rfq .q-sum-head{background:linear-gradient(140deg,var(--blue-deep),var(--blue));color:#fff;padding:20px}
#sundal-rfq .q-sum-head h4{margin:0 0 2px;font-size:17px;color:#fff}
#sundal-rfq .q-sum-head p{margin:0;font-size:12.5px;color:rgba(255,255,255,.85)}
#sundal-rfq .q-sum-body{padding:18px 20px}
#sundal-rfq .q-row{display:flex;align-items:center;justify-content:space-between;font-size:14px;padding:9px 0;border-bottom:1px solid var(--line-soft)}
#sundal-rfq .q-row:last-of-type{border-bottom:none}
#sundal-rfq .q-row span{color:var(--gray)}
#sundal-rfq .q-row b{color:var(--navy)}
#sundal-rfq .q-sum .btn-block{margin-top:14px;padding:15px}
#sundal-rfq .q-reassure{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px;font-size:12px;color:var(--gray)}
#sundal-rfq .q-reassure .dot{width:7px;height:7px;border-radius:50%;background:#4FB477}
#sundal-rfq .q-steps{list-style:none;margin:0;padding:0;counter-reset:s}
#sundal-rfq .q-steps li{position:relative;padding:0 0 16px 40px;counter-increment:s;font-size:13px;color:var(--gray);line-height:1.5}
#sundal-rfq .q-steps li:last-child{padding-bottom:0}
#sundal-rfq .q-steps li:before{content:counter(s);position:absolute;left:0;top:-2px;width:26px;height:26px;border-radius:50%;background:var(--tint);color:var(--blue);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
#sundal-rfq .q-steps li:not(:last-child):after{content:"";position:absolute;left:12.5px;top:26px;bottom:2px;width:1.5px;background:var(--line)}
#sundal-rfq .q-steps li b{display:block;color:var(--navy);font-size:13.5px;margin-bottom:1px}
#sundal-rfq .q-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}
#sundal-rfq .q-card>h5{margin:0 0 14px;font-size:13px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--navy)}
#sundal-rfq .q-alt{display:flex;flex-direction:column;gap:10px}
#sundal-rfq .q-alt a{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:11px 14px;font-size:13.5px;color:var(--navy);font-weight:500;transition:.15s}
#sundal-rfq .q-alt a:hover{border-color:var(--blue);color:var(--blue);background:var(--tint-2)}
#sundal-rfq .q-alt a .em{width:20px;height:20px;flex:none;color:var(--blue)}
#sundal-rfq .q-alt a:hover .em{color:var(--blue)}
#sundal-rfq .q-alt a small{display:block;font-size:11px;color:var(--muted);font-weight:400}
#sundal-rfq .q-card .badges{margin:0}

/* thank-you state */
#sundal-rfq #quote-thanks{display:none}
#sundal-rfq .thanks{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:52px 40px;text-align:center;max-width:720px;margin:14px auto 40px}
#sundal-rfq .thanks .tick-lg{width:76px;height:76px;margin:0 auto 22px;border-radius:50%;background:#E9F6EE;color:#3C9A5B;display:flex;align-items:center;justify-content:center}
#sundal-rfq .thanks .tick-lg svg{width:38px;height:38px}
#sundal-rfq .thanks h2{margin:0 0 10px;font-size:28px;color:var(--navy)}
#sundal-rfq .thanks p{margin:0 auto 8px;max-width:520px;color:var(--gray);font-size:15px;line-height:1.7}
#sundal-rfq .thanks .ref{display:inline-block;margin:16px 0 24px;background:var(--bg);border:1px solid var(--line);border-radius:100px;padding:8px 18px;font-size:13.5px;color:var(--navy)}
#sundal-rfq .thanks .ref b{color:var(--blue)}
#sundal-rfq .thanks .tbtns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:8px}

/* responsive */
@media(max-width:980px){
  #sundal-rfq .quote{grid-template-columns:1fr;gap:24px}
  #sundal-rfq .q-side{position:static;order:-1}
  /* Submit button pinned to the bottom of the screen (mobile/tablet only) */
  #sundal-rfq .q-sum .btn-block{position:fixed;left:0;right:0;bottom:0;width:100%;border-radius:0;padding:16px;z-index:9990;box-shadow:0 -4px 16px rgba(14,37,50,.16);margin-top:0}
  #sundal-rfq{padding-bottom:78px}
}
@media(max-width:600px){
  #sundal-rfq .arch-head h1{font-size:29px}
  #sundal-rfq .q-item{grid-template-columns:64px 1fr;gap:14px;padding-right:20px}
  #sundal-rfq .q-item .thumb{width:64px;height:64px}
  #sundal-rfq .qi-right{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;margin-top:4px}
  #sundal-rfq .q-grid2{grid-template-columns:1fr}
  #sundal-rfq .thanks{padding:40px 22px}
}
.elementor-18444 .elementor-widget-icon .elementor-icon svg,
.elementor-18444 .elementor-widget-icon .elementor-icon i { width:13px !important; height:13px !important; font-size:13px !important; margin:0 !important; }

/* product card material chip: kill the inner (link) border/bg so only the outer chip shows */
.elementor-18444 .elementor-widget-heading .elementor-heading-title a { border:none !important; background:none !important; padding:0 !important; }

/* card attribute labels (type / specialty / material) are informational, not navigation.
   Post-terms renders them as term-archive links (?taxonomy=pa_…) which redirect home
   because attribute archives are disabled — so make them non-clickable text.
   (Title link + buttons keep working; only these attribute links are disabled.) */
.elementor-18444 a[href*="taxonomy=pa_"], .elementor-18444 a[href*="?taxonomy="] { pointer-events: none; cursor: default; }

/* product card: reveal the action buttons (Get a Quote / Details) on hover, like the theme cards.
   Space is reserved so the card height doesn't jump. Hover-capable (desktop) only —
   on touch/mobile the buttons stay visible since there is no hover. */
@media (hover: hover) and (pointer: fine) {
  /* card compact by default; on hover it expands downward as an overlay panel that
     reveals the action buttons — like the theme cards, no reserved space, no row reflow.
     Structure: card root > [ media(:first-child), body(:last-child) > …widgets…, actions(.e-con) ] */
  /* GRID view only — in list view the buttons stay in-flow and always visible */
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item > .e-con { overflow: visible !important; position: relative; }
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item > .e-con > .e-con:first-child { border-radius: 12px 12px 0 0; overflow: hidden; } /* media keeps rounded top */
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item > .e-con > .e-con:last-child { padding-top: 18px !important; padding-bottom: 18px !important; } /* balanced body padding */
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item > .e-con > .e-con:last-child > *:nth-last-child(2) { margin-bottom: 0 !important; } /* chip: drop extra bottom gap */

  /* actions -> absolute reveal panel anchored to the card bottom */
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item > .e-con > .e-con:last-child > .e-con {
    position: absolute; left: 0; right: 0; top: calc(100% - 1px); margin: 0;
    background: #fff; border: 1px solid #CFE4F1; border-top: none; border-radius: 0 0 12px 12px;
    padding: 2px 18px 18px; box-shadow: 0 20px 30px rgba(14,37,50,.12); z-index: 6;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item:hover { z-index: 10; }
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item:hover > .e-con { border-color: #CFE4F1 !important; border-bottom-color: transparent !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .elementor-widget-loop-grid:not(.is-list) .e-loop-item:hover > .e-con > .e-con:last-child > .e-con {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}

/* =========================================================================
   PRODUCT CARDS SITE-WIDE — theme loops ([recent_products], related products, up-sells…)
   render the same Elementor loop-item card (18444) via content-product.php override.
   Reset the theme <li> wrapper and apply the same grid hover-expand as the shop page.
   (Shop/category use #shop-loop / .elementor-loop-container, not ul.products, so untouched.)
   ========================================================================= */
ul.products li.product.sundal-card-li {
  list-style: none; padding: 0 !important; border: none !important; box-shadow: none !important;
  background: none !important; text-align: left !important; overflow: visible !important;
}
ul.products li.product.sundal-card-li::before,
ul.products li.product.sundal-card-li::after { display: none !important; content: none !important; }
ul.products li.product.sundal-card-li > .elementor-18444 { height: 100%; }

@media (hover: hover) and (pointer: fine) {
  ul.products .e-loop-item.elementor-18444 > .e-con { overflow: visible !important; position: relative; }
  ul.products .e-loop-item.elementor-18444 > .e-con > .e-con:first-child { border-radius: 12px 12px 0 0; overflow: hidden; }
  ul.products .e-loop-item.elementor-18444 > .e-con > .e-con:last-child { padding-top: 18px !important; padding-bottom: 18px !important; }
  ul.products .e-loop-item.elementor-18444 > .e-con > .e-con:last-child > *:nth-last-child(2) { margin-bottom: 0 !important; }
  ul.products .e-loop-item.elementor-18444 > .e-con > .e-con:last-child > .e-con {
    position: absolute; left: 0; right: 0; top: calc(100% - 1px); margin: 0;
    background: #fff; border: 1px solid #CFE4F1; border-top: none; border-radius: 0 0 12px 12px;
    padding: 2px 18px 18px; box-shadow: 0 20px 30px rgba(14,37,50,.12); z-index: 6;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  ul.products .e-loop-item.elementor-18444:hover { z-index: 10; }
  ul.products .e-loop-item.elementor-18444:hover > .e-con { border-color: #CFE4F1 !important; border-bottom-color: transparent !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  ul.products .e-loop-item.elementor-18444:hover > .e-con > .e-con:last-child > .e-con {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}

/* ---- AJAX loader over the grid while filtering ---- */
#shop-loop { position:relative; }
#shop-loop.is-loading .elementor-loop-container { opacity:.45; pointer-events:none; transition:opacity .15s; }
#shop-loop.is-loading:after { content:""; position:absolute; left:50%; top:90px; width:44px; height:44px; margin-left:-22px; border:4px solid #E3EAEF; border-top-color:#0481BB; border-radius:50%; animation:sundal-spin .7s linear infinite; z-index:5; }
@keyframes sundal-spin { to { transform:rotate(360deg); } }
.s-no-results { grid-column:1/-1; padding:48px 20px; text-align:center; font-family:'Ubuntu',sans-serif; font-size:15px; color:#5F6E79; background:#F8FAFC; border:1px dashed #D6E1EA; border-radius:12px; }

/* ---- LIST VIEW (toggle adds .is-list to #shop-loop) ---- */
#shop-loop.is-list .elementor-grid { display:block !important; }
#shop-loop.is-list .e-loop-item { width:100% !important; max-width:100% !important; margin:0 0 16px !important; }
#shop-loop.is-list .e-loop-item > .e-con { width:100% !important; flex-direction:row !important; align-items:stretch !important; flex-wrap:nowrap !important; }
#shop-loop.is-list .e-loop-item > .e-con > .e-con:first-child { flex:0 0 250px !important; width:250px !important; max-width:250px !important; border-right:1px solid #EDF2F6; }
#shop-loop.is-list .e-loop-item > .e-con > .e-con:last-child { flex:1 1 auto !important; width:auto !important; min-width:0 !important; justify-content:center; }
#shop-loop.is-list .e-loop-item .elementor-widget-image img { height:180px !important; }
@media (max-width: 640px) {
  #shop-loop.is-list .e-loop-item > .e-con { flex-direction:column !important; }
  #shop-loop.is-list .e-loop-item > .e-con > .e-con:first-child { flex:none !important; width:100% !important; max-width:none !important; border-right:none; }
}

/* ---- desktop: sticky left filter sidebar (below the sticky header) ---- */
@media (min-width: 901px) {
  /* the theme makes <body> a scroll container (overflow:hidden auto), which breaks position:sticky.
     On the shop/category template let the document scroll normally so the sidebar can stick. */
  body.elementor-page-18300 { overflow: visible !important; }
  #shop-sidebar {
    position: sticky;
    top: calc(var(--sundal-sticky-top, 0px) + 16px);
    align-self: flex-start;
    max-height: calc(100vh - var(--sundal-sticky-top, 0px) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #shop-sidebar::-webkit-scrollbar { width: 6px; }
  #shop-sidebar::-webkit-scrollbar-thumb { background: #D6E1EA; border-radius: 6px; }
}

/* ---- responsive: sidebar stacks on tablet/mobile ---- */
@media (max-width: 900px) {
  #shop-row { flex-wrap:wrap !important; }
  #shop-sidebar { width:100% !important; }
}
@media (max-width: 600px) {
  #shop-row, #shop-sidebar, #shop-loop, #shop-loop .elementor-grid { max-width:100%; min-width:0; }
  #shop-loop .elementor-grid { gap:16px; }
  #shop-loop .e-loop-item, #shop-loop .elementor-loop-container > * { max-width:100%; min-width:0; }
}


/* =========================================================================
   MOBILE FILTER DRAWER  (<= 767px only — desktop layout untouched)
   ========================================================================= */
/* injected chrome stays hidden on desktop */
.s-mbar, .s-drawer-overlay, .s-drawer-head, .s-drawer-foot { display:none; }

@media (max-width: 900px) {
  /* contain the site-wide horizontal overflow so the layout viewport = device width
     (a fixed drawer sizes to the layout viewport — overflow was making it wider than the screen) */
  html, body { overflow-x: clip !important; max-width: 100vw !important; }

  /* hide grid/list toggle on mobile */
  .s-viewtoggle { display:none !important; }

  /* --- sticky filter bar: "Filters" button + scrollable chips --- */
  .s-mbar { display:flex; align-items:center; gap:10px; position:sticky; z-index:45;
    width:100% !important; max-width:100% !important; box-sizing:border-box; min-width:0;
    background:#fff; border-top:1px solid #EDF2F6; border-bottom:1px solid #E3EAEF;
    padding:10px 12px; margin:4px 0; border-radius:10px; border:1px solid #E3EAEF; }
  .s-mbar-filters { flex:none; display:inline-flex; align-items:center; gap:7px; background:#0481BB; color:#fff;
    border:none; font-family:'Ubuntu',sans-serif; font-weight:700; font-size:13px; letter-spacing:.3px;
    padding:9px 15px; border-radius:8px; cursor:pointer; }
  .s-mchips { display:flex; gap:8px; flex:1 1 auto; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .s-mchips::-webkit-scrollbar { display:none; }
  .s-mchip { flex:none; background:#fff; border:1px solid #D6E1EA; color:#243743; font-family:'Ubuntu',sans-serif;
    font-size:12.5px; padding:8px 14px; border-radius:100px; white-space:nowrap; cursor:pointer; }
  .s-mchip:active { background:#EAF3F9; border-color:#0481BB; }

  /* --- the sidebar becomes a bottom-sheet drawer --- */
  #shop-sidebar { position:fixed !important; left:0; right:auto; bottom:0; top:auto !important; z-index:999999;
    width:100vw !important; max-width:100vw !important; height:86vh; max-height:86vh; margin:0 !important; padding:0 !important; background:#fff;
    border-radius:18px 18px 0 0; box-shadow:0 -12px 44px rgba(14,37,50,.22);
    transform:translateY(101%); transition:transform .32s cubic-bezier(.4,0,.2,1);
    display:flex !important; flex-direction:column !important; flex-wrap:nowrap !important; align-items:stretch !important; gap:0 !important; overflow:hidden; }
  #shop-sidebar > *, #shop-sidebar .s-drawer-head, #shop-sidebar .s-drawer-foot, #shop-sidebar .s-filters { box-sizing:border-box !important; }
  #shop-sidebar > * { width:100% !important; max-width:100% !important; flex:none; }
  #shop-sidebar .s-filters-wrap { flex:1 1 auto !important; }
  body.s-drawer-open #shop-sidebar { transform:translateY(0); }

  .s-drawer-overlay { display:block; position:fixed; inset:0; background:rgba(14,37,50,.5); z-index:999998;
    opacity:0; visibility:hidden; transition:opacity .3s, visibility .3s; }
  body.s-drawer-open .s-drawer-overlay { opacity:1; visibility:visible; }
  body.s-drawer-open { overflow:hidden; }

  .s-drawer-head { display:flex; align-items:center; justify-content:space-between; flex:none;
    padding:16px; border-bottom:1px solid #EDF2F6; font-family:'Ubuntu',sans-serif; font-weight:700;
    font-size:17px; color:#0E2532; }
  .s-drawer-close { display:flex !important; align-items:center; justify-content:center; width:36px; height:36px; flex:none;
    background:#F4F8FB !important; border:1px solid #E3EAEF !important; border-radius:50%; color:#0E2532 !important; cursor:pointer; padding:0 !important; }
  .s-drawer-close svg { display:block; }

  #shop-sidebar .s-filters-wrap { flex:1 1 auto; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; }
  #shop-sidebar .s-filters { padding:14px 16px 8px; margin:0; gap:16px; }
  /* top "Clear all filters" shows at the top of the drawer when a filter is active
     (JS toggles the [hidden] attr, so it stays out until then) */
  #shop-sidebar .s-clear { display:block; margin:0 0 14px; }

  .s-drawer-foot { display:flex; flex:none; gap:12px; padding:14px 16px calc(14px + env(safe-area-inset-bottom));
    border-top:1px solid #EDF2F6; background:#fff; }
  .s-drawer-clear { flex:1; background:#fff; border:1px solid #D6E1EA; color:#243743; font-family:'Ubuntu',sans-serif;
    font-weight:600; font-size:14px; padding:13px; border-radius:9px; cursor:pointer; }
  .s-drawer-show { flex:2; background:#0481BB; border:none; color:#fff; font-family:'Ubuntu',sans-serif;
    font-weight:700; font-size:14px; padding:13px; border-radius:9px; cursor:pointer; }

  /* hide the floating back-to-top icon while the drawer is open (it overlapped the footer buttons) */
  body.s-drawer-open .elementor-widget-icon:has(a[href="#top"]) { display:none !important; }
}
