.swj-b2b-hidden,
.swj-b2b-hidden-original-form,
.swj-b2b-replaced-original {
  display: none !important;
}

body.swj-b2b-enquiry-mode main > #price,
body.swj-b2b-enquiry-mode main > #experience,
body.swj-b2b-enquiry-mode main > #hospitality,
body.swj-b2b-enquiry-mode main > .swj-process,
body.swj-b2b-enquiry-mode main > .swj-about,
body.swj-b2b-enquiry-mode main > #contact {
  display: none !important;
}

body.swj-b2b-enquiry-mode #jinbaori-b2b-proposal:not(.swj-b2b-integrated-primary) {
  display: none !important;
}

body.swj-b2b-enquiry-mode #jinbaori-b2b-proposal.swj-b2b-integrated-primary,
body.swj-b2b-enquiry-mode #jinbaori-b2b-secondary {
  display: block !important;
  width: 100%;
}

.swj-hero-b2b-line {
  margin: 18px 0 0;
  font-weight: 700;
  line-height: 1.65;
}

.swj-hero-price-line {
  margin: 10px 0 0;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.swj-b2b-section {
  background: #f4efe4;
  color: #171713;
  padding: clamp(64px, 8vw, 112px) 22px;
  scroll-margin-top: 132px;
  overflow: visible;
}

#swj-b2b-moment-title,
#swj-b2b-venues-title,
#swj-b2b-details-title,
#jinbaori-b2b-enquiry {
  scroll-margin-top: 132px;
}

.swj-b2b-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.swj-b2b-section * {
  box-sizing: border-box;
}

.swj-b2b-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
}

.swj-b2b-section h2 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.swj-b2b-section h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

.swj-b2b-section p,
.swj-b2b-section li,
.swj-b2b-section dd {
  font-size: 16px;
  line-height: 1.72;
}

.swj-b2b-hero {
  padding: clamp(36px, 7vw, 82px);
  background: #171713;
  color: #fffdf8;
}

.swj-b2b-hero h2 {
  max-width: 970px;
}

.swj-b2b-lead {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(18px, 2.1vw, 23px) !important;
}

.swj-b2b-hero-line {
  margin: 0;
  font-weight: 700;
  letter-spacing: .02em;
}

.swj-b2b-experience-visual {
  margin: 0;
  padding: clamp(24px, 4vw, 54px) 0 0;
}

.swj-b2b-experience-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 23, 19, .18);
  box-shadow: 0 18px 60px rgba(31, 25, 14, .12);
}

.swj-b2b-experience-visual figcaption {
  margin-top: 9px;
  color: rgba(23, 23, 19, .62);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.swj-b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.swj-b2b-primary-button,
.swj-b2b-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.swj-b2b-primary-button {
  background: #fffdf8;
  color: #171713;
}

.swj-b2b-secondary-button {
  background: transparent;
  color: inherit;
}

.swj-b2b-primary-button:hover,
.swj-b2b-primary-button:focus,
.swj-b2b-secondary-button:hover,
.swj-b2b-secondary-button:focus {
  filter: contrast(.88);
}

.swj-b2b-content-section {
  padding: clamp(68px, 9vw, 118px) 0 0;
}

.swj-b2b-content-section > p:not(.swj-b2b-eyebrow),
.swj-b2b-origin > p:not(.swj-b2b-eyebrow),
.swj-b2b-bespoke > div > p:not(.swj-b2b-eyebrow) {
  max-width: 850px;
}

.swj-b2b-moment blockquote {
  max-width: 960px;
  margin: 34px 0 0;
  padding: 26px 30px;
  border-left: 4px solid #171713;
  background: #fffdf8;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.45;
}

.swj-b2b-use-cases,
.swj-b2b-reasons,
.swj-b2b-process {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(23, 23, 19, .2);
  background: rgba(23, 23, 19, .2);
}

.swj-b2b-use-cases {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.swj-b2b-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.swj-b2b-reasons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swj-b2b-use-cases article,
.swj-b2b-reasons article,
.swj-b2b-process article {
  min-height: 100%;
  padding: 28px;
  background: #fffdf8;
}

.swj-b2b-use-cases h3,
.swj-b2b-reasons h3,
.swj-b2b-process h3 {
  font-size: 20px;
}

.swj-b2b-use-cases p,
.swj-b2b-reasons p,
.swj-b2b-process p {
  margin-bottom: 0;
}

.swj-b2b-process span {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  opacity: .65;
}

.swj-b2b-bespoke {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(34px, 6vw, 66px);
  background: #171713;
  color: #fffdf8;
}

.swj-b2b-bespoke h2 {
  max-width: 720px;
}

.swj-b2b-bespoke .swj-b2b-primary-button {
  min-width: 230px;
}

body.swj-v21-page .swj-b2b-bespoke .swj-b2b-primary-button {
  color: #171713 !important;
}

.swj-b2b-purchase-button {
  background: #171713 !important;
  color: #fffdf8 !important;
  border-color: #171713 !important;
}

.swj-b2b-purchase-page .swj-b2b-product-size {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(23, 23, 19, .24);
  background: #f7f2e8;
  color: #171713;
}

.swj-b2b-purchase-page .swj-b2b-product-size label,
.swj-b2b-purchase-page .swj-b2b-product-size select {
  display: block;
  width: 100%;
}

.swj-b2b-purchase-page .swj-b2b-product-size select {
  min-height: 48px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 23, 19, .45);
  background: #fff;
  color: #171713;
}

.swj-b2b-purchase-page .swj-b2b-product-size p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

/* A size must be selected before purchase, so product-page express checkout
   is intentionally hidden. Stripe remains available on the Checkout page. */
.swj-b2b-purchase-page.single-product .wc-stripe-product-checkout-container,
.swj-b2b-purchase-page.single-product #wc-stripe-express-checkout-element {
  display: none !important;
}

