/* Christmas Deals USA v4.1 — Kadence brand identity and sitewide floating cart. */
/* Applied only after global.js confirms a branding insert. */
.cdh-custom-brand-active #masthead .site-branding,
.cdh-custom-brand-active .site-header .site-branding {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; gap: 10px !important; min-width: 0;
}
.cdh-custom-brand-active #masthead .site-branding .site-title-wrap,
.cdh-custom-brand-active #masthead .site-branding .site-title,
.cdh-custom-brand-active #masthead .site-branding .site-description {
  display: none !important;
}
.cdh-header-copy {
  min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline;
  column-gap: 12px; row-gap: 0;
  font-family: inherit; line-height: 1.2; text-align: left;
}
.cdh-header-copy a {color: #174632 !important; text-decoration: none !important;}
.cdh-header-copy .cdh-header-name {font-size: clamp(15px, 1.28vw, 21px);font-weight: 850;letter-spacing: -.018em;}
.cdh-header-copy .cdh-header-tagline {font-size: clamp(11px, .96vw, 14px);font-weight: 600;color:#8f2530;}
.cdh-custom-brand-active #masthead .site-branding img,
.cdh-custom-brand-active #masthead .custom-logo-link img {
  max-width: 89px !important; max-height: 86px !important;
  width: auto !important; height: auto !important; object-fit: contain !important;
}
@media(min-width: 768px) and (max-width: 1080px) {
  .cdh-header-copy {gap: 2px 8px;}
  .cdh-header-copy .cdh-header-name {font-size: 16px;}
  .cdh-header-copy .cdh-header-tagline {font-size: 11px;}
  .cdh-custom-brand-active #masthead .site-branding img,
  .cdh-custom-brand-active #masthead .custom-logo-link img {max-width: 70px!important; max-height: 74px!important;}
}
@media(max-width: 767px) {
  .cdh-custom-brand-active #masthead .site-branding,
  .cdh-custom-brand-active .site-header .site-branding {gap: 8px!important;}
  .cdh-header-copy {display:flex;flex-direction:column;gap:2px;max-width: min(59vw, 205px);}
  .cdh-header-copy .cdh-header-name {font-size: clamp(12px, 3.5vw, 16px);font-weight:800;white-space:normal;line-height:1.16;}
  .cdh-header-copy .cdh-header-tagline {font-size: clamp(9px, 2.5vw, 11px);line-height:1.22;}
  .cdh-custom-brand-active #masthead .site-branding img,
  .cdh-custom-brand-active #masthead .custom-logo-link img,
  .cdh-custom-brand-active .site-header .site-branding img {
    max-width: 57px!important;max-height: 62px!important;object-fit:contain!important;width:auto!important;height:auto!important;
  }
}
@media(max-width: 350px) {
  .cdh-header-copy {max-width: 152px;}
  .cdh-header-copy .cdh-header-name {font-size: 12px;}
  .cdh-header-copy .cdh-header-tagline {font-size: 9px;}
  .cdh-custom-brand-active #masthead .site-branding img,
  .cdh-custom-brand-active #masthead .custom-logo-link img {max-width:49px!important;max-height:54px!important;}
}
/* Cart is in a fixed corner, not in a separate full-width strip. */
a.cdh-floating-cart {
  --cdh-cart-red:#aa2230;
  position: fixed !important;z-index: 9998;right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  display: flex !important;align-items:center;justify-content:center;gap:9px;
  min-height: 52px;min-width: 118px;padding: 11px 12px 11px 16px;
  background: #17553c !important;color: #fff !important;
  border:1px solid rgba(255,255,255,.32);border-radius:999px;
  text-decoration:none!important;box-shadow:0 8px 26px rgba(15,51,35,.25);
  font-size:15px;line-height:1;font-weight:750;
  -webkit-tap-highlight-color:transparent;
}
a.cdh-floating-cart svg {width:22px;height:22px;flex:0 0 22px;}
a.cdh-floating-cart:hover {background:#0b3828!important;color:#fff!important;}
a.cdh-floating-cart:focus-visible {outline:3px solid #dfb35d;outline-offset:3px;}
a.cdh-floating-cart .cdh-cart-count {
  display:inline-flex;align-items:center;justify-content:center;
  min-width:26px;height:26px;border-radius:99px;background:#b52230;color:#fff;
  padding:0 6px;font-size:13px;font-weight:850;font-variant-numeric:tabular-nums;
}
@media(max-width:767px) {
  a.cdh-floating-cart {min-width:104px;min-height:48px;padding:9px 10px 9px 13px;gap:8px;font-size:13px;}
  a.cdh-floating-cart svg {width:20px;height:20px;flex-basis:20px;}
  a.cdh-floating-cart .cdh-cart-count {min-width:24px;height:24px;}
}
/* Do not block sensitive form controls on the Cart or Checkout pages. */
body.woocommerce-checkout a.cdh-floating-cart,
body.woocommerce-cart a.cdh-floating-cart {display:none!important;}
/* Consistent Kadence footer on every page. Copyright text comes from Customizer. */
#colophon .footer-html {font-size:14px;line-height:1.5;}
#colophon .cdh-footer-line {display:block;color:#fff;text-align:center;padding:5px 0;}
#colophon .cdh-footer-line a {color:#f0d18e!important;font-weight:800;text-decoration:none;}
#colophon .cdh-footer-line a:hover {text-decoration:underline;}
/* Legacy v4 footer (if old caches survive) must not duplicate the new copyright. */
.cdh-brand-credit {display:none!important;}

/* v4.2 — site-wide product search in the slim strip immediately under Kadence header.
   Independent from homepage shortcode; no extra header title/cart row. */
.cdh-site-search-strip,
.cdh-site-search-strip * { box-sizing: border-box; }
.cdh-site-search-strip {
  display: block;
  position: relative;
  z-index: 20;
  width: 100%;
  background: linear-gradient(95deg, #fffdf9 0%, #f8fbf7 100%);
  border-top: 1px solid #eee6d8;
  border-bottom: 1px solid #e8e5dc;
  box-shadow: 0 2px 8px rgba(20, 57, 37, .045);
}
.cdh-site-search-inner {
  width: min(1260px, 100%);
  margin: 0 auto;
  padding: 9px 24px;
}
.cdh-site-product-search {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0 !important;
  padding: 3px 4px 3px 12px;
  background: #fff;
  border: 1px solid #d4ddd3;
  border-radius: 11px;
  box-shadow: 0 1px 4px rgba(15, 57, 38, .04);
  overflow: hidden;
  gap: 9px;
}
.cdh-site-product-search:focus-within {
  border-color: #17563f;
  box-shadow: 0 0 0 3px rgba(23, 86, 63, .13);
}
.cdh-site-search-icon { display:flex; color:#56715d;flex: 0 0 20px;align-items:center;justify-content:center; }
.cdh-site-search-input[type="search"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 8px 2px !important;
  margin: 0 !important;
  height: 42px !important;
  min-height: 0 !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: none !important;
  width: 100% !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  color: #183e2d !important;
  text-overflow: ellipsis;
}
.cdh-site-search-input::placeholder {color:#718279;opacity:1;}
.cdh-site-search-submit {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  gap:8px;
  border:0 !important;
  border-radius:8px !important;
  min-width:107px;
  min-height:41px;
  padding:9px 15px !important;
  margin:0 !important;
  background:#b4232c !important;
  color:#fff !important;
  line-height: 1.2 !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:750 !important;
  cursor:pointer;
  box-shadow:none !important;
  transition:background-color .16s ease;
}
.cdh-site-search-submit:hover {background:#8c1b27 !important;color:#fff !important;}
.cdh-site-search-submit:focus-visible {outline:3px solid #b99452 !important;outline-offset:-3px;}
.cdh-site-search-submit svg {flex-shrink:0;width:19px;height:19px;}
.cdh-visually-hidden {position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(max-width:767px) {
  .cdh-site-search-inner {padding:7px 12px;}
  .cdh-site-product-search {min-height:46px;padding:3px 4px 3px 10px;gap:7px;border-radius:9px;}
  .cdh-site-search-icon {flex-basis:18px;}
  .cdh-site-search-icon svg {width:18px;height:18px;}
  .cdh-site-search-input[type="search"] {height:39px!important;font-size:16px!important;padding:6px 1px!important;}
  .cdh-site-search-submit {min-width:44px;min-height:39px;padding:8px 12px!important;border-radius:7px!important;}
  .cdh-site-search-submit span {display:none;}
}
@media(max-width:350px) {
  .cdh-site-search-inner {padding:6px 9px;}
  .cdh-site-product-search {gap:5px;}
  .cdh-site-search-submit {min-width:43px;padding:7px 10px!important;}
}
@media(prefers-reduced-motion:reduce){.cdh-site-search-submit{transition:none;}}

/* v4.3 global footer: uniform across home, shop, categories, products, cart, checkout, account. */
#colophon,
#colophon .site-footer-wrap,
#colophon .site-footer-row-container,
#colophon .site-footer-row-container-inner {
  background-color: #19543b !important;
  background-image: none !important;
}
#colophon .footer-html,
#colophon .footer-html-inner,
#colophon .footer-html a,
#colophon .site-footer-row-container-inner,
#colophon .site-footer-row-container-inner p {
  color: #fffdf8 !important;
}
#colophon .footer-html a { color: #f4d69b !important; }
#colophon .footer-html {text-align: center; font-weight: 500; line-height: 1.6;}
#colophon .footer-html-inner { text-align: center; }
.cdh-brand-credit, .cdh-footer-line {display:none !important;}

/* v4.3.2 — Keep the cart truly floating outside Kadence footer content.
   Hide it only while footer is visible, so it never covers copyright links. */
html body > a#cdh-floating-cart.cdh-floating-cart {
  position: fixed !important;
  z-index: 998 !important;
  right: max(14px, env(safe-area-inset-right, 0px)) !important;
  bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px)) !important;
  margin: 0 !important;
  float: none !important;
  transform: none !important;
  opacity: 1;
  visibility: visible;
  transition: opacity .18s ease, visibility .18s ease;
}
html.cdh-footer-visible body > a#cdh-floating-cart.cdh-floating-cart {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
 html body > a#cdh-floating-cart.cdh-floating-cart {
   right: max(12px, env(safe-area-inset-right, 0px)) !important;
   bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 14px)) !important;
 }
}
@media (prefers-reduced-motion: reduce) {
 html body > a#cdh-floating-cart.cdh-floating-cart {transition: none !important;}
}
/* Native Kadence copyright, identical for all pages */
#colophon .footer-html,
#colophon .footer-html-inner {
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
#colophon .site-bottom-footer-inner-wrap {min-height: 48px;}

