/*
Theme Name: WebSeven
Theme URI: https://domwerkusa.com/
Author: Drevos International
Author URI: https://domwerkusa.com/
Description: Custom theme for Drevos US storefront.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webseven
*/

/* === Conversion buttons: orange background, black text, no arrows (US) === */
html body .ws-btn2.ws-btn2:not(#dw-x),
html body .js-checkout-order.js-checkout-order:not(#dw-x),
html body .ws-configure-cta.ws-configure-cta:not(#dw-x),
html body .ws-start-cold__cta.ws-start-cold__cta:not(#dw-x),
html body .ws-start-lf-btn.ws-start-lf-btn:not(#dw-x),
html body .ws-btn2.ws-btn2:not(#dw-x):hover,
html body .js-checkout-order.js-checkout-order:not(#dw-x):hover,
html body .ws-configure-cta.ws-configure-cta:not(#dw-x):hover,
html body .ws-start-cold__cta.ws-start-cold__cta:not(#dw-x):hover,
html body .ws-start-lf-btn.ws-start-lf-btn:not(#dw-x):hover,
html body .ws-btn2.ws-btn2:not(#dw-x):focus,
html body .js-checkout-order.js-checkout-order:not(#dw-x):focus,
html body .ws-configure-cta.ws-configure-cta:not(#dw-x):focus,
html body .ws-start-cold__cta.ws-start-cold__cta:not(#dw-x):focus,
html body .ws-start-lf-btn.ws-start-lf-btn:not(#dw-x):focus,
html body .ws-btn2.ws-btn2:not(#dw-x) *,
html body .js-checkout-order.js-checkout-order:not(#dw-x) *,
html body .ws-configure-cta.ws-configure-cta:not(#dw-x) *,
html body .ws-start-cold__cta.ws-start-cold__cta:not(#dw-x) *,
html body .ws-start-lf-btn.ws-start-lf-btn:not(#dw-x) *{color:#111216 !important}
html body .ws-start-lf-btn.ws-start-lf-btn:not(#dw-x){background:linear-gradient(180deg,#f0761f,#e2670f) !important;border-color:transparent !important}
html body .ws-start-lf-btn.ws-start-lf-btn:not(#dw-x):hover{filter:brightness(1.06)}
html body .ws-start-lf-btn.ws-start-lf-btn:not(#dw-x)::after{content:none !important}

/* === Conversion button label: one size everywhere (reference: sticky ORDER NOW on the Start product page) === */
html body .ws-btn2:not(#dw-x),
html body .ws-btn2:not(#dw-x) *:not(svg):not(path),
html body .js-checkout-order:not(#dw-x),
html body .js-checkout-order:not(#dw-x) *:not(svg):not(path),
html body .ws-configure-cta:not(#dw-x),
html body .ws-configure-cta:not(#dw-x) *:not(svg):not(path),
html body .ws-start-cold__cta:not(#dw-x),
html body .ws-start-cold__cta:not(#dw-x) *:not(svg):not(path),
html body .ws-smart-cold__cta:not(#dw-x),
html body .ws-smart-cold__cta:not(#dw-x) *:not(svg):not(path),
html body .ws-start-lf-btn:not(#dw-x),
html body .ws-start-lf-btn:not(#dw-x) *:not(svg):not(path),
html body .drv-cta-btn:not(#dw-x),
html body .drv-cta-btn:not(#dw-x) *:not(svg):not(path),
html body .cart-button--banner:not(#dw-x),
html body .cart-button--banner:not(#dw-x) *:not(svg):not(path),
html body .ws-mobile-order:not(#dw-x),
html body .ws-mobile-order:not(#dw-x) *:not(svg):not(path),
html body .drv-leadform__submit:not(#dw-x),
html body .drv-leadform__submit:not(#dw-x) *:not(svg):not(path),
html body [class*="page-template-StartLand"] .btn-secondary:not(#dw-x),
html body [class*="page-template-StartLand"] .btn-secondary:not(#dw-x) *:not(svg):not(path),
html body .dw-quiz-cta a:not(#dw-x),
html body .dw-quiz-cta a:not(#dw-x) *:not(svg):not(path){font-family:Montserrat,sans-serif !important;font-size:16px !important;font-weight:700 !important;letter-spacing:-0.01em !important;text-transform:uppercase !important}
@media (max-width:980px){
html body .ws-btn2:not(#dw-x),
html body .ws-btn2:not(#dw-x) *:not(svg):not(path),
html body .js-checkout-order:not(#dw-x),
html body .js-checkout-order:not(#dw-x) *:not(svg):not(path),
html body .ws-configure-cta:not(#dw-x),
html body .ws-configure-cta:not(#dw-x) *:not(svg):not(path),
html body .ws-start-cold__cta:not(#dw-x),
html body .ws-start-cold__cta:not(#dw-x) *:not(svg):not(path),
html body .ws-smart-cold__cta:not(#dw-x),
html body .ws-smart-cold__cta:not(#dw-x) *:not(svg):not(path),
html body .ws-start-lf-btn:not(#dw-x),
html body .ws-start-lf-btn:not(#dw-x) *:not(svg):not(path),
html body .drv-cta-btn:not(#dw-x),
html body .drv-cta-btn:not(#dw-x) *:not(svg):not(path),
html body .cart-button--banner:not(#dw-x),
html body .cart-button--banner:not(#dw-x) *:not(svg):not(path),
html body .ws-mobile-order:not(#dw-x),
html body .ws-mobile-order:not(#dw-x) *:not(svg):not(path),
html body .drv-leadform__submit:not(#dw-x),
html body .drv-leadform__submit:not(#dw-x) *:not(svg):not(path),
html body [class*="page-template-StartLand"] .btn-secondary:not(#dw-x),
html body [class*="page-template-StartLand"] .btn-secondary:not(#dw-x) *:not(svg):not(path),
html body .dw-quiz-cta a:not(#dw-x),
html body .dw-quiz-cta a:not(#dw-x) *:not(svg):not(path){font-size:15px !important}
}

/* Smart product page, mobile: the short description is already shown under the title, hide the copy in the buy card */
@media (max-width:980px){
html body .ws-smart-page .buy-card .ws-product-card__description:not(#dw-x){display:none !important}
}

/* Start product page: "Configure your smokehouse" button centered like the other CTAs */
html body .ws-start-lf-actions:not(#dw-x){display:flex !important;justify-content:center !important;text-align:center !important}

/* Smart product page: a little air between the capacity cards and the price */
html body .ws-smart-page .buy-card .price-row:not(#dw-x){margin-top:22px !important}

/* === Conversion buttons: one size, same as the "Get a quote and price" form button (orange, black text, no arrow) === */
html body .drv-cta-btn:not(#dw-x),
html body .ws-start-cold__cta:not(#dw-x),
html body .ws-smart-cold__cta:not(#dw-x),
html body .ws-start-lf-btn:not(#dw-x),
html body .ws-tab__cta:not(#dw-x),
html body .drv-leadform__submit:not(#dw-x),
html body #order .js-checkout-order:not(#dw-x){display:flex !important;align-items:center !important;justify-content:center !important;gap:10px !important;width:100% !important;max-width:472px !important;height:48px !important;min-height:48px !important;padding:0 24px !important;margin-left:auto !important;margin-right:auto !important;border-radius:12px !important;background:#ff6200 !important;border:0 !important;color:#111216 !important;box-sizing:border-box !important;text-decoration:none !important}
html body .drv-cta-btn:not(#dw-x) *:not(svg):not(path):not(polyline):not(line),
html body .ws-start-cold__cta:not(#dw-x) *:not(svg):not(path):not(polyline):not(line),
html body .ws-smart-cold__cta:not(#dw-x) *:not(svg):not(path):not(polyline):not(line),
html body .ws-start-lf-btn:not(#dw-x) *:not(svg):not(path):not(polyline):not(line),
html body .ws-tab__cta:not(#dw-x) *:not(svg):not(path):not(polyline):not(line),
html body .drv-leadform__submit:not(#dw-x) *:not(svg):not(path):not(polyline):not(line),
html body #order .js-checkout-order:not(#dw-x) *:not(svg):not(path):not(polyline):not(line){color:#111216 !important}
html body .drv-cta-btn:not(#dw-x) .ws-btn__icon,
html body .ws-start-cold__cta:not(#dw-x) .ws-btn__icon,
html body .ws-smart-cold__cta:not(#dw-x) .ws-btn__icon,
html body .ws-start-lf-btn:not(#dw-x) .ws-btn__icon,
html body .ws-tab__cta:not(#dw-x) .ws-btn__icon,
html body .drv-leadform__submit:not(#dw-x) .ws-btn__icon,
html body #order .js-checkout-order:not(#dw-x) .ws-btn__icon,
html body .drv-leadform__submit:not(#dw-x) .drv-leadform__btn-icon,
html body .drv-cta-btn:not(#dw-x)::after,
html body .ws-start-cold__cta:not(#dw-x)::after,
html body .ws-smart-cold__cta:not(#dw-x)::after,
html body .ws-start-lf-btn:not(#dw-x)::after,
html body .ws-tab__cta:not(#dw-x)::after,
html body .drv-leadform__submit:not(#dw-x)::after,
html body #order .js-checkout-order:not(#dw-x)::after{display:none !important;content:none !important}
html body #order .js-checkout-order:not(#dw-x){max-width:none !important}

/* same width as the form button on phones; flat orange like the form button */
@media (max-width:980px){
html body .drv-cta-btn:not(#dw-x),
html body .ws-start-cold__cta:not(#dw-x),
html body .ws-smart-cold__cta:not(#dw-x),
html body .ws-start-lf-btn:not(#dw-x),
html body .ws-tab__cta:not(#dw-x),
html body .drv-leadform__submit:not(#dw-x){width:calc(100vw - 80px) !important;max-width:100% !important}
}
html body .ws-start-lf-btn.ws-start-lf-btn.ws-start-lf-btn:not(#dw-x){background:#ff6200 !important}

/* 25.11 FR: the long label "COMMANDER MAINTENANT" must fit the Smart mobile sticky button. */
@media (max-width: 980px) {
  html[lang^="fr"] body .ws-smart-sticky-order .ws-mobile-bar .ws-mobile-order:not(#dw-fr-fit) .cart-button__text:not(#dw-fr-fit) {
    font-size: min(15px, 3.4vw) !important;
    white-space: nowrap !important;
    letter-spacing: -0.02em !important;
  }
}
@media (max-width: 340px) {
  html[lang^="fr"] body .ws-smart-sticky-order .ws-mobile-bar .ws-mobile-order:not(#dw-fr-fit) .cart-button__text:not(#dw-fr-fit) {
    font-size: 3.1vw !important;
  }
}

/* 25.11: product pages — long localized labels stay inside their boxes (base for every country site). */
/* Desktop sticky order bar: the button grows with its label. */
html body .ws-desktop-bar__form .cart-button--banner:not(#dw-fit):not(#dw-fit2) {
  width: auto !important;
  max-width: none !important;
  min-width: 194px !important;
  padding: 5px 22px !important;
  white-space: nowrap !important;
}
/* Product tabs on phones: compact labels like domwerk-manufaktur.de. */
@media (max-width: 900px) {
  html body .tabs-sec .tab:not(#dw-fit) {
    font-family: "Roboto Slab", serif !important;
    font-size: 10.5px !important;
    letter-spacing: .42px !important;
    padding: 12px 8px !important;
    gap: 6px !important;
    line-height: 1.3 !important;
  }
  html body .ws-start-tabs-block__tab:not(#dw-fit) {
    font-size: 11px !important;
    letter-spacing: .3px !important;
    padding: 12px 8px !important;
    line-height: 1.3 !important;
  }
}
/* Start/Smart control cards: the control name wraps inside its own card. */
html body .ws-start-control-btn:not(#dw-fit) {
  min-width: 0 !important;
}
html body .ws-start-control-name:not(#dw-fit) {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  min-width: 0 !important;
  line-height: 1.2 !important;
  overflow-wrap: break-word !important;
}
/* Review summary: star labels on one line, aligned bars. */
html body .ws-rev__bar:not(#dw-fit) {
  grid-template-columns: 5.2em minmax(0, 1fr) 44px !important;
  align-items: center !important;
}
html body .ws-rev__bar small:not(#dw-fit) {
  white-space: nowrap !important;
  font-size: 14px !important;
}
@media (max-width: 640px) {
  html body .ws-rev__score:not(#dw-fit) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 2px 12px !important;
  }
  html body .ws-rev__num:not(#dw-fit) {
    font-size: 44px !important;
    line-height: 1 !important;
  }
  html body .ws-rev__based:not(#dw-fit) {
    flex-basis: 100% !important;
  }
}