.swj-b2b-planning {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  margin-top: 34px;
}

.swj-b2b-planning-card,
.swj-b2b-planning-copy {
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 19, .2);
  padding: clamp(26px, 4vw, 44px);
}

.swj-b2b-currency-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(23, 23, 19, .16);
  font-size: 14px;
  font-weight: 700;
}

.swj-b2b-currency-control select {
  min-width: 132px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 23, 19, .34);
  border-radius: 0;
  background: #fff;
  color: #171713;
  font: inherit;
}

.swj-b2b-currency-control select:focus {
  outline: 2px solid #171713;
  outline-offset: 2px;
}

.swj-b2b-planning-card dl {
  margin: 0;
}

.swj-b2b-planning-card dl > div {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(23, 23, 19, .14);
}

.swj-b2b-planning-card dl > div:first-child {
  padding-top: 0;
}

.swj-b2b-planning-card dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.swj-b2b-planning-card dt {
  font-weight: 700;
}

.swj-b2b-planning-card dd {
  margin: 0;
}

.swj-b2b-planning-copy h3 {
  font-size: 24px;
}

.swj-b2b-small-note {
  font-size: 13px !important;
  color: rgba(23, 23, 19, .72);
}

.swj-b2b-care {
  padding-bottom: clamp(68px, 9vw, 118px);
}

.swj-b2b-care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin-top: 24px;
}

.swj-b2b-care-grid ul {
  margin: 0;
  padding: 26px 26px 26px 46px;
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 19, .2);
}

.swj-b2b-origin {
  padding: clamp(40px, 7vw, 78px);
  background: #e7ddca;
}

.swj-b2b-origin-quote {
  margin-top: 28px;
  font-size: clamp(22px, 2.7vw, 32px) !important;
  line-height: 1.4 !important;
}

.swj-b2b-text-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.swj-b2b-founder {
  margin-top: clamp(64px, 9vw, 112px);
  padding: clamp(30px, 5vw, 56px);
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 19, .2);
}

.swj-b2b-founder h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.5vw, 58px);
}

.swj-b2b-founder-language {
  margin-top: 28px;
}

.swj-b2b-founder-language h3 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.swj-b2b-founder-role {
  font-weight: 700;
}

.swj-b2b-founder p:not(.swj-b2b-eyebrow) {
  max-width: 880px;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.75;
}

.swj-b2b-founder-closing {
  margin-top: 28px !important;
  font-size: 1.08em !important;
}

.swj-b2b-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-top: clamp(64px, 9vw, 112px);
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid #171713;
}

.swj-b2b-final-cta h2 {
  font-size: clamp(32px, 4.5vw, 56px);
}

.swj-b2b-final-cta p:last-child {
  margin-bottom: 0;
}

.swj-b2b-final-cta .swj-b2b-actions {
  max-width: 340px;
  justify-content: flex-end;
  margin-top: 0;
}

