/* Delivery info on cart, checkout and product pages (inc/shipping.php). */

.ef-ship-note { max-width: 1280px; margin: 0 auto 28px; padding: 22px 24px; border-radius: 22px; background: var(--ef-primary-soft, #ecf7fb); color: var(--ef-text, #3e4345); font-size: 15px; line-height: 1.55; }
.ef-ship-note__progress { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 600 17px/1.4 Lato, system-ui, sans-serif; color: var(--ef-ink, #14191b); }
.ef-ship-note__progress .ef-icon { flex: none; width: 26px; height: 26px; color: var(--ef-primary, #04495a); }
.ef-ship-note__progress strong { color: var(--ef-primary, #04495a); }
.ef-ship-note__bar { display: block; height: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.ef-ship-note__bar i { display: block; height: 100%; border-radius: inherit; background: var(--ef-accent, #ff9437); transition: width .4s var(--ef-eo, ease); }
.ef-ship-note.is-free .ef-ship-note__bar i { background: #1a8f3c; }
.ef-ship-note__list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ef-ship-note__list li { padding: 14px 16px; border-radius: 16px; background: #fff; }
.ef-ship-note__list strong { color: var(--ef-ink, #14191b); }

.ef-ship-line { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--ef-primary-soft, #ecf7fb); font-size: 14px; line-height: 1.5; color: var(--ef-text, #3e4345); }
.ef-ship-line .ef-icon { flex: none; width: 22px; height: 22px; color: var(--ef-primary, #04495a); }
.ef-ship-line strong { color: var(--ef-ink, #14191b); }

@media (max-width: 900px) {
  .ef-ship-note__list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 600px) {
  .ef-ship-note { padding: 18px 16px; border-radius: 18px; }
  .ef-ship-note__progress { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-ship-note__bar i { transition: none; }
}

/* Product page: price per size (inc/woocommerce.php) */
.ef-size-prices { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 10px; }
.ef-size-price { display: flex; flex-direction: column; gap: 4px; min-width: 150px; padding: 12px 16px; border: 1px solid var(--ef-line, #e4ebed); border-radius: 16px; background: #fff; }
.ef-size-price__name { font: 700 12px/1.2 Lato, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ef-muted, #757b7e); }
.ef-size-price__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.ef-size-price del { font: 500 16px/1.2 Lato, system-ui, sans-serif; color: var(--ef-muted, #757b7e); text-decoration-thickness: 1.5px; }
.ef-size-price ins { text-decoration: none; font: 800 24px/1.1 var(--ef-display, sans-serif); color: var(--ef-ink, #14191b); }
.ef-size-prices + .ef-off { display: inline-block; }
@media (max-width: 600px) {
  .ef-size-price { flex: 1 1 140px; min-width: 0; }
  .ef-size-price ins { font-size: 21px; }
}

/* Product cards: one block per size (name, then sale + crossed-out price). Overrides Breakdance's loop price styles. */
.ef-size-prices--card { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; flex: none !important; height: auto !important; min-height: 0 !important; gap: 8px; width: 100%; margin: 4px 0 2px; }
.ef-size-prices--card .ef-size-price, .ef-size-prices--card .ef-size-price__amount { flex: none !important; height: auto !important; min-height: 0 !important; }
.ef-size-prices--card .ef-size-price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.ef-size-prices--card .ef-size-price + .ef-size-price { padding-top: 8px; border-top: 1px dashed var(--ef-line, #e4ebed); }
.ef-size-prices--card .ef-size-price__name { font-size: 11px; letter-spacing: .1em; }
.ef-size-prices--card .ef-size-price__amount { display: flex !important; flex-direction: row !important; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.ef-size-prices--card .ef-size-price ins, .ef-size-prices--card .ef-size-price del { display: inline !important; margin: 0 !important; padding: 0 !important; line-height: 1.2 !important; }
.ef-size-prices--card .ef-size-price ins { order: 1; font-size: 19px !important; }
.ef-size-prices--card .ef-size-price del { order: 2; font-size: 13px !important; }
@media (max-width: 600px) {
  .ef-size-prices--card .ef-size-price ins { font-size: 17px !important; }
  .ef-size-prices--card .ef-size-price del { font-size: 12px !important; }
}
.ef-ship-note__bill { margin: 14px 0 0; font-size: 14px; color: var(--ef-text, #3e4345); }

/* Product page: the size cards pick the size for the order; the separate size row is hidden. */
body.single-product table.variations tr:has(.ef-swatches--by-price), body.single-product .variations tr:has(.ef-swatches--by-price) { display: none !important; }
.ef-size-prices[data-ef-size-prices]::before { content: "Choose a size"; flex-basis: 100%; font: 700 12px/1.2 Lato, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted, #757b7e); }
button.ef-size-price { position: relative; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .16s, background-color .16s, box-shadow .16s, transform .16s var(--ef-eo, ease); }
button.ef-size-price:hover:not(:disabled) { border-color: var(--ef-primary, #04495a); transform: translateY(-2px); }
button.ef-size-price:focus-visible { outline: 3px solid var(--ef-accent, #ff9437); outline-offset: 2px; }
button.ef-size-price[aria-pressed="true"] { border: 2px solid var(--ef-primary, #04495a); padding: 11px 15px; background: var(--ef-primary-soft, #ecf7fb); box-shadow: 0 12px 24px -16px rgb(4 73 90 / .6); }
button.ef-size-price[aria-pressed="true"] .ef-size-price__name { color: var(--ef-primary, #04495a); }
button.ef-size-price[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ef-primary, #04495a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
button.ef-size-price:disabled { opacity: .45; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { button.ef-size-price { transition: none; } }

/* ---- Small screens ---- */

/* Product card footer: "Choose →" drops below the shade dots when the card is too narrow for both. */
ul.products li.product .ef-peek { flex-wrap: wrap; row-gap: 6px; }
ul.products li.product .ef-peek__info { flex: 1 1 auto; }

/* Readable minimums: card category label and the cart's "via Delivery" line. */
ul.products li.product .ef-card__cat { font-size: 11px; }
.wc-block-components-totals-shipping__via { font-size: 12px !important; }

/* Shop sidebar folds behind a "Filter" button on phones and tablets, where it stacks above the products (everfine.js adds the button). */
.ef-filter-toggle { display: none; }
@media (max-width: 1023px) {
  .ef-filter-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; margin: 0 0 4px; border: 1px solid var(--ef-line, #e4ebed); border-radius: 999px; background: #fff; color: var(--ef-ink, #14191b); font: 700 15px/1 Lato, system-ui, sans-serif; cursor: pointer; }
  .ef-filter-toggle[aria-expanded="true"] { border-color: var(--ef-primary, #04495a); background: var(--ef-primary-soft, #ecf7fb); }
  [data-ef-shop-filters]:not(.is-open) { display: none !important; }
}
/* Cards without shade dots put the price beside "Choose →"; with a per-size list, stack them instead. */
ul.products li.product .woocommerce-LoopProduct-link:has(.ef-peek__info:empty):has(.ef-size-prices--card) { display: block; }

/* Homepage "What are you painting?" tiles. Breakdance's global CSS loads after this file, hence the extra specificity.
   Tablets: keep the product photo off the heading. Wider screens: the "60 shades" sticker sits on the tins, not the heading. */
@media (min-width: 600px) and (max-width: 1023px) {
  body [data-ef-tile][data-ef-size="big"] [data-ef-tile-copy] { max-width: 46%; }
  body [data-ef-tile][data-ef-size="big"] [data-ef-tile-products] { width: 50%; height: 92%; }
  body [data-ef-tile][data-ef-size="small"] [data-ef-tile-copy] { max-width: 56%; }
}
@media (min-width: 1024px) {
  body [data-ef-tile][data-ef-size="wide"] [data-ef-sticker] { top: auto; bottom: 18px; }
}

/* 404 page (inc/not-found.php) */
.ef-404 { max-width: 960px; margin: 0 auto; }
.ef-404__head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.ef-404__code { display: inline-flex; align-items: flex-end; gap: 6px; margin-bottom: 14px; font: 800 clamp(64px, 12vw, 112px)/.9 var(--ef-display, sans-serif); letter-spacing: -.04em; color: var(--ef-primary, #04495a); }
.ef-404__code i { display: inline-block; width: 14px; border-radius: 4px; margin-bottom: 8px; }
.ef-404__code i:nth-child(1) { height: 44px; background: #f8b030; }
.ef-404__code i:nth-child(2) { height: 56px; background: #30c8f8; }
.ef-404__code i:nth-child(3) { height: 36px; background: #f828a0; margin-right: 10px; }
.breakdance .ef-404__title, .ef-404__title { margin: 0 0 12px; font: 800 clamp(30px, 4.4vw, 46px)/1.08 var(--ef-display, sans-serif); letter-spacing: -.02em; color: var(--ef-ink, #14191b); text-wrap: balance; }
.ef-404__lead { margin: 0 0 24px; font-size: 18px; line-height: 1.6; color: var(--ef-text, #3e4345); }
.ef-404__search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.ef-404__search input[type="search"] { flex: 1; min-width: 0; min-height: 50px; padding: 0 20px; border: 1px solid var(--ef-line, #e4ebed); border-radius: 999px; background: #fff; font: 16px Lato, system-ui, sans-serif; color: var(--ef-ink, #14191b); }
.ef-404__search input[type="search"]:focus { outline: 3px solid var(--ef-primary-soft, #ecf7fb); border-color: var(--ef-primary, #04495a); }
.ef-404__search .ef-pill { min-height: 50px; }
.ef-404__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ef-404__link { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 128px; padding: 20px 20px 52px; border-radius: 20px; text-decoration: none !important; color: var(--ef-ink, #14191b) !important; transition: transform .24s var(--ef-eo, ease), box-shadow .24s var(--ef-eo, ease); }
.ef-404__link:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgb(0 16 22 / .35); }
.ef-404__link strong { font: 700 18px/1.25 var(--ef-display, sans-serif); }
.ef-404__link span { font-size: 14px; color: var(--ef-text, #3e4345); }
.ef-404__link .ef-icon { position: absolute; left: 20px; bottom: 18px; width: 22px; height: 22px; color: var(--ef-primary, #04495a); }
.ef-404__link--blue { background: var(--ef-primary-soft, #ecf7fb); }
.ef-404__link--green { background: var(--ef-mint, #e7f2ec); }
.ef-404__link--peach { background: var(--ef-accent-soft, #fff3ea); }
.ef-404__link--stone { background: var(--ef-stone, #f4f2ee); }
.ef-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 0; }
@media (max-width: 767px) {
  .ef-404__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ef-404__link { min-height: 116px; padding: 16px 16px 46px; }
  .ef-404__lead { font-size: 16px; }
}
@media (max-width: 420px) {
  .ef-404__search { flex-direction: column; }
}

/* ---- Buttons and announcement bar on phones ---- */

/* One weight for every button: Breakdance's "custom" style buttons (WhatsApp, outline) were 500, primary ones 700. */
body .button-atom, body .button-atom .button-atom__text { font-weight: 700 !important; }

@media (max-width: 767px) {
  /* Stacked button pairs (hero, seepage, landing pages): same width, lined up. */
  .breakdance .bde-div:has(> .bde-button + .bde-button) { align-items: stretch !important; width: 100%; }
  .breakdance .bde-div:has(> .bde-button + .bde-button) > .bde-button,
  .breakdance .bde-div:has(> .bde-button + .bde-button) > .bde-button .button-atom { width: 100%; justify-content: center; text-align: center; }

  /* Announcement bar: one compact row (text + small button), close button at the edge. */
  body [data-ef-topbar] { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 10px !important; padding: 8px 44px 8px 14px !important; text-align: left; }
  body [data-ef-topbar] [data-ef-topbar-text] { flex: 1 1 auto; min-width: 0; font-size: 12.5px; line-height: 1.35; }
  body [data-ef-topbar] .bde-button { flex: none; }
  body [data-ef-topbar] .button-atom { min-height: 28px !important; padding: 0 12px !important; font-size: 12px !important; white-space: nowrap; }
  body [data-ef-topbar] [data-ef-topbar-close] { right: 6px; }
}

/* Product page: the add-to-cart form spans the summary like the WhatsApp button; quantity sits beside "Add to cart". */
body.single-product .bde-product form.cart { max-width: none !important; width: 100%; }
body.single-product .bde-product .woocommerce-variation-add-to-cart,
body.single-product .bde-product form.cart:not(.variations_form) { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
body.single-product .bde-product .single_add_to_cart_button { flex: 1 1 0 !important; min-width: 0; text-transform: none !important; }
body.single-product .bde-product .ef-btn--whatsapp { width: 100%; box-sizing: border-box; }

/* Guarantees (inc/guarantee.php) */
.ef-guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--ef-mint, #e7f2ec); font-size: 14px; line-height: 1.5; color: var(--ef-text, #3e4345); }
.ef-guarantee .ef-icon { flex: none; width: 22px; height: 22px; color: #1f5d3e; }
.ef-guarantee strong { color: var(--ef-ink, #14191b); }
.ef-card__guarantee { display: inline-flex; align-items: center; gap: 5px; margin: 2px 0 4px; font: 700 12px/1.2 Lato, system-ui, sans-serif; color: #1f5d3e; }
.ef-card__guarantee .ef-icon { width: 14px; height: 14px; }
.ef-ship-note__map { color: var(--ef-primary, #04495a); text-decoration: underline; text-underline-offset: 2px; }
.ef-ship-note__map span { white-space: nowrap; font-weight: 700; }

/* Social icons (footer, contact page): official marks (Simple Icons). Breakdance's global CSS styles every "custom"
   social icon as a green outline (it was written for the old WhatsApp icon), so these rules are deliberately more specific. */
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label] svg,
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label] svg * { stroke: none !important; stroke-width: 0 !important; fill: #fff !important; }
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="Facebook"] { background: #fff !important; }
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="Facebook"] svg { width: 100% !important; height: 100% !important; }
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="Facebook"] svg,
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="Facebook"] svg * { fill: #0866ff !important; }
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="WhatsApp"] { background: #25d366 !important; }
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="Instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; }
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="WhatsApp"] svg,
html body .bde-social-icons .bde-social-icons__icon-custom[aria-label="Instagram"] svg { width: 21px !important; height: 21px !important; }

/* ---- Paint calculator (inc/calculator.php, assets/calculator.js): walls, adjustable packs, result ---- */
.ef-calc__help { margin: -4px 0 2px; font-size: 13px; line-height: 1.5; color: #9fbfc8; }
.ef-calc__total { margin-left: auto; font: 800 15px/1 var(--ef-display, sans-serif); color: #ffb26b; }
.ef-calc__walls { display: grid; gap: 8px; }
.ef-calc__wall { display: grid; grid-template-columns: 58px minmax(0, 1fr) 14px minmax(0, 1fr) 36px; align-items: end; gap: 8px; }
.ef-calc__wall-n { align-self: center; padding-top: 20px; font: 700 12px/1.2 Lato, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #9fbfc8; }
.ef-calc__x { align-self: end; padding-bottom: 13px; text-align: center; font-weight: 700; color: #7fa3ad; }
.ef-calc__remove { width: 36px; height: 46px; border: 1px solid #2a5662; border-radius: 12px; background: transparent; color: #cfe3e8; font-size: 20px; line-height: 1; cursor: pointer; }
.ef-calc__remove:hover { border-color: #ffb26b; color: #fff; }
.ef-calc__remove[hidden] { display: block !important; visibility: hidden; }
.ef-calc__add-wall { justify-self: start; min-height: 40px; padding: 0 16px; border: 1px dashed #4a7f8c; border-radius: 999px; background: transparent; color: #fff; font: 700 14px Lato, system-ui, sans-serif; cursor: pointer; }
.ef-calc__add-wall:hover { border-color: var(--ef-accent, #ff9437); color: #ffb26b; }
.ef-calc__add-wall[hidden] { display: none; }

.ef-calc__result { display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: #062f3a; border: 1px solid #2a5662; }
.ef-calc__need { margin: 0; font-size: 14px; line-height: 1.5; color: #cfe3e8; }
.ef-calc__lines { display: grid; gap: 8px; }
.ef-calc__line { display: grid; grid-template-columns: minmax(0, 1fr) auto 92px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #0b3d4a; }
.ef-calc__line.is-zero { background: transparent; box-shadow: inset 0 0 0 1px #2a5662; }
.ef-calc__line-name { font: 700 14px/1.3 Lato, system-ui, sans-serif; color: #fff; }
.ef-calc__line.is-zero .ef-calc__line-name { color: #9fbfc8; }
.ef-calc__line-price { text-align: right; font: 800 16px/1 var(--ef-display, sans-serif); color: #fff; }
.ef-calc__stepper { display: inline-flex; align-items: center; border: 1px solid #2a5662; border-radius: 999px; background: #062f3a; }
.ef-calc__stepper button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.ef-calc__stepper button:hover:not(:disabled) { color: #ffb26b; }
.ef-calc__stepper button:disabled { opacity: .35; cursor: not-allowed; }
.ef-calc__stepper button:focus-visible { outline: 2px solid var(--ef-accent, #ff9437); outline-offset: 1px; }
.ef-calc__stepper output { min-width: 22px; text-align: center; font: 800 16px/1 Lato, system-ui, sans-serif; color: #fff; }
.ef-calc__warn { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgb(255 148 55 / .14); color: #ffd2a8; font-size: 13px; line-height: 1.45; }
.ef-calc__totalrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #2a5662; }
.ef-calc__amount span { font-size: 13px; color: #9fbfc8; }
.ef-calc__amount strong { display: block; font: 800 40px/1 var(--ef-display, sans-serif); letter-spacing: -.02em; color: #fff; }
.ef-calc__amount strong.ef-tick { animation: ef-tick .3s var(--ef-eo, ease); }
.ef-calc__result .ef-calc__price { display: inline-flex; align-items: baseline; gap: 8px; }
.ef-calc__result .ef-calc__price strong { font: 800 30px/1 var(--ef-display, sans-serif); color: #ffb26b; }
.ef-calc__result .ef-calc__price del { font-size: 15px; color: #7fa3ad; }
.ef-calc__result .ef-calc__hint { margin: -4px 0 0; }
.ef-calc__msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.ef-calc__msg.is-ok { background: rgb(37 211 102 / .14); color: #c8f3d8; }
.ef-calc__msg.is-error { background: rgb(255 107 107 / .16); color: #ffd0d0; }
.ef-calc .ef-calc__msg a, .breakdance .ef-calc .ef-calc__msg a { color: #fff !important; font-weight: 700; text-decoration: underline !important; }
@media (max-width: 600px) {
  .ef-calc__wall { grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 36px; }
  .ef-calc__wall-n { grid-column: 1 / -1; padding-top: 0; }
  .ef-calc__line { grid-template-columns: minmax(0, 1fr) auto; }
  .ef-calc__line-price { grid-column: 1 / -1; text-align: left; font-size: 14px; color: #cfe3e8; }
  .ef-calc__amount strong { font-size: 34px; }
  .ef-calc__result .ef-calc__price strong { font-size: 24px; }
}

/* Live product suggestions under the header search (assets/search.js) */
form.js-search-form { position: relative; }
/* lift the search box (and its suggestions) above the page only while it is in use, so it never covers the phone menu */
form.js-search-form:focus-within { z-index: 1001; }
.ef-suggest { position: absolute; z-index: 1000; top: calc(100% + 8px); left: 0; right: 0; min-width: 300px; max-height: min(70vh, 480px); overflow-y: auto; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 24px 48px -16px rgb(0 16 22 / .35), 0 0 0 1px var(--ef-line, #e4ebed); text-align: left; }
.ef-suggest[hidden] { display: none; }
.ef-suggest.is-loading { opacity: .7; }
.ef-suggest__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none !important; color: var(--ef-ink, #14191b) !important; }
.ef-suggest__item:hover, .ef-suggest__item[aria-selected="true"] { background: var(--ef-primary-soft, #ecf7fb); }
.ef-suggest__item img, .ef-suggest__ph { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--ef-bg-soft, #f4f8f9); }
.ef-suggest__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ef-suggest__text b { font: 700 14px/1.3 Lato, system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-suggest__text small { font: 700 11px/1.2 Lato, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ef-muted, #757b7e); }
.ef-suggest__price { font: 800 13px/1.2 Lato, system-ui, sans-serif; color: var(--ef-primary, #04495a); white-space: nowrap; }
.ef-suggest__all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--ef-line, #e4ebed); text-align: center; font: 700 14px Lato, system-ui, sans-serif; color: var(--ef-primary, #04495a) !important; text-decoration: none !important; }
.ef-suggest__empty { margin: 0; padding: 14px; font-size: 14px; color: var(--ef-text, #3e4345); }
@media (max-width: 600px) {
  .ef-suggest { min-width: 0; }
  .ef-suggest__item { grid-template-columns: 40px minmax(0, 1fr); }
  .ef-suggest__price { grid-column: 2; }
}

.ef-calc__line-price:empty { display: none; }

/* Homepage calculator section: the checklist reads like the intro paragraph (regular weight, not bold). */
body [data-ef-calc-points] .bde-icon-list__item-wrapper { font-weight: 400; font-size: 17px; line-height: 1.5; color: #e6f1f3; }
@media (max-width: 767px) { body [data-ef-calc-points] .bde-icon-list__item-wrapper { font-size: 15.5px; } }
/* Calculator product buttons keep their two-line layout even without a photo. */
.ef-calc__product > span > b, .ef-calc__product > span > small { grid-column: 2; }

/* ---- Header menu: nested categories (Shop → Exterior Paints → Weather Shield → …) ---- */
/* Desktop: each nested level opens as its own fly-out panel beside its parent. */
@media (min-width: 1024px) {
  .breakdance-menu:not(.breakdance-menu--collapse) .breakdance-dropdown-links .menu-item-has-children,
  .breakdance-menu .breakdance-dropdown-floater .breakdance-dropdown-links .menu-item-has-children { position: relative; }
  .breakdance-dropdown-floater .breakdance-dropdown-links .menu-item-has-children > .breakdance-dropdown-link { justify-content: space-between; gap: 16px; }
  .breakdance-dropdown-floater .breakdance-dropdown-links .menu-item-has-children > .breakdance-dropdown-link::after { content: ""; flex: none; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .55; }
  .breakdance-dropdown-floater .breakdance-dropdown-links .breakdance-dropdown-links {
    position: absolute; top: -14px; left: calc(100% + 14px); z-index: 5; min-width: 270px; padding: 14px; gap: 2px;
    background: #fff; border-radius: 18px; box-shadow: 0 24px 48px -16px rgb(0 16 22 / .28), 0 0 0 1px var(--ef-line, #e4ebed);
    opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity .16s, transform .16s, visibility .16s;
  }
  /* invisible bridge so the pointer can travel to the fly-out without it closing */
  .breakdance-dropdown-floater .breakdance-dropdown-links .breakdance-dropdown-links::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; width: 16px; }
  .breakdance-dropdown-floater .breakdance-dropdown-links .menu-item-has-children:hover > .breakdance-dropdown-links,
  .breakdance-dropdown-floater .breakdance-dropdown-links .menu-item-has-children:focus-within > .breakdance-dropdown-links { opacity: 1; visibility: visible; transform: none; }
  .breakdance-dropdown-floater .breakdance-dropdown-links .menu-item-has-children:hover > .breakdance-dropdown-link,
  .breakdance-dropdown-floater .breakdance-dropdown-links .menu-item-has-children:focus-within > .breakdance-dropdown-link { color: var(--ef-primary, #04495a); }
  /* the dropdown panel must not clip the fly-outs */
  .breakdance-dropdown-floater, .breakdance-dropdown-body, .breakdance-dropdown-section { overflow: visible !important; }
}
/* Phones / tablets (collapsed menu): nested levels sit indented under their parent. */
@media (max-width: 1023px) {
  .breakdance-dropdown-links .breakdance-dropdown-links { margin: 2px 0 6px 6px; padding-left: 14px; border-left: 2px solid var(--ef-line, #e4ebed); }
  .breakdance-dropdown-links .breakdance-dropdown-links .breakdance-dropdown-link { font-size: .94em; }
}

/* Product page: Add to cart + Buy now side by side; softer quantity stepper. */
body.single-product .bde-product .woocommerce-variation-add-to-cart,
body.single-product .bde-product form.cart:not(.variations_form) { flex-wrap: wrap; }
body.single-product .bde-product .single_add_to_cart_button.ef-buy-now { background: #fff !important; color: var(--ef-primary, #04495a) !important; box-shadow: inset 0 0 0 2px var(--ef-primary, #04495a); }
body.single-product .bde-product .single_add_to_cart_button.ef-buy-now:hover { background: var(--ef-primary-soft, #ecf7fb) !important; }
body.single-product .bde-product .quantity--number { border: 1.5px solid #d3dfe3 !important; border-radius: 999px !important; background: #fff; box-shadow: 0 1px 2px rgb(0 16 22 / .04); padding: 0 6px; display: inline-flex !important; align-items: center; }
body.single-product .bde-product .quantity--number .bde-quantity-button { width: 34px; height: 34px; border-radius: 50% !important; background-color: transparent; transition: background-color .16s; }
body.single-product .bde-product .quantity--number .bde-quantity-button:hover { background-color: var(--ef-primary-soft, #ecf7fb); }
body.single-product .bde-product .quantity--number input.qty { border: 0 !important; background: transparent !important; box-shadow: none !important; }
@media (max-width: 480px) {
  /* phones: quantity on its own line, then the two buttons side by side */
  body.single-product .bde-product .woocommerce-variation-add-to-cart .quantity,
  body.single-product .bde-product form.cart:not(.variations_form) .quantity { flex: 0 0 auto; }
}
@media (max-width: 600px) {
  body.single-product .bde-product .single_add_to_cart_button { padding: 0 12px !important; white-space: nowrap; font-size: 15px !important; }
}
