/* Keep Interspire's form, validation, shipping, and payment states in control. */
body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(
  input:not([type]), input:is([type="text"], [type="email"], [type="password"], [type="search"], [type="tel"], [type="number"]),
  select, textarea
) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid var(--style-line);
  border-radius: 5px;
  background: var(--style-surface);
  color: var(--style-ink);
  font: inherit;
  line-height: 1.35;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) textarea {
  min-height: 82px;
  resize: vertical;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--wg-blue);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid var(--wg-blue);
  outline-offset: 2px;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(input, select, textarea, button):disabled {
  cursor: not-allowed;
  opacity: .7;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(
  button[type="submit"], input[type="submit"], .Submit > input[type="button"], .Submit > button[type="button"]
) {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid var(--wg-blue);
  border-radius: 5px;
  background: var(--wg-blue);
  color: #fff;
  font: 750 13px / 1.3 var(--style-heading);
  white-space: normal;
  cursor: pointer;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(
  button[type="submit"], input[type="submit"], .Submit > input[type="button"], .Submit > button[type="button"]
):not(:disabled):hover {
  border-color: var(--wg-blue-hover);
  background: var(--wg-blue-hover);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(.HorizontalFormContainer, .VerticalFormContainer) dl {
  margin: 0;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.HorizontalFormContainer, .VerticalFormContainer) dt {
  color: var(--style-ink);
  font-weight: 700;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.HorizontalFormContainer, .VerticalFormContainer) dd {
  min-width: 0;
  margin-block-end: 9px;
  overflow-wrap: anywhere;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.CreateAccount, .AccountLogin) {
  box-sizing: border-box;
  float: none;
  width: 100%;
  min-width: 0;
  margin-block: 0 12px;
  padding: 12px;
  border: 1px solid var(--style-line);
  background: var(--style-surface);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :where(div, section, form):has(> .CreateAccount):has(> .AccountLogin) > :is(.CreateAccount, .AccountLogin) {
  float: left;
  width: calc(50% - 5px);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :where(div, section, form):has(> .AccountLogin) > .CreateAccount {
  margin-inline-end: 10px;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :where(div, section):has(> .CreateAccount):has(> .AccountLogin)::after {
  content: "";
  display: block;
  clear: both;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.CreateAccount, .AccountLogin) :is(.HorizontalFormContainer, .VerticalFormContainer) :is(dt, dd) {
  float: none;
  width: auto;
  margin-inline: 0;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.CreateAccount, .AccountLogin) .HorizontalFormContainer p.Submit {
  margin-inline: 0;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.ShippingAddressList, .YourAccount) {
  overflow-wrap: anywhere;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .ShippingAddressList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 10px;
  margin-block-end: 12px;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .ShippingAddressList > li {
  box-sizing: border-box;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--style-line);
  background: var(--style-wash);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(table.General, table.CartContents) {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--style-line);
  border-collapse: collapse;
  background: var(--style-surface);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(table.General, table.CartContents) > thead > tr > th {
  border-bottom: 1px solid var(--style-line);
  background: var(--wg-slate);
  color: #fff;
  font-weight: 750;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(table.General, table.CartContents) > tbody > tr > td {
  border-bottom: 1px solid var(--style-line);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) table.CartContents > :is(tbody, tfoot) > .SubTotal > td {
  background: var(--style-wash);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .CartContents :is(.ProductName, .CartProductFieldsRow) {
  overflow-wrap: anywhere;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.EstimateShipping, .CheckoutRedeemCoupon, .SearchTips .Examples) {
  box-sizing: border-box;
  max-width: 100%;
  padding: 10px;
  border: 1px solid var(--style-line);
  background: var(--style-wash);
  color: var(--style-ink);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .ExpressCheckoutBlock {
  margin-block: 0 10px;
  border: 1px solid var(--style-line);
  padding: 0;
  background: var(--style-surface);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .ExpressCheckoutTitle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 8px 10px;
  margin: 0;
  background: var(--style-wash);
  color: var(--style-ink);
  font: 750 14px / 1.4 var(--style-heading);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .ExpressCheckoutTitle :is(.ExpressCheckoutCompletedContent, .ChangeLink) {
  position: static;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .ExpressCheckoutTitle .ChangeLink {
  order: 1;
  margin-inline-start: auto;
  color: var(--style-accent);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .ExpressCheckoutContent {
  padding: 10px;
  border-top: 1px solid var(--style-line);
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.BillingDetails, .ShippingDetails) {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(#SearchPage, .SearchTips) .SortBox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList:not(.List) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 8px;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList > li {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--style-line);
  background: var(--style-surface);
  overflow-wrap: anywhere;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList.List > li {
  display: flow-root;
  margin-block-end: 8px;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList:not(.List) > li {
  float: none;
  width: auto;
  min-height: 0;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList:not(.List) .ProductImage {
  box-sizing: border-box;
  float: none;
  width: auto;
  border: 0;
  border-radius: 0;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList .ProductImage img {
  max-width: 100%;
  object-fit: contain;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList .ProductDetails {
  min-height: 0;
}

body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.InfoMessage, .SuccessMessage, .ErrorMessage) {
  box-sizing: border-box;
  max-width: 100%;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.BillingDetails, .ShippingDetails, .EstimateShipping),
  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :where(div, section, form):has(> .CreateAccount):has(> .AccountLogin) > :is(.CreateAccount, .AccountLogin) {
    float: none;
    width: 100%;
    margin-inline: 0;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.HorizontalFormContainer, .VerticalFormContainer, .EstimateShipping) :is(dt, dd) {
    float: none;
    width: auto;
    margin-inline: 0;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.HorizontalFormContainer, .EstimateShipping) dt {
    margin-block-end: 3px;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.HorizontalFormContainer, .NarrowFormContainer) p.Submit {
    margin-inline: 0;
  }
}

@media (max-width: 620px) {
  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)):has(> :is(table.General, table.CartContents, table.ComparisonTable)),
  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :where(div, form, section):has(> :is(table.General, table.CartContents, table.ComparisonTable)) {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(table.General, table.CartContents) > :is(thead, tbody, tfoot) > tr > :is(td, th) {
    padding: 6px;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) .CartContents .ProductImage img {
    width: auto;
    max-width: 46px;
    height: auto;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(.SearchTips .Examples, .SortBox) {
    margin-inline: 0;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList.List .ProductImage {
    width: min(25%, 82px);
    height: auto;
    margin-inline-end: 8px;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) #SearchPage .ProductList.List .ProductDetails {
    margin-inline-start: 0;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content)) :is(
    .HorizontalFormContainer, .VerticalFormContainer, .CreateAccount, .AccountLogin, .ExpressCheckoutContent, .EstimateShipping, #SearchPage
  ) :is(
    input:not([type]), input:is([type="text"], [type="email"], [type="password"], [type="search"], [type="tel"], [type="number"]),
    select:not([multiple]), textarea
  ) {
    min-height: 44px;
    font-size: 16px;
  }

  body.wg-cloud-white #LayoutColumn3 form :is(input:not([type]), input[type="text"], input[type="email"], select:not([multiple])) {
    min-height: 44px;
    font-size: 16px;
  }

  body.wg-cloud-white :is(#LayoutColumn2, #LayoutColumn1:where(.Content), #LayoutColumn3) :is(button[type="submit"], input[type="submit"]) {
    min-height: 44px;
  }
}

/* Native storefront forms and lists outside the homepage and product layouts. */
body.wg-cloud-white.wg-cloud-forms:not(.wg-store-checkout) #LayoutColumn2 >
  :is(#LoginForm, #CreateAccountForm, #AccountInbox, .AccountPage, .YourAccount, #CartContent).Block {
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--style-line);
  background: var(--style-surface);
}

body.wg-cloud-white.wg-cloud-forms:not(.wg-store-checkout) #LayoutColumn2 >
  :is(#LoginForm, #CreateAccountForm, #AccountInbox, .AccountPage, .YourAccount, #CartContent) > h2,
body.wg-cloud-white.wg-cloud-forms #LayoutColumn2 > #CartHeader > h2 {
  margin: 0;
  padding: 8px 12px;
  background: var(--wg-slate);
  color: aliceblue;
  font: 750 clamp(16px, 2.2vw, 20px) / 1.3 var(--style-heading);
}

body.wg-cloud-white.wg-cloud-forms:not(.wg-store-checkout) #LayoutColumn2 >
  :is(#LoginForm, #CreateAccountForm, #AccountInbox, .AccountPage, .YourAccount, #CartContent) > .BlockContent {
  display: flow-root;
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(10px, 2vw, 16px);
}

body.wg-cloud-white.wg-cloud-forms #LoginForm :is(.CreateAccount, .AccountLogin) > :is(h2, h3) {
  margin: 0 0 8px;
  color: var(--style-ink);
  font: 750 15px / 1.35 var(--style-heading);
}

body.wg-cloud-white.wg-cloud-forms #LayoutColumn2 .YourAccount > .BlockContent > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.wg-cloud-white.wg-cloud-forms #LayoutColumn2 .YourAccount > .BlockContent > ul > li {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--style-line);
}

body.wg-cloud-white.wg-cloud-forms #LayoutColumn2 .YourAccount li > a {
  color: var(--style-accent);
  font-weight: 750;
  text-underline-offset: .15em;
}

body.wg-cloud-white.wg-cloud-forms #CartHeader .FloatRight {
  position: relative;
  margin: 4px 8px 4px 10px;
}

body.wg-cloud-white.wg-cloud-forms #CartContent .CartContents :is(.SubTotal, .TotalCost) > td {
  color: var(--style-ink);
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPageHeader .SortBox {
  max-width: 100%;
  margin-block: 0;
  color: var(--style-ink);
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 .AdvancedSearch {
  box-sizing: border-box;
  max-width: 100%;
  padding: clamp(10px, 2vw, 16px);
  border: 1px solid var(--style-line);
  background: var(--style-wash);
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPage .ProductList.List > li:has(> .ProductImage):has(> .ProductDetails) {
  display: grid;
  grid-template-columns: minmax(64px, min(132px, 25%)) minmax(0, 1fr);
  align-items: start;
  gap: 8px 11px;
  margin-block-end: 0;
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPage .ProductList.List .ProductImage {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--style-line);
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPage .ProductList.List .ProductImage > a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPage .ProductList.List .ProductImage img {
  max-height: 100%;
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPage .ProductList .ProductDetails > strong {
  font: 750 15px / 1.35 var(--style-heading);
}

body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPage .ProductList.List .ProductPrice {
  font-size: 16px;
  font-weight: 750;
}

@media (max-width: 600px) {
  body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPageHeader .SortBox {
    float: none;
    padding: 7px 12px;
  }

  body.wg-cloud-white.wg-cloud-listing #LayoutColumn2 #SearchPage .ProductList.List .ProductDetails > strong {
    font-size: 13px;
  }
}