.swj-b2b-final-cta .swj-b2b-primary-button {
  background: #171713 !important;
  color: #fffdf8 !important;
  -webkit-text-fill-color: #fffdf8 !important;
}

.swj-b2b-final-cta .swj-b2b-secondary-button {
  color: #171713;
}

.swj-b2b-form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(72px, 10vw, 128px);
  padding-top: 44px;
  scroll-margin-top: 132px;
  overflow: visible;
}

.swj-b2b-form-copy h2 {
  font-size: clamp(34px, 4.5vw, 58px);
}

.swj-b2b-form-copy > .swj-b2b-form-intro {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.75;
}

.swj-b2b-payment-note {
  max-width: 560px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(23, 23, 19, .2);
  background: rgba(255, 253, 248, .72);
}

.swj-b2b-payment-note h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.swj-b2b-payment-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.swj-b2b-form-card {
  background: #fffdf8;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(23, 23, 19, .2);
  box-shadow: 0 18px 60px rgba(31, 25, 14, .08);
}

.swj-b2b-form label {
  display: block;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.swj-b2b-form input,
.swj-b2b-form select,
.swj-b2b-form textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 23, 19, .34);
  border-radius: 0;
  background: #fff;
  color: #171713;
  font: inherit;
}

.swj-b2b-form textarea {
  min-height: 150px;
  resize: vertical;
}

.swj-b2b-form input:focus,
.swj-b2b-form select:focus,
.swj-b2b-form textarea:focus {
  outline: 2px solid #171713;
  outline-offset: 2px;
}

.swj-b2b-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.swj-b2b-selection,
.swj-b2b-privacy {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.swj-b2b-selection {
  padding: 12px 14px;
  background: #f3eee4;
}

.swj-b2b-submit,
.swj-b2b-converted-button {
  cursor: pointer;
}

.swj-b2b-submit {
  width: 100%;
  min-height: 54px;
  border: 1px solid #171713;
  background: #171713;
  color: #fff;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
}

.swj-b2b-submit:hover,
.swj-b2b-submit:focus {
  background: #fff;
  color: #171713;
}

.swj-b2b-privacy {
  margin: 12px 0 0;
  color: rgba(23, 23, 19, .7);
}

.swj-b2b-notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.6;
}

.swj-b2b-notice-success {
  background: #eef7ed;
}

.swj-b2b-notice-error,
.swj-b2b-notice-rate_limited {
  background: #fff0ed;
}

.swj-b2b-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.swj-b2b-custom-page {
  background: #f4efe4;
}

body.swj-b2b-custom-page .entry-title,
body.swj-b2b-custom-page .wp-block-post-title {
  display: none;
}

.swj-b2b-custom-landing {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
  color: #171713;
}

.swj-b2b-custom-landing,
.swj-b2b-custom-landing * {
  box-sizing: border-box;
}

.swj-b2b-custom-landing h1,
.swj-b2b-custom-landing h2,
.swj-b2b-custom-landing h3,
.swj-b2b-custom-landing p,
.swj-b2b-custom-landing li {
  color: inherit;
}

.swj-b2b-custom-landing h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.swj-b2b-custom-landing h2 {
  max-width: 880px;
  margin: 0 0 28px;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.swj-b2b-custom-landing h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.25;
}

.swj-b2b-custom-landing p,
.swj-b2b-custom-landing li {
  font-size: 16px;
  line-height: 1.72;
}

.swj-b2b-custom-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(34px, 6vw, 76px);
  align-items: end;
  padding: clamp(34px, 6vw, 72px);
  background: #171713;
  color: #fffdf8;
}

.swj-b2b-custom-hero .swj-b2b-lead {
  max-width: 760px;
}

.swj-b2b-custom-price-panel {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(255, 253, 248, .45);
  background: rgba(255, 255, 255, .04);
}

.swj-b2b-custom-price-panel p,
.swj-b2b-custom-price-panel span {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.swj-b2b-custom-price-panel strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.swj-b2b-custom-price-panel span {
  margin-top: 7px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 253, 248, .28);
}

.swj-b2b-custom-section {
  padding-top: clamp(68px, 9vw, 112px);
}

.swj-b2b-custom-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.swj-b2b-custom-options article {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(23, 23, 19, .2);
  background: #fffdf8;
}

.swj-b2b-custom-options article > span {
  display: inline-block;
  margin-bottom: 34px;
  font-weight: 700;
  letter-spacing: .12em;
}

.swj-b2b-custom-options article p {
  margin-bottom: 0;
}

