/* 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:has(> * .wd-thanks), .sN4uTVR:has(.wd-thanks) { 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:has(fieldset){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:has(fieldset){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:has(fieldset) h5 span{font-size:26px!important;letter-spacing:.06em;line-height:1.3!important}
html[data-layout="mobile"] form:has(fieldset) h5{margin-bottom:10px!important}
html[data-layout="mobile"] form:has(fieldset) .shszO9W,html[data-layout="mobile"] form:has(fieldset) .shszO9W *{font-size:16px!important;line-height:1.45!important;font-weight:500!important}
html[data-layout="mobile"] form:has(fieldset) .htcADB{margin-bottom:14px!important}
html[data-layout="mobile"] form:has(fieldset) input:not([type=checkbox]):not([name=website]),html[data-layout="mobile"] form:has(fieldset) select{font-size:17px!important;height:48px!important;min-height:48px!important}
html[data-layout="mobile"] form:has(fieldset) textarea{font-size:17px!important;min-height:110px!important;line-height:1.5!important}
html[data-layout="mobile"] form:has(fieldset) textarea::placeholder{font-size:16px}
html[data-layout="mobile"] form:has(fieldset) .lPirb p,html[data-layout="mobile"] form:has(fieldset) .lPirb p span{font-size:14px!important;line-height:1.5!important}
html[data-layout="mobile"] form:has(fieldset) .s__1Trt_t,html[data-layout="mobile"] form:has(fieldset) .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}
