/* Small additions on top of the Wix layout CSS (which is kept unchanged in /assets/css/). */

/* Mobile menu: hidden until the hamburger button is pressed */
.hamburger-menu[role="dialog"][hidden] { display: none !important; }
.hamburger-menu[role="dialog"] { animation: wd-fade .25s ease-out; }
html.wd-menu-open, html.wd-menu-open body { overflow: hidden; }
@keyframes wd-fade { from { opacity: 0; } to { opacity: 1; } }

/* Industry dropdown: the native select only carries the value */
.wd-native-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: 0; bottom: 0; }
[data-field-type="DROPDOWN"] { position: relative; }
[data-hook="dropdown-content-options-container"] { max-height: 260px; overflow-y: auto; }
[data-hook="dropdown-content"] { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
[data-hook="dropdown-content-option"] { padding: 9px 12px; font: inherit; }

/* Spam trap field */
.wd-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }

/* After sending: same message as on Wix */
.wd-thanks { display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; font-size: clamp(25px, 3.5vw, 35px); font-weight: 700; line-height: 1.25; color: inherit; text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 0.06em; }
.wd-thanks p { margin: 0; }
/* after sending: the box turns yellow (the site's yellow) with a small black dotted line around it */
.sN4uTVR.wd-sent { outline: 2px dotted #000; outline-offset: -2px; background-color: #fffa63 !important; }
.wd-error { color: #df3131; font-size: 14px; margin: 10px 0 0; }

/* Blog */
[data-hook="like-button"].wd-liked svg path { fill: #e0263b; }
.wd-toast { position: absolute; z-index: 10000; background: #222; color: #fff; padding: 6px 10px; border-radius: 4px; font: 13px/1.3 Arial, sans-serif; pointer-events: none; }

/* Mobile blog category picker */
.wd-cat-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; margin: 4px 0 0; padding: 6px 0; list-style: none; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); font: 16px/1.4 'space grotesk', Arial, sans-serif; }
.wd-cat-list a { display: block; padding: 10px 18px; color: #231a1d; text-decoration: none; }
.wd-cat-list [aria-selected="true"] a { font-weight: 700; }

/* Author name/avatar on posts linked to Wix member profiles, which don't exist anymore */
.IkAhjA, .IkAhjA *, [data-hook="avatar-image"], [data-hook="user-avatar"] { cursor: default !important; }

/* Blog image viewer */
.wd-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.wd-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: default; }
.wd-lightbox-close { position: absolute; top: 12px; right: 18px; font: 36px/1 Arial, sans-serif; background: none; border: 0; cursor: pointer; color: #222; }

/* Home, Industry Insights: the green bar on the left stays in its place (same distance to the left
   edge as the bar above) and runs the full height of the black box */
#comp-mv9avk46 { align-self: stretch !important; height: auto !important; min-height: 0 !important; }
#comp-mv9avk46 > #comp-mv9avk62 { height: 100% !important; min-height: 100% !important; }
/* …and the article titles: no extra underlined stub line between them */
html[data-layout="desktop"] #comp-mv997b43 p { white-space: nowrap !important; overflow: hidden !important; padding-bottom: 1lh; }

/* Blog cards are clickable as a whole (also needed so taps register on iPhones) */
.gallery-item-container, article[data-hook="post-list-item"], [data-hook="post-list-item"], article[data-hook="recent-post-list-item"] { cursor: pointer; }

/* Blog: category menu underlined on hover */
.blog-header__navigation a:hover, .blog-header__navigation a:focus-visible { text-decoration: underline !important; }

/* 404 page */
.wd-404 { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 80px; font-family: 'neue-haas-unica-pro', Arial, sans-serif; }
.wd-404 h1 { font-family: 'avenir-lt-w01_85-heavy1475544', Arial, sans-serif; font-size: 48px; margin: 0 0 16px; }
.wd-404 p { font-size: 18px; margin: 6px 0; }
.wd-404 a { text-decoration: underline; color: inherit; }

@media print {
  header, footer, .hamburger-menu, [data-hook="post-main-actions-desktop"], [data-hook*="related-posts"] { display: none !important; }
}

/* Mobile header menu (HOME I INDUSTRIES I BLOG I FIND SUPPLIER): the free substitute font is a hair
   wider than Wix's Avenir, which pushed "FIND SUPPLIER" onto a second line on some phones. */
html[data-layout="mobile"] [id$="_r_comp-mn7f3p2o"] p{white-space:nowrap!important;letter-spacing:-.01em}

/* Phone home page, "latest posts" gallery: Wix positions the cards with pixel values computed for
   the visitor's screen; the capture froze them at 390 px. Same cards in normal flow, any width. */
html[data-layout="mobile"] #pro-gallery-container-comp-mrdaf4c4_ooi{height:auto!important}
html[data-layout="mobile"] #pro-gallery-margin-container-comp-mrdaf4c4_ooi{width:100%!important;height:auto!important;display:flex;flex-direction:column;gap:20px}
html[data-layout="mobile"] #pro-gallery-margin-container-comp-mrdaf4c4_ooi [data-hook="item-container"]{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;box-sizing:border-box}
html[data-layout="mobile"] #pro-gallery-margin-container-comp-mrdaf4c4_ooi .gallery-item-wrapper{width:calc(100% + 2px)!important;height:auto!important;aspect-ratio:4/3}
html[data-layout="mobile"] #pro-gallery-margin-container-comp-mrdaf4c4_ooi .gallery-item-content,html[data-layout="mobile"] #pro-gallery-margin-container-comp-mrdaf4c4_ooi .gallery-item-content img{width:100%!important;height:100%!important;object-fit:cover}

/* Phone inquiry forms: Wix gives every field a fixed 342 px (its column gaps), so fields ran past the
   right edge on small phones and stopped short on large ones. Same width at 390 px, fluid elsewhere. */
html[data-layout="mobile"] form fieldset{min-width:0!important}
html[data-layout="mobile"] form[id^="form-"]{margin-left:20px!important;margin-right:20px!important}
html[data-layout="mobile"] .htcADB>div[style*="span 10"]{width:calc(100vw - 80px)!important;max-width:calc(100vw - 80px)!important}

/* Opened phone menu: hide the white top edge of the link list (showed on small phones) */
.hamburger-menu nav.navbar{border-top-color:transparent!important}
/* Opened phone menu: a thin black Wix divider sits on top of the "Home" link and cut through it */
.hamburger-menu [id$="_r_comp-mnimjxxy"]{display:none!important}

/* Phone inquiry forms: a taller Submit button with bold text, and a bit more white space below it */
html[data-layout="mobile"] form fieldset button.sAE_02c{min-height:52px!important;font-weight:700!important}
html[data-layout="mobile"] form fieldset button.sAE_02c *{font-weight:700!important}
html[data-layout="mobile"] form[id^="form-"]{margin-bottom:20px!important}

/* Phone inquiry forms: larger, easier-to-read text and more breathing room (same fields and wording) */
html[data-layout="mobile"] form[id^="form-"] h5 span{font-size:26px!important;letter-spacing:.06em;line-height:1.3!important}
html[data-layout="mobile"] form[id^="form-"] h5{margin-bottom:10px!important}
html[data-layout="mobile"] form[id^="form-"] .shszO9W,html[data-layout="mobile"] form[id^="form-"] .shszO9W *{font-size:16px!important;line-height:1.45!important;font-weight:500!important}
html[data-layout="mobile"] form[id^="form-"] .htcADB{margin-bottom:14px!important}
html[data-layout="mobile"] form[id^="form-"] input:not([type=checkbox]):not([name=website]),html[data-layout="mobile"] form[id^="form-"] select{font-size:17px!important;height:48px!important;min-height:48px!important}
html[data-layout="mobile"] form[id^="form-"] textarea{font-size:17px!important;min-height:110px!important;line-height:1.5!important}
html[data-layout="mobile"] form[id^="form-"] textarea::placeholder{font-size:16px}
html[data-layout="mobile"] form[id^="form-"] .lPirb p,html[data-layout="mobile"] form[id^="form-"] .lPirb p span{font-size:14px!important;line-height:1.5!important}
html[data-layout="mobile"] form[id^="form-"] .s__1Trt_t,html[data-layout="mobile"] form[id^="form-"] .sTrVooy{width:20px!important;height:20px!important;min-width:20px!important}
html[data-layout="mobile"] form fieldset button.sAE_02c,html[data-layout="mobile"] form fieldset button.sAE_02c *{font-size:18px!important;letter-spacing:.03em}
html[data-layout="mobile"] form fieldset button.sAE_02c{min-height:56px!important}

/* Phone contact page: the grey band between the form and the black line is black */
html[data-layout="mobile"] #comp-mnsdxk21{background:#000!important}
html[data-layout="mobile"] #comp-mnsdxk21 img{opacity:0!important}

/* blog tables on phones: whole words per line (no "calculat-ed" splits), smaller text, swipe if a table is wider than the screen */
html[data-layout="mobile"] .iLA6h{overflow-x:auto;-webkit-overflow-scrolling:touch}
html[data-layout="mobile"] table.WocLM td .XYUZ3,html[data-layout="mobile"] table.WocLM td p{font-size:14px!important;line-height:1.45!important;overflow-wrap:normal!important;word-break:normal!important;-webkit-hyphens:auto;hyphens:auto}

/* home page, first section: once the big photo has loaded (site.js adds .wd-hero-go) these appear one after another:
   "Wholesale Directory" + icon, the big headline, the white blog box (text + picture), the yellow BLOG circle.
   Without the script they still appear after 3 seconds. */
@keyframes wd-hero-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
#comp-mn2kho3s{animation:wd-hero-in .5s ease-out 3s both!important}
#comp-mjzo2azx{animation:wd-hero-in .5s ease-out 3.4s both!important}
#comp-mjzl16s8{animation:wd-hero-in .5s ease-out 3.8s both!important}
#comp-mk5j8wz5{animation:wd-hero-in .5s ease-out 4.2s both!important}
html.wd-hero-go #comp-mn2kho3s{animation:wd-hero-in .5s ease-out .1s both!important}
html.wd-hero-go #comp-mjzo2azx{animation:wd-hero-in .5s ease-out .5s both!important}
html.wd-hero-go #comp-mjzl16s8{animation:wd-hero-in .5s ease-out .9s both!important}
html.wd-hero-go #comp-mk5j8wz5{animation:wd-hero-in .5s ease-out 1.3s both!important}
@media (prefers-reduced-motion:reduce){#comp-mn2kho3s,#comp-mjzo2azx,#comp-mjzl16s8,#comp-mk5j8wz5,html.wd-hero-go #comp-mn2kho3s,html.wd-hero-go #comp-mjzo2azx,html.wd-hero-go #comp-mjzl16s8,html.wd-hero-go #comp-mk5j8wz5{animation:none!important}}

/* contact form: the consent tick fills its box (box is larger on phones) */
[data-hook="checkbox-core"] [data-hook="icon-wrapper"] svg{position:absolute;left:-1px;top:-1px;width:calc(100% + 2px)!important;height:calc(100% + 2px)!important}

/* header menu has 6 items since "Directory" was added: tighter spacing so all fit (was 28px each side) */
html[data-layout="desktop"] nav[data-part="navbar"] [data-part="menu-item-content"]{padding-left:1.15vw!important;padding-right:1.15vw!important}
/* phone menu: 6 items since "Directory" was added — slightly tighter rows keep the list in its original box */
.hamburger-menu nav[data-part="navbar"] [data-part="menu-item-content"]{padding-top:2px!important;padding-bottom:2px!important}
/* phone menu: fixed in place — nothing inside it scrolls or rubber-bands */
.hamburger-menu[role="dialog"]{overscroll-behavior:none;touch-action:none}
.hamburger-menu [class*="_dialogContent"]{overflow:hidden!important;overscroll-behavior:none;touch-action:none}
html.wd-menu-open,html.wd-menu-open body{overscroll-behavior:none;touch-action:none}
/* phone menu close button: a plain, thicker cross instead of Wix's decorative icon */
.hamburger-close-button .animatedIcon{position:relative}
.hamburger-close-button .animatedIcon svg{visibility:hidden}
.hamburger-close-button .animatedIcon::before,.hamburger-close-button .animatedIcon::after{content:"";position:absolute;left:50%;top:50%;width:78%;height:3.5px;margin:-1.75px 0 0 -39%;background:#000;border-radius:1px;transform:rotate(45deg)}
.hamburger-close-button .animatedIcon::after{transform:rotate(-45deg)}

/* ---- inquiry form (home + contact): modern black & white look; the page's background picture stays */
.sN4uTVR.wd-form-card{background:#fff!important;border-radius:22px!important;box-shadow:0 40px 80px -40px rgba(0,0,0,.55),0 2px 0 rgba(0,0,0,.04)!important;overflow:hidden}
form[id^="form-"] h5,form[id^="form-"] h5 *{color:#000!important;font-weight:700!important;letter-spacing:.06em!important}
form[id^="form-"] h5{position:relative;padding-bottom:14px}
form[id^="form-"] h5::after{content:"";position:absolute;left:0;bottom:0;width:44px;height:4px;border-radius:2px;background:#000}
form[id^="form-"] label,form[id^="form-"] label *,form[id^="form-"] [data-field-type] [class*="label" i],form[id^="form-"] [data-field-type] [id*="label" i]{color:#111!important;font-weight:600!important}
/* fields: soft grey boxes with rounded corners, black ring when active */
form[id^="form-"] .wd-field,form[id^="form-"] .wd-field.wd-field,
form[id^="form-"] [data-field-type="DROPDOWN"] button[data-hook="dropdown-base"].sAE_02c,form[id^="form-"] select[data-hook="native-select"]{border:1.5px solid #dcdcdc!important;border-width:1.5px!important;border-style:solid!important;border-radius:12px!important;background:#f6f6f6!important;transition:border-color .15s,box-shadow .15s,background-color .15s}
form[id^="form-"] .wd-field:hover,form[id^="form-"] .wd-field.wd-field:hover,
form[id^="form-"] [data-field-type="DROPDOWN"] button[data-hook="dropdown-base"].sAE_02c:hover,form[id^="form-"] select[data-hook="native-select"]:hover{border-color:#9a9a9a!important}
form[id^="form-"] .wd-field:focus-within,form[id^="form-"] .wd-field.wd-field:focus-within,
form[id^="form-"] [data-field-type="DROPDOWN"] button[data-hook="dropdown-base"].sAE_02c:focus-visible,form[id^="form-"] [data-field-type="DROPDOWN"] button[data-hook="dropdown-base"].sAE_02c[aria-expanded="true"],
form[id^="form-"] select[data-hook="native-select"]:focus{border-color:#000!important;background-color:#fff!important;box-shadow:0 0 0 4px rgba(0,0,0,.08)!important}
form[id^="form-"] input:not([type="checkbox"]):not([name="website"]){min-height:48px!important;padding-left:16px!important;padding-right:16px!important;color:#000!important;background:transparent!important}
form[id^="form-"] [data-field-type="DROPDOWN"] button[data-hook="dropdown-base"].sAE_02c,form[id^="form-"] select[data-hook="native-select"]{min-height:50px!important;padding-left:16px!important;padding-right:16px!important}
form[id^="form-"] [data-field-type="DROPDOWN"] button[data-hook="dropdown-base"] *,form[id^="form-"] select[data-hook="native-select"]{color:#000!important}
form[id^="form-"] [data-field-type="DROPDOWN"] button[data-hook="dropdown-base"] svg{color:#000!important;fill:#000!important}
form[id^="form-"] textarea{padding:14px 16px!important;color:#000!important;background:transparent!important}
form[id^="form-"] textarea::placeholder,form[id^="form-"] input::placeholder{color:#8a8a8a!important}
/* consent checkbox: one box (Wix draws an outer and an inner square) */
form[id^="form-"] [data-field-type="CHECKBOX"] .s__1Trt_t{border:1.5px solid #000!important;border-radius:5px!important;background:#fff!important}
form[id^="form-"] [data-field-type="CHECKBOX"] .sTrVooy{border:0!important;background:transparent!important;box-shadow:none!important}
form[id^="form-"] [data-field-type="CHECKBOX"] [data-checked="true"] .s__1Trt_t{background:#000!important}
form[id^="form-"] [data-field-type="CHECKBOX"] [data-checked="true"] svg{color:#fff!important;fill:#fff!important}
/* submit: black, rounded, small lift on hover */
form[id^="form-"] button.sAE_02c.sTlELXU:not([data-hook="dropdown-base"]){border-radius:12px!important;min-height:54px!important;background:#000!important;box-shadow:0 14px 28px -14px rgba(0,0,0,.6)!important;transition:transform .15s,box-shadow .15s}
form[id^="form-"] button.sAE_02c.sTlELXU:not([data-hook="dropdown-base"]) *{color:#fff!important;font-weight:700!important;letter-spacing:.06em!important;text-decoration:none!important}
form[id^="form-"] button.sAE_02c.sTlELXU:not([data-hook="dropdown-base"]):hover{transform:translateY(-2px);box-shadow:0 18px 32px -14px rgba(0,0,0,.7)!important}
form[id^="form-"] button.sAE_02c.sTlELXU:not([data-hook="dropdown-base"]) > span::after{content:" →";font-weight:700}
html[data-layout] body form[id^="form-"] .shszO9W.shszO9W,html[data-layout] body form[id^="form-"] .shszO9W.shszO9W *{color:#111!important;font-weight:600!important}
html[data-layout] body form[id^="form-"] [data-field-type="CHECKBOX"] label *{font-weight:400!important;color:#222!important}

/* phones: lighter shadow on the big form card (cheaper to draw while scrolling) */
@media (max-width:760px){.sN4uTVR.wd-form-card{box-shadow:0 12px 30px -18px rgba(0,0,0,.45)!important}}
html[data-layout] body form[id^="form-"] [data-field-type="CHECKBOX"] [data-checked="true"] [data-hook="icon-wrapper"],html[data-layout] body form[id^="form-"] [data-field-type="CHECKBOX"] [data-checked="true"] [data-hook="icon-wrapper"] *{color:#fff!important;fill:#fff!important}
/* phone menu close button: black square with a white cross */
html[data-layout="mobile"] .hamburger-close-button .animatedIcon{width:46px!important;height:46px!important;background:#000!important;border-radius:0!important}
html[data-layout="mobile"] .hamburger-close-button .animatedIcon::before,html[data-layout="mobile"] .hamburger-close-button .animatedIcon::after{width:56%;margin-left:-28%;height:3.5px;margin-top:-1.75px;background:#fff}
html[data-layout="mobile"] .hamburger-menu .hamburger-close-button{padding:12px!important}
/* phone menu: a little black space above the first and below the last item */
html[data-layout="mobile"] .hamburger-menu nav[data-part="navbar"]{padding-top:18px!important;padding-bottom:18px!important;box-sizing:content-box}

/* view counts hidden everywhere (blog lists, home page, post pages, related posts) */
[data-hook^="view-count"],[role="status"][aria-label$=" views"],[role="status"][aria-label$=" view"]{display:none!important}

/* no comments on the blog: comments area and comment counts hidden everywhere */
.wd-no-comments{display:none!important}
[data-hook^="comment-count"],[role="status"][aria-label$=" comments"],[role="status"][aria-label$=" comment"]{display:none!important}