.swj-b2b-custom-process {
  max-width: 980px;
}

.swj-b2b-custom-process ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 23, 19, .22);
}

.swj-b2b-custom-process li {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 1.25fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(23, 23, 19, .22);
}

.swj-b2b-custom-process li span {
  color: rgba(23, 23, 19, .72);
}

.swj-b2b-custom-planning {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.swj-b2b-custom-planning ul {
  margin: 0;
  padding-left: 1.2em;
}

.swj-b2b-custom-currency-card {
  padding: 28px;
  border: 1px solid rgba(23, 23, 19, .22);
  background: #fffdf8;
}

.swj-b2b-custom-currency-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.swj-b2b-custom-currency-card select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 23, 19, .34);
  background: #fff;
  color: #171713;
}

.swj-b2b-custom-currency-card p {
  margin: 22px 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.swj-b2b-custom-currency-card small {
  display: block;
  color: rgba(23, 23, 19, .7);
  font-size: 13px;
  line-height: 1.6;
}

.swj-b2b-custom-enquiry {
  margin-top: clamp(72px, 10vw, 126px);
  border-top: 1px solid rgba(23, 23, 19, .24);
}

.swj-b2b-custom-payment-copy {
  max-width: 500px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(23, 23, 19, .2);
  background: rgba(255, 253, 248, .72);
  font-size: 14px !important;
}

.swj-b2b-home-custom-hidden {
  display: none !important;
}

/* Keep fabric photographs on the dedicated Fabric Collection page and avoid
   a flash of the legacy gallery while the page script initializes. */
body.swj-b2b-enquiry-mode #custom .swj-custom-grid,
body.swj-b2b-enquiry-mode #custom .swj-fabric-section,
body.swj-b2b-enquiry-mode #custom .swj-availability-note,
body.swj-b2b-enquiry-mode #custom .swj-custom-notes {
  display: none !important;
}

/* Keep the homepage focused on B2B use cases and the ready-made collection.
   The full custom/fabric content is rendered on the dedicated pages. */
body.swj-b2b-enquiry-mode main > #custom {
  display: none !important;
}

#custom .swj-b2b-fabric-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding: clamp(30px, 5vw, 56px);
  background: #171713;
  color: #fffdf8;
}

#custom .swj-b2b-fabric-teaser h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: inherit;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

#custom .swj-b2b-fabric-teaser p:not(.swj-b2b-eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.72;
}

#custom .swj-b2b-fabric-teaser .swj-b2b-actions {
  max-width: 330px;
  justify-content: flex-end;
  margin-top: 0;
}

/* The original Jinbaori stylesheet loads after this file and makes links
   inherit the white text of dark panels. Lock only light B2B buttons to dark
   text so their labels stay visible on the homepage and generated pages. */
.swj-b2b-hero .swj-b2b-primary-button,
.swj-b2b-bespoke .swj-b2b-primary-button,
.swj-b2b-custom-hero .swj-b2b-primary-button,
#custom .swj-b2b-fabric-teaser .swj-b2b-primary-button,
.swj-b2b-fabric-hero .swj-b2b-primary-button {
  border-color: #fffdf8 !important;
  background: #fffdf8 !important;
  color: #171713 !important;
  -webkit-text-fill-color: #171713 !important;
}

body.swj-b2b-fabric-page {
  background: #f4efe4;
}

body.swj-b2b-fabric-page .entry-title,
body.swj-b2b-fabric-page .wp-block-post-title {
  display: none;
}

.swj-b2b-fabric-landing {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
  color: #171713;
}

.swj-b2b-fabric-landing,
.swj-b2b-fabric-landing * {
  box-sizing: border-box;
}

.swj-b2b-fabric-landing h1,
.swj-b2b-fabric-landing h2,
.swj-b2b-fabric-landing p {
  color: inherit;
}

.swj-b2b-fabric-hero {
  padding: clamp(34px, 6vw, 72px);
  background: #171713;
  color: #fffdf8;
}

.swj-b2b-fabric-hero h1 {
  max-width: 920px;
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.swj-b2b-fabric-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.swj-b2b-fabric-jump-links a {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255, 253, 248, .45);
  color: #fffdf8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.swj-b2b-fabric-group {
  padding-top: clamp(72px, 9vw, 116px);
  scroll-margin-top: 120px;
}