/* v4.4.0 — site-wide navigation bridge, scoped to fallback components only. */
.cdh-store-nav-bridge,.cdh-footer-nav-bridge,.cdh-store-nav-bridge *, .cdh-footer-nav-bridge * {box-sizing:border-box;}
.cdh-store-nav-bridge {position:relative;z-index:40;background:#fffdf8;border-bottom:1px solid #e9e2d5;}
.cdh-nav-bridge-inner {max-width:1280px;margin:0 auto;padding:0 24px;}
.cdh-store-nav-bridge ul {list-style:none!important;margin:0!important;padding:0!important;}
.cdh-store-nav-bridge .cdh-bridge-desktop > .cdh-bridge-list {display:flex;gap:4px;align-items:center;flex-wrap:wrap;}
.cdh-store-nav-bridge li {position:relative;list-style:none!important;margin:0!important;}
.cdh-store-nav-bridge a {display:block;padding:13px 15px;color:#184832!important;font-weight:700;text-decoration:none!important;font-size:14px;line-height:1.4;}
.cdh-store-nav-bridge a:hover,.cdh-store-nav-bridge a:focus-visible {color:#af2532!important;background:#f9efe6;}
.cdh-store-nav-bridge li.current-menu-item>a,.cdh-store-nav-bridge li.current-menu-ancestor>a {color:#af2532!important;}
.cdh-store-nav-bridge .sub-menu {position:absolute;top:100%;left:0;width:max-content;min-width:225px;max-width:min(300px,95vw);padding:7px!important;background:#fffdfb;box-shadow:0 12px 36px #182d2033;border:1px solid #e8e2d5;border-radius:10px;display:none;z-index:50;}
.cdh-store-nav-bridge .sub-menu a {padding:11px 13px;white-space:normal;}
.cdh-store-nav-bridge li:hover>.sub-menu,.cdh-store-nav-bridge li:focus-within>.sub-menu {display:block;}
.cdh-store-nav-bridge .menu-item-has-children>a:after {content:' ▾';font-size:11px;color:#af2532;}
.cdh-bridge-mobile {display:none;}
/* When Kadence actually renders its native navigation, do not show an extra menu. */
html.cdh-native-desktop-nav .cdh-bridge-desktop {display:none!important;}
html.cdh-native-footer-nav .cdh-footer-nav-bridge {display:none!important;}
.cdh-footer-nav-bridge {padding:18px 12px 8px;background:transparent;}
.cdh-footer-nav-inner {max-width:1240px;margin:0 auto;padding:14px 18px;border:1px solid #e8e6de;border-radius:13px;background:#fffdf8;}
.cdh-footer-nav-inner ul.cdh-bridge-list {list-style:none!important;margin:0!important;padding:0!important;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 18px;}
.cdh-footer-nav-inner li {margin:0!important;padding:0!important;list-style:none!important;}
.cdh-footer-nav-inner a {color:#19543b!important;font-size:13px;font-weight:650;text-decoration:none!important;display:block;padding:7px 3px;line-height:1.4;}
.cdh-footer-nav-inner a:hover,.cdh-footer-nav-inner a:focus-visible {color:#b4232c!important;text-decoration:underline!important;}
@media(max-width:900px){
  .cdh-nav-bridge-inner {padding:0 12px;}
  .cdh-bridge-desktop {display:none!important;}
  .cdh-bridge-mobile {display:block;}
  html.cdh-native-mobile-nav .cdh-bridge-mobile {display:none!important;}
  .cdh-bridge-mobile summary {cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:46px;font-size:14px;font-weight:750;color:#19543b;padding:10px 8px;}
  .cdh-bridge-mobile summary::marker {content:'';}
  .cdh-bridge-mobile summary::-webkit-details-marker {display:none;}
  .cdh-bridge-mobile nav {border-top:1px solid #e6e8df;padding:4px 0 12px;}
  .cdh-bridge-mobile .cdh-bridge-list > li > a {padding:11px 10px;}
  .cdh-bridge-mobile .sub-menu {display:block!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;box-shadow:none!important;border:0!important;border-left:2px solid #d7ac59!important;border-radius:0!important;margin:0 0 3px 20px!important;padding:0 0 0 9px!important;background:transparent!important;}
  .cdh-bridge-mobile .sub-menu a {font-size:13px;padding:7px 11px!important;font-weight:600;}
  .cdh-bridge-mobile .menu-item-has-children>a:after {content:'';}
  .cdh-footer-nav-inner {padding:12px 10px;}
  .cdh-footer-nav-inner ul.cdh-bridge-list {gap:2px 10px;}
  .cdh-footer-nav-inner a {font-size:12px;padding:7px 4px;}
}
/* Ensure existing Kadence native Footer Navigation links have contrast on a light middle row.
   This does not affect the dark green compact copyright bar. */
#colophon .footer-navigation .menu a,
#colophon .footer-menu-container .menu a {color:#19543b!important;opacity:1!important;}
#colophon .footer-navigation .menu a:hover,
#colophon .footer-menu-container .menu a:hover {color:#b4232c!important;}
