.wds-brands,.wds-brands *{box-sizing:border-box}
.wds-brands{--wb-ink:#141311;--wb-bg:#faf8f5;--wb-card:#ffffff;--wb-line:#e5ddd4;--wb-line-strong:#d5c5b5;--wb-gold:#a1836a;--wb-muted:#756a60;position:relative;width:100%;padding:clamp(40px,5vw,72px) 0;background:var(--wb-bg);color:var(--wb-ink);font-family:inherit}
.wds-brands__inner{width:min(1180px,calc(100% - 48px));margin:0 auto}
.wds-brands__header{max-width:760px;margin:0 0 30px}
.wds-brands__eyebrow{display:block;color:var(--wb-gold);font-size:10px;letter-spacing:.18em;font-weight:800;margin-bottom:12px}
.wds-brands__heading{color:var(--wb-ink)!important;font-size:clamp(30px,4.2vw,56px)!important;line-height:1.04!important;letter-spacing:-.05em!important;font-weight:700!important;margin:0 0 14px!important;text-transform:none!important;font-family:inherit!important}
.wds-brands__intro{font-size:15px;line-height:1.72;color:var(--wb-muted);margin:0!important;max-width:660px}
.wds-brands__grid{display:grid;grid-template-columns:repeat(var(--wds-brands-columns,4),minmax(0,1fr));gap:18px}
.wds-brands__card{display:flex;flex-direction:column;min-width:0;background:linear-gradient(180deg,#fff 0%,#fdfbf8 100%);border:1px solid var(--wb-line);border-radius:20px;overflow:hidden;text-decoration:none!important;color:var(--wb-ink)!important;transition:border-color .22s,transform .22s,box-shadow .22s,background .22s;box-shadow:0 1px 0 rgba(20,19,17,.02)}
.wds-brands__card:hover{transform:translateY(-4px);border-color:var(--wb-line-strong);box-shadow:0 16px 34px rgba(28,23,18,.07)}
.wds-brands__card:focus-visible{outline:2px solid var(--wb-gold);outline-offset:3px}
.wds-brands__art{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;padding:26px 22px;background:radial-gradient(circle at top right,rgba(161,131,106,.10),transparent 35%),linear-gradient(180deg,#fff 0%,#fbf8f4 100%);border-bottom:1px solid #efe8df}
.wds-brands__art img{display:block;max-width:76%;max-height:72px;width:auto;height:auto;object-fit:contain!important;filter:none}
.wds-brands__wordmark{font-size:clamp(18px,2vw,28px);font-weight:700;letter-spacing:-.035em;text-align:center;overflow-wrap:anywhere}
.wds-brands__content{display:block;padding:16px 18px 8px}
.wds-brands__label{display:inline-block;font-size:10px;line-height:1;letter-spacing:.16em;text-transform:uppercase;color:var(--wb-gold);font-weight:800;margin-bottom:10px}
.wds-brands__name{display:block;font-size:24px!important;line-height:1.12!important;letter-spacing:-.04em!important;font-weight:700!important;margin:0 0 10px!important;color:var(--wb-ink)!important;font-family:inherit!important}
.wds-brands__description{display:block;color:var(--wb-muted);font-size:13px;line-height:1.65;min-height:42px}
.wds-brands__description--placeholder{color:#8b7f73}
.wds-brands__meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 18px;margin-top:auto}
.wds-brands__cta{font-size:13px;font-weight:700;line-height:1;color:var(--wb-ink)}
.wds-brands__arrow{flex:0 0 18px;width:18px;height:18px;color:var(--wb-gold)}
.wds-brands__empty{margin:0;color:#776d63}
@media(max-width:1080px){.wds-brands__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.wds-brands{padding:34px 0 40px}.wds-brands__inner{width:calc(100% - 32px)}.wds-brands__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wds-brands__heading{font-size:clamp(28px,8vw,40px)!important}.wds-brands__art{padding:18px 14px;aspect-ratio:4/3}.wds-brands__art img{max-width:82%;max-height:56px}.wds-brands__content{padding:14px 14px 8px}.wds-brands__name{font-size:18px!important}.wds-brands__description{font-size:12px;min-height:unset}.wds-brands__meta{padding:12px 14px 14px}}
@media(max-width:420px){.wds-brands__grid{grid-template-columns:1fr}.wds-brands__art{aspect-ratio:16/9}.wds-brands__name{font-size:22px!important}.wds-brands__art img{max-height:64px}}
@media(prefers-reduced-motion:reduce){.wds-brands__card{transition:none}.wds-brands__card:hover{transform:none}}

/* v1.1.3: make typography follow WDS sans-serif (theme was supplying monospace). */
.wds-brands, .wds-brands * { font-family: Arial, Helvetica, sans-serif !important; }
.wds-brands__eyebrow,.wds-brands__label { letter-spacing:.14em !important; }
.wds-brands__art { overflow:hidden; aspect-ratio:16/9; min-height:175px; padding:14px 20px; }
.wds-brands__art img { width:100%; height:100%; max-width:90%; max-height:145px; object-fit:contain !important; object-position:center; }
.wds-brands__heading { max-width:720px; }
.wds-brands__description { font-size:13px; line-height:1.55; }
@media (max-width:760px) {
  .wds-brands__art { min-height:125px; aspect-ratio:16/10; padding:10px 12px; }
  .wds-brands__art img { max-width:92%; max-height:115px; }
}
@media (max-width:420px) {
  .wds-brands__art { min-height:145px; aspect-ratio:16/9; }
  .wds-brands__art img { max-height:128px; }
}

/* WooCommerce brand archives: editorial brand portfolio */
.wds-brand-portfolio,.wds-brand-portfolio *{box-sizing:border-box;font-family:Arial,Helvetica,sans-serif!important}
.wds-brand-portfolio{--bp-ink:#171615;--bp-warm:#faf8f5;--bp-muted:#776d63;--bp-line:#e9dfd6;--bp-accent:#af8a70;position:relative;width:100%;background:var(--bp-warm);color:var(--bp-ink);padding:30px 0 76px}
.wds-brand-portfolio__inner{width:min(1170px,calc(100% - 48px));margin:0 auto}
.wds-brand-portfolio__breadcrumb{display:flex;align-items:center;gap:9px;font-size:11px;color:#938779;margin:0 0 24px;flex-wrap:wrap}
.wds-brand-portfolio__breadcrumb a{color:#746457;text-decoration:none}
.wds-brand-portfolio__breadcrumb a:hover{text-decoration:underline}
.wds-brand-portfolio__hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;align-items:stretch;padding:42px 0 58px}
.wds-brand-portfolio__copy{padding:22px 0;min-width:0}
.wds-brand-portfolio__eyebrow{display:block;font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--bp-accent);margin-bottom:18px}
.wds-brand-portfolio h1{font-size:clamp(43px,5.2vw,77px)!important;font-weight:700!important;line-height:1.07!important;letter-spacing:-.05em!important;text-transform:none!important;color:var(--bp-ink)!important;margin:0 0 19px!important}
.wds-brand-portfolio__rule{display:block;width:52px;height:2px;background:var(--bp-accent);margin:0 0 24px}
.wds-brand-portfolio__copy h2{font-size:clamp(23px,2.5vw,32px)!important;letter-spacing:-.035em!important;line-height:1.2!important;margin:0 0 16px!important;color:var(--bp-ink)!important}
.wds-brand-portfolio__story,.wds-brand-portfolio__story p{font-size:14px!important;line-height:1.82!important;color:var(--bp-muted)!important;margin:0 0 14px!important;max-width:600px}
.wds-brand-portfolio__back{display:inline-flex;align-items:center;gap:14px;color:var(--bp-ink)!important;font-weight:700;font-size:12px;text-decoration:none!important;border-bottom:1px solid var(--bp-accent);padding:10px 0;margin-top:15px}
.wds-brand-portfolio__back svg{width:17px;height:17px;color:var(--bp-accent)}
.wds-brand-portfolio__logo-panel{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--bp-line);border-radius:16px;padding:40px;min-height:300px;overflow:hidden}
.wds-brand-portfolio__logo-panel img{display:block;max-width:min(80%,380px);max-height:220px;width:auto;height:auto;object-fit:contain!important}
.wds-brand-portfolio__logo-panel strong{font-size:clamp(30px,5vw,65px);text-align:center;letter-spacing:-.05em}
.wds-brand-portfolio__products{border-top:1px solid var(--bp-line);padding:43px 0 0}
.wds-brand-portfolio__section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.wds-brand-portfolio__section-heading .wds-brand-portfolio__eyebrow{margin-bottom:9px}
.wds-brand-portfolio__section-heading h2{margin:0!important;color:var(--bp-ink)!important;font-size:clamp(27px,3.5vw,43px)!important;letter-spacing:-.05em!important;line-height:1.1!important}
.wds-brand-portfolio__section-heading h2 span{color:var(--bp-accent)}
.wds-brand-portfolio__section-heading p{font-size:12px;color:var(--bp-muted);margin:0}
.wds-brand-portfolio__product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.wds-brand-portfolio__product{min-width:0}
.wds-brand-portfolio__product-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#fff;border:1px solid var(--bp-line);border-radius:12px;overflow:hidden;text-decoration:none}
.wds-brand-portfolio__product-image img{width:100%;height:100%;object-fit:contain;padding:12px;transition:transform .25s}
.wds-brand-portfolio__product-image:hover img{transform:scale(1.035)}
.wds-brand-portfolio__product-copy{padding:14px 2px}
.wds-brand-portfolio__product-brand{display:block;font-weight:750;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--bp-accent);margin-bottom:8px}
.wds-brand-portfolio__product h3{font-weight:700!important;font-size:16px!important;line-height:1.35!important;letter-spacing:-.02em!important;margin:0 0 9px!important}
.wds-brand-portfolio__product h3 a{text-decoration:none!important;color:var(--bp-ink)!important}
.wds-brand-portfolio__price{font-size:14px;font-weight:650;color:var(--bp-ink)}
.wds-brand-portfolio__coming{border:1px solid var(--bp-line);background:#fff;border-radius:14px;padding:38px 32px;max-width:680px}
.wds-brand-portfolio__coming .wds-brand-portfolio__eyebrow{margin-bottom:12px}
.wds-brand-portfolio__coming h3{font-size:26px!important;letter-spacing:-.035em!important;color:var(--bp-ink)!important;margin:0 0 9px!important}
.wds-brand-portfolio__coming p{font-size:14px;color:var(--bp-muted);line-height:1.7;max-width:500px;margin:0 0 15px!important}
.wds-brand-portfolio__coming a{font-size:12px;font-weight:700;color:var(--bp-ink)!important;text-decoration:underline;text-underline-offset:5px}
.wds-brand-portfolio__pagination{margin:22px 0 0}.wds-brand-portfolio__pagination ul{display:flex;gap:8px;list-style:none;margin:0;padding:0}.wds-brand-portfolio__pagination a,.wds-brand-portfolio__pagination span{display:block;padding:8px 13px;border:1px solid var(--bp-line);border-radius:7px;text-decoration:none}.wds-brand-portfolio__pagination .current{background:var(--bp-ink);color:white}
@media(max-width:900px){.wds-brand-portfolio__hero{gap:22px}.wds-brand-portfolio__product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wds-brand-portfolio__logo-panel{padding:30px;min-height:230px}}
@media(max-width:650px){.wds-brand-portfolio{padding:18px 0 45px}.wds-brand-portfolio__inner{width:calc(100% - 32px)}.wds-brand-portfolio__breadcrumb{margin-bottom:8px}.wds-brand-portfolio__hero{grid-template-columns:1fr;gap:16px;padding:18px 0 32px}.wds-brand-portfolio__copy{padding:0}.wds-brand-portfolio h1{font-size:clamp(35px,9vw,51px)!important}.wds-brand-portfolio__eyebrow{font-size:9px;margin-bottom:12px}.wds-brand-portfolio__logo-panel{min-height:190px;padding:24px;order:-1}.wds-brand-portfolio__logo-panel img{max-height:120px}.wds-brand-portfolio__copy h2{font-size:24px!important}.wds-brand-portfolio__story,.wds-brand-portfolio__story p{font-size:13px!important}.wds-brand-portfolio__products{padding:28px 0 0}.wds-brand-portfolio__product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wds-brand-portfolio__product h3{font-size:13px!important}.wds-brand-portfolio__product-image img{padding:6px}.wds-brand-portfolio__coming{padding:26px 20px}}

/* v1.1.5 — clean brand directory: image and brand name only. */
.wds-brands__card{border-radius:17px!important;overflow:hidden;box-shadow:none!important}
.wds-brands__content{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:72px;padding:20px 22px!important;margin:0!important;background:#fff!important}
.wds-brands__name{font-size:20px!important;line-height:1.25!important;margin:0!important;letter-spacing:-.035em!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important}
.wds-brands__arrow{width:18px!important;height:18px!important;flex:0 0 18px}
.wds-brands__art{border-bottom:1px solid var(--wb-line)!important}
.wds-brands__grid{align-items:stretch}
/* Remove the Kadence white buffer just before the shortcode section. */
body:has(.wds-brands) #inner-wrap,body:has(.wds-brands) #primary,body:has(.wds-brands) .content-area,body:has(.wds-brands) .content-container{padding-top:0!important;margin-top:0!important}
body:has(.wds-brands) .entry-content > .wp-block-shortcode:first-child,body:has(.wds-brands) .entry-content > .wp-block-html:first-child{margin-top:0!important}
.wds-brands{margin-top:0!important}
.wds-brand-portfolio{padding-top:36px!important}
.wds-brand-portfolio__hero{padding-top:20px!important}
@media(max-width:760px){.wds-brands__content{min-height:64px;padding:15px 16px!important}.wds-brands__name{font-size:17px!important}}
@media(max-width:420px){.wds-brands__content{min-height:66px}.wds-brands__name{font-size:20px!important}}


/* v1.1.6 — consistent uncropped logo frames on every card. */
.wds-brands__art{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio: 16 / 9!important;
  padding:18px 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.wds-brands__art img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
}
/* The portfolio uses the same fitting rule, but has a larger presentation panel. */
.wds-brand-portfolio__logo-panel img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:240px!important;
  object-fit:contain!important;
  object-position:center!important;
}
/* Remove the white Kadence spacing surrounding ONLY the shortcode page.
   Also match the parent background so no white stripe can show through. */
body.wds-brands-directory,
body.wds-brands-directory #inner-wrap,
body.wds-brands-directory #primary,
body.wds-brands-directory #main,
body.wds-brands-directory .site-main,
body.wds-brands-directory .site-content,
body.wds-brands-directory .content-container,
body.wds-brands-directory .content-area,
body.wds-brands-directory .entry,
body.wds-brands-directory .entry-content-wrap{
  background:#faf8f5!important;
}
body.wds-brands-directory .site-content,
body.wds-brands-directory .content-container,
body.wds-brands-directory .content-area,
body.wds-brands-directory #primary,
body.wds-brands-directory #main,
body.wds-brands-directory .site-main,
body.wds-brands-directory .entry-content-wrap{
  padding-top:0!important;
  margin-top:0!important;
}
body.wds-brands-directory .entry-content,
body.wds-brands-directory .entry-content > .wp-block-shortcode,
body.wds-brands-directory .entry-content > .wp-block-html{
  margin-top:0!important;
  margin-bottom:0!important;
}
body.wds-brands-directory .wds-brands{margin:0!important}
@media (max-width:760px){
  .wds-brands__art{aspect-ratio: 16 / 10!important;padding:12px 14px!important}
  .wds-brand-portfolio__logo-panel img{max-height:175px!important}
}
@media (max-width:420px){
  .wds-brands__art{aspect-ratio:16 / 9!important;padding:14px 18px!important}
}

/* v1.1.7 — Brand portfolio logo: artwork only, no card/container decoration. */
.wds-brand-portfolio__logo-panel{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:clamp(10px,2vw,30px)!important;
  min-height:0!important;
  overflow:visible!important;
}
.wds-brand-portfolio__logo-panel img{
  width:100%!important;
  height:auto!important;
  max-width:440px!important;
  max-height:260px!important;
  object-fit:contain!important;
  object-position:center!important;
}
/* Small screens: compact hero and genuinely two product cards per row. */
@media(max-width:650px){
 .wds-brand-portfolio__hero{gap:8px!important;padding-bottom:25px!important}
 .wds-brand-portfolio__logo-panel{padding:8px 18px 14px!important;min-height:0!important}
 .wds-brand-portfolio__logo-panel img{max-width:240px!important;max-height:105px!important;margin:auto!important}
 .wds-brand-portfolio__product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .wds-brand-portfolio__product{min-width:0!important}
 .wds-brand-portfolio__product-image{width:100%!important;aspect-ratio:1/1!important;border-radius:9px!important}
 .wds-brand-portfolio__product-image img{width:100%!important;height:100%!important;object-fit:contain!important;padding:7px!important}
 .wds-brand-portfolio__product-copy{padding:9px 1px!important}
 .wds-brand-portfolio__product-brand{font-size:8px!important;letter-spacing:.055em!important;margin-bottom:5px!important}
 .wds-brand-portfolio__product h3{font-size:12px!important;line-height:1.3!important;margin:0 0 6px!important;overflow-wrap:anywhere}
 .wds-brand-portfolio__price{font-size:12px!important}
 .wds-brand-portfolio__products{padding-top:23px!important}
 /* Partners directory: two cards on all phone widths. */
 .wds-brands__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .wds-brands__art{aspect-ratio:4/3!important;padding:10px!important}
 .wds-brands__content{padding:11px 10px!important;min-height:55px!important;gap:6px!important}
 .wds-brands__name{font-size:clamp(12px,3.65vw,16px)!important;line-height:1.2!important}
 .wds-brands__arrow{width:14px!important;height:14px!important;flex-basis:14px!important}
}
@media(max-width:350px){
 .wds-brand-portfolio__product-grid,.wds-brands__grid{gap:7px!important}
 .wds-brands__name{font-size:12px!important}
 .wds-brand-portfolio__product h3{font-size:11px!important}
}

/* v1.1.8 — Tight, consistent vertical rhythm on the Partners directory only.
   Does not affect brand portfolios, WooCommerce archives or the global footer. */
body.wds-brands-directory .wds-brands {
  padding-top:clamp(20px,2.6vw,36px)!important;
  padding-bottom:clamp(20px,2.6vw,36px)!important;
}
body.wds-brands-directory .wds-brands__header{margin-bottom:20px!important}
body.wds-brands-directory .entry-content > :last-child{margin-bottom:0!important}
@media(max-width:760px){
 body.wds-brands-directory .wds-brands{padding-top:20px!important;padding-bottom:20px!important}
 body.wds-brands-directory .wds-brands__header{margin-bottom:18px!important}
 body.wds-brands-directory .wds-brands__eyebrow{margin-bottom:8px!important}
 body.wds-brands-directory .wds-brands__heading{margin-bottom:9px!important}
}
@media(max-width:420px){
 body.wds-brands-directory .wds-brands{padding-top:18px!important;padding-bottom:18px!important}
}

/* v1.1.9 — header-to-content gap fixes scoped to directory and product-brand portfolio. */
body.wds-brands-directory #inner-wrap,
body.wds-brands-directory #wrapper,
body.tax-product_brand #inner-wrap,
body.tax-product_brand #wrapper { background:#faf8f5!important; }
body.wds-brands-directory .site-content,
body.tax-product_brand .site-content,
body.wds-brands-directory .content-container,
body.tax-product_brand .content-container,
body.wds-brands-directory #primary,
body.tax-product_brand #primary { margin-top:0!important; padding-top:0!important; }
body.wds-brands-directory .entry,
body.wds-brands-directory .entry-content-wrap { margin-top:0!important; padding-top:0!important; }
body.wds-brands-directory .wds-brands { padding-top:16px!important; }
body.tax-product_brand .wds-brand-portfolio { padding-top:0!important; }
body.tax-product_brand .wds-brand-portfolio__hero { padding-top:18px!important; }
.wds-brand-portfolio__social{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;margin:18px 0 6px}
.wds-brand-portfolio__social a{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;color:#171615!important;text-decoration:none!important;border-bottom:1px solid #af8a70;padding:7px 0}
.wds-brand-portfolio__social a:hover{color:#a1836a!important}
@media(max-width:650px){
 body.wds-brands-directory .wds-brands{padding-top:12px!important}
 body.tax-product_brand .wds-brand-portfolio__hero{padding-top:10px!important}
 .wds-brand-portfolio__social{margin:12px 0 4px}
}

.wds-brand-portfolio__external-arrow{display:block;width:14px;height:14px;flex:0 0 14px;transition:transform .2s ease}
.wds-brand-portfolio__social a:hover .wds-brand-portfolio__external-arrow{transform:translate(2px,-2px)}
@media(prefers-reduced-motion:reduce){.wds-brand-portfolio__external-arrow{transition:none}}