.swj-b2b-fabric-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.swj-b2b-fabric-group h2,
.swj-b2b-fabric-cta h2 {
  margin: 0;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.swj-b2b-fabric-group-head > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.swj-b2b-fabric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.swj-b2b-fabric-card {
  min-width: 0;
  margin: 0;
  padding: 10px 10px 18px;
  border: 1px solid rgba(23, 23, 19, .16);
  background: #fffdf8;
}

.swj-b2b-fabric-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.swj-b2b-fabric-button:focus-visible {
  outline: 3px solid #171713;
  outline-offset: 3px;
}

.swj-b2b-fabric-button img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
}

.swj-b2b-fabric-card figcaption {
  padding: 16px 8px 0;
  color: #171713;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.swj-b2b-fabric-availability {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid rgba(23, 23, 19, .22);
  background: #fffdf8;
}

.swj-b2b-fabric-availability p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.swj-b2b-fabric-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin-top: clamp(72px, 9vw, 112px);
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid #171713;
}

.swj-b2b-fabric-cta p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.7;
}

.swj-b2b-fabric-cta .swj-b2b-primary-button {
  background: #171713 !important;
  color: #fffdf8 !important;
  -webkit-text-fill-color: #fffdf8 !important;
}

body.swj-b2b-modal-open {
  overflow: hidden;
}

.swj-b2b-fabric-modal[hidden] {
  display: none !important;
}

.swj-b2b-fabric-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 64px 22px 24px;
  background: rgba(0, 0, 0, .88);
}

.swj-b2b-fabric-modal-inner {
  display: grid;
  place-items: center;
  max-width: min(1100px, 100%);
  max-height: 100%;
}

.swj-b2b-fabric-modal-inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
}

.swj-b2b-fabric-modal-inner p {
  margin: 12px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.swj-b2b-fabric-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  background: #171713;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .swj-b2b-use-cases,
  .swj-b2b-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swj-b2b-bespoke,
  .swj-b2b-planning,
  .swj-b2b-final-cta,
  .swj-b2b-form-wrap {
    grid-template-columns: 1fr;
  }

  .swj-b2b-bespoke {
    align-items: start;
  }

  .swj-b2b-final-cta .swj-b2b-actions {
    max-width: none;
    justify-content: flex-start;
  }

  .swj-b2b-custom-hero,
  .swj-b2b-custom-planning {
    grid-template-columns: 1fr;
  }

  .swj-b2b-custom-price-panel,
  .swj-b2b-custom-currency-card {
    max-width: 540px;
  }

  #custom .swj-b2b-fabric-teaser,
  .swj-b2b-fabric-group-head,
  .swj-b2b-fabric-cta {
    grid-template-columns: 1fr;
  }

  #custom .swj-b2b-fabric-teaser .swj-b2b-actions {
    max-width: none;
    justify-content: flex-start;
  }

  .swj-b2b-fabric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .swj-b2b-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .swj-b2b-hero,
  .swj-b2b-origin,
  .swj-b2b-bespoke,
  .swj-b2b-founder,
  .swj-b2b-final-cta {
    padding: 26px;
  }

  .swj-b2b-use-cases,
  .swj-b2b-reasons,
  .swj-b2b-process,
  .swj-b2b-care-grid,
  .swj-b2b-grid,
  .swj-b2b-custom-options {
    grid-template-columns: 1fr;
  }

  .swj-b2b-planning-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .swj-b2b-actions,
  .swj-b2b-primary-button,
  .swj-b2b-secondary-button {
    width: 100%;
  }

  .swj-b2b-form-card,
  .swj-b2b-use-cases article,
  .swj-b2b-reasons article,
  .swj-b2b-process article,
  .swj-b2b-custom-options article {
    padding: 22px;
  }

  .swj-b2b-custom-landing {
    width: min(100% - 32px, 1180px);
    padding-top: 32px;
  }

  .swj-b2b-custom-hero {
    padding: 26px;
  }

  .swj-b2b-custom-process li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .swj-b2b-fabric-landing {
    width: min(100% - 32px, 1180px);
    padding-top: 32px;
  }

  .swj-b2b-fabric-hero,
  #custom .swj-b2b-fabric-teaser,
  .swj-b2b-fabric-cta {
    padding: 26px;
  }

  .swj-b2b-fabric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .swj-b2b-fabric-card {
    padding: 7px 7px 14px;
  }

  .swj-b2b-fabric-jump-links a {
    width: 100%;
    justify-content: center;
  }
}
