/* =========================================================
   TSW store-wide calculator defaults
   ========================================================= */
.tsw-box-calc{max-width:520px;margin:0 0 14px}
.tsw-box-calc-title{margin:4px 0 8px;font-size:13px;opacity:.85;line-height:1.2;text-align:center}
.tsw-box-calc-grid,.tsw-result-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tsw-field label{font-size:14px;font-weight:700;margin:0 0 6px;display:block;line-height:1.15}
.tsw-field input,.tsw-field select,.tsw-waste-row select{width:100%;padding:9px 10px;border:1px solid #bfbfbf;border-radius:0;background:#fff;color:#222;font-size:14px;line-height:1.2;box-sizing:border-box}
.tsw-waste-row{margin:10px 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tsw-waste-row label{font-size:14px;font-weight:700}
.tsw-divider{border-top:1px solid rgba(0,0,0,.1);margin:10px 0 12px}
.tsw-result-row{margin:10px 0}
.tsw-result-row input{font-weight:700;color:#000}

/* Store-wide archive/single price block. */
.tsw-price-block{line-height:1.25}
.single-product .tsw-price-main{font-size:16px;font-weight:600;margin-bottom:4px}
.single-product .tsw-price-meta{font-size:14px;font-weight:400;opacity:.75}

/* =========================================================
   Stellar White slot-layout runtime
   ========================================================= */
body.tsw-stellar-wholesale-test .tsw-variation-price-top,
body.tsw-stellar-wholesale-test .single_variation .woocommerce-variation-price,
body.tsw-stellar-wholesale-test .summary > .price{display:none!important}

body.tsw-stellar-wholesale-test form.cart.tsw-slot-form-ready{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

body.tsw-stellar-wholesale-test .tsw-slot-layout-runtime{
  display:flex;
  flex-direction:column;
  gap:18px;
  width:100%;
  min-width:0;
}

/* Override Greenshift row/flex dimensions only on the named runtime rows. */
body.tsw-stellar-wholesale-test .tsw-row-pricing,
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing,
body.tsw-stellar-wholesale-test .tsw-row-inputs,
body.tsw-stellar-wholesale-test .tsw-row-results{
  display:grid!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.tsw-stellar-wholesale-test .tsw-row-pricing > *,
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing > *,
body.tsw-stellar-wholesale-test .tsw-row-inputs > *,
body.tsw-stellar-wholesale-test .tsw-row-results > *{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  flex:none!important;
  box-sizing:border-box!important;
}
body.tsw-stellar-wholesale-test .tsw-slot-empty{display:none!important}

/* Pricing: Member price | Box price | Become a Member. */
body.tsw-stellar-wholesale-test .tsw-row-pricing,
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing{
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(170px,1fr)!important;
  gap:0!important;
  overflow:hidden;
}
body.tsw-stellar-wholesale-test .tsw-row-pricing{
  border-radius:6px 6px 0 0;
  background:#f3f8ee;
}
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing{
  margin-top:-18px!important;
  border-top:1px solid rgba(0,0,0,.12);
  border-radius:0 0 6px 6px;
  background:transparent!important;
}
body.tsw-stellar-wholesale-test .tsw-row-pricing > :not(:first-child),
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing > :not(:first-child){border-left:1px solid rgba(0,0,0,.12)}
body.tsw-stellar-wholesale-test .tsw-row-pricing .tsw-member-col{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:156px;
  padding:22px 26px;
  box-sizing:border-box;
}
body.tsw-stellar-wholesale-test .tsw-member-eyebrow{font-size:14px;font-weight:700;color:#17642a;letter-spacing:.01em;margin-bottom:8px}
body.tsw-stellar-wholesale-test .tsw-member-big-price{font-size:44px;font-weight:700;line-height:1;color:#1d6e2d;white-space:nowrap}
body.tsw-stellar-wholesale-test .tsw-member-unit{font-size:18px;font-weight:600}
body.tsw-stellar-wholesale-test .tsw-member-box-repeat,
body.tsw-stellar-wholesale-test .tsw-member-coverage{font-size:16px;margin-top:10px;color:#111}
body.tsw-stellar-wholesale-test .tsw-member-savings{text-align:center;align-items:center}
body.tsw-stellar-wholesale-test .tsw-member-savings-label{font-size:14px;font-weight:700;color:#111;margin-bottom:8px}
body.tsw-stellar-wholesale-test .tsw-member-savings-value{font-size:18px;font-weight:700;color:#1d6e2d;white-space:nowrap}
body.tsw-stellar-wholesale-test .tsw-member-box{text-align:center}
body.tsw-stellar-wholesale-test .tsw-member-box-price{font-size:27px;font-weight:700;white-space:nowrap}
body.tsw-stellar-wholesale-test .tsw-member-box-price span:last-child{font-size:16px}
body.tsw-stellar-wholesale-test .tsw-member-cta{align-items:center;text-align:center;background:#f3f8ee}
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing .tsw-regular-col{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:74px;
  padding:10px 18px;
  box-sizing:border-box;
  background:transparent!important;
  text-align:center;
}
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing .tsw-member-cta{background:#f3f8ee!important}
body.tsw-stellar-wholesale-test .tsw-regular-label{font-size:13px;font-weight:700;color:#111;margin-bottom:5px}
body.tsw-stellar-wholesale-test .tsw-regular-value{font-size:18px;font-weight:700;color:#111;white-space:nowrap}
body.tsw-stellar-wholesale-test .tsw-membership-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  gap:7px;
}
body.tsw-stellar-wholesale-test .tsw-member-benefits-link,
body.tsw-stellar-wholesale-test .tsw-member-benefits-link:hover,
body.tsw-stellar-wholesale-test .tsw-member-benefits-link:focus{
  display:inline-block;
  width:max-content;
  max-width:100%;
  color:#111!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.2!important;
  text-decoration:underline!important;
  text-underline-offset:2px;
}
body.tsw-stellar-wholesale-test .tsw-become-member,
body.tsw-stellar-wholesale-test .tsw-become-member:hover,
body.tsw-stellar-wholesale-test .tsw-become-member:focus{
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:100%!important;
  min-height:66px;
  padding:12px 18px!important;
  background:rgba(255,255,255,.38)!important;
  border:1px solid #d2d8cf!important;
  border-radius:5px!important;
  color:#1d6e2d!important;
  font-size:18px!important;
  font-weight:600!important;
  line-height:1.1!important;
  text-align:center;
  text-decoration:none!important;
  box-shadow:none!important;
}

/* Swatch row: one full-width slot. */
body.tsw-stellar-wholesale-test .tsw-row-swatches{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.tsw-stellar-wholesale-test .tsw-slot-size{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
body.tsw-stellar-wholesale-test .tsw-slot-size table.variations,
body.tsw-stellar-wholesale-test .tsw-slot-size table.variations tbody,
body.tsw-stellar-wholesale-test .tsw-slot-size table.variations tr,
body.tsw-stellar-wholesale-test .tsw-slot-size table.variations td.value{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.tsw-stellar-wholesale-test .tsw-slot-size table.variations tr{display:block!important}
body.tsw-stellar-wholesale-test .tsw-slot-size table.variations th.label{display:block!important;width:100%!important;padding:0!important;margin:0 0 8px!important;text-align:left!important}
body.tsw-stellar-wholesale-test .tsw-slot-size table.variations td.value{display:block!important;padding:0!important;margin:0!important}
body.tsw-stellar-wholesale-test .tsw-slot-size .gs-var-selector{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
}
body.tsw-stellar-wholesale-test .tsw-slot-size .gs-var-selector .gs-var-label{
  flex:0 1 auto!important;
  width:auto!important;
  min-width:145px!important;
  margin:0!important;
  padding:9px 12px!important;
  box-sizing:border-box!important;
  text-align:center!important;
  white-space:normal!important;
  line-height:1.2!important;
}
body.tsw-stellar-wholesale-test .tsw-slot-size a.reset_variations{display:block!important;width:max-content!important;margin-top:10px!important}

/* Inputs and results rows. */
body.tsw-stellar-wholesale-test .tsw-row-inputs,
body.tsw-stellar-wholesale-test .tsw-row-results{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(190px,1.55fr)!important;
  gap:18px!important;
  align-items:end!important;
}
body.tsw-stellar-wholesale-test .tsw-row-inputs .tsw-field,
body.tsw-stellar-wholesale-test .tsw-row-results .tsw-field{width:100%;margin:0}
body.tsw-stellar-wholesale-test .tsw-row-inputs input,
body.tsw-stellar-wholesale-test .tsw-row-inputs select,
body.tsw-stellar-wholesale-test .tsw-row-results input{
  width:100%!important;
  min-height:48px;
  padding:10px 12px;
  border:1px solid #c9ced6;
  border-radius:4px;
  background:#fff;
  box-sizing:border-box;
}
body.tsw-stellar-wholesale-test .tsw-help{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#0d4fb8;color:#fff;font-size:11px;margin-left:4px;cursor:help}
body.tsw-stellar-wholesale-test #tsw_subtotal_boxes_label{font-weight:700}

body.single-product.tsw-stellar-wholesale-test
form.cart
.tsw-slot-cart
button.single_add_to_cart_button {
  background-color: #f3f8ee !important;
  border-color: #d2d8cf !important;
  color: #1d6e2d !important;
}
body.single-product.tsw-stellar-wholesale-test
form.cart
.tsw-slot-cart
button.single_add_to_cart_button:hover,
body.single-product.tsw-stellar-wholesale-test
form.cart
.tsw-slot-cart
button.single_add_to_cart_button:focus {
  background-color: #e9f2e2 !important;
  border-color: #c5d1c0 !important;
  color: #17642a !important;}
body.tsw-stellar-wholesale-test .tsw-cart-icon{display:inline-flex;width:27px;height:27px;flex:0 0 27px}
body.tsw-stellar-wholesale-test .tsw-cart-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.tsw-stellar-wholesale-test form.cart .quantity.tsw-box-order-quantity{display:none!important}
body.single-product.tsw-stellar-wholesale-test.tsw-active-member
form.cart
.tsw-slot-cart
button.single_add_to_cart_button {
  background-color: #faf3e0 !important;
  border-color: #d4a62a !important;
  color: #9a6a00 !important;
}

body.single-product.tsw-stellar-wholesale-test.tsw-active-member
form.cart
.tsw-slot-cart
button.single_add_to_cart_button:hover,
body.single-product.tsw-stellar-wholesale-test.tsw-active-member
form.cart
.tsw-slot-cart
button.single_add_to_cart_button:focus {
  background-color: #f5e8c4 !important;
  border-color: #c69417 !important;
  color: #805800 !important;
}

/* Sample card visual and control styling.
   Layout is defined once in the final two-layout section below. */
body.tsw-stellar-wholesale-test .tsw-sample-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  background:#eef6ff!important;
  border:1px solid #d6e7f8!important;
  border-radius:4px!important;
  box-sizing:border-box!important;
}
body.tsw-stellar-wholesale-test .tsw-slot-sample-icon > .tsw-sample-icon{width:42px;height:42px;color:#064bd8}
body.tsw-stellar-wholesale-test .tsw-slot-sample-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.tsw-stellar-wholesale-test .tsw-slot-sample-heading > .tsw-sample-heading{color:#111;font-size:17px;font-weight:700;line-height:1.25;margin:0}
body.tsw-stellar-wholesale-test .tsw-slot-sample-description{font-size:12px;line-height:1.35;color:#222;margin:0!important}
body.tsw-stellar-wholesale-test .tsw-slot-sample-description .tsw-sample-member-benefit{margin:0;font-size:inherit;line-height:inherit;color:inherit}
body.tsw-stellar-wholesale-test input.tsw-sample-qty{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid #d5d9df!important;
  border-radius:3px!important;
  background:#fff!important;
  color:#111!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1!important;
  text-align:center!important;
  box-sizing:border-box!important;
  appearance:textfield;
}
body.tsw-stellar-wholesale-test input.tsw-sample-qty::-webkit-inner-spin-button,
body.tsw-stellar-wholesale-test input.tsw-sample-qty::-webkit-outer-spin-button{margin:0;appearance:none}
body.tsw-stellar-wholesale-test .tsw-slot-sample-button a.tsw-sample-button,
body.tsw-stellar-wholesale-test .tsw-slot-sample-button button.tsw-sample-button,
body.tsw-stellar-wholesale-test .tsw-slot-sample-button input.tsw-sample-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:10px 16px!important;
  background:#0d43c9!important;
  border:1px solid #0d43c9!important;
  border-radius:3px!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.15!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:none!important;
}

/* Remove leftover empty source wrappers without touching the form itself. */
body.tsw-stellar-wholesale-test .tsw-source-purchase-wrapper:empty,
body.tsw-stellar-wholesale-test .tsw-box-calc--stellar:empty,
body.tsw-stellar-wholesale-test #tsw-member-price-panel:empty,
body.tsw-stellar-wholesale-test #tsw-sample-offer:empty{display:none!important}

/* Title support line. */
body.tsw-stellar-wholesale-test .tsw-origin-stock-line{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;margin:5px 0 8px;color:#164f95;font-size:16px;font-weight:400;line-height:1.35}
body.tsw-stellar-wholesale-test .tsw-local-stock{display:inline-flex;align-items:center;white-space:nowrap}
body.tsw-stellar-wholesale-test .tsw-stock-icon{margin-right:4px;line-height:1}

/* Tablet and mobile: one shared layout at 1100px and below. */
/* =========================================================
   RESPONSIVE ARCHITECTURE
   - Desktop: 1101px and wider
   - Tablet + phone: 1100px and narrower
   - No separate tablet or extra-small-phone composition
   ========================================================= */

@media (max-width:1100px){
  body.tsw-stellar-wholesale-test .tsw-slot-layout-runtime{gap:14px}
  body.tsw-stellar-wholesale-test .tsw-row-pricing,
  body.tsw-stellar-wholesale-test .tsw-row-regular-pricing{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  body.tsw-stellar-wholesale-test .tsw-slot-member-savings,
  body.tsw-stellar-wholesale-test .tsw-slot-membership{grid-column:1 / -1!important;border-left:0!important;border-top:1px solid rgba(0,0,0,.12)}
  body.tsw-stellar-wholesale-test .tsw-row-pricing .tsw-member-col{min-height:auto;padding:16px 14px}
  body.tsw-stellar-wholesale-test .tsw-row-regular-pricing{margin-top:-14px!important}
  body.tsw-stellar-wholesale-test .tsw-row-regular-pricing .tsw-regular-col{min-height:58px;padding:10px 12px}
  body.tsw-stellar-wholesale-test .tsw-member-box{text-align:left}
  body.tsw-stellar-wholesale-test .tsw-member-eyebrow{font-size:11px;line-height:1.25;margin-bottom:7px}
  body.tsw-stellar-wholesale-test .tsw-member-big-price{font-size:34px}
  body.tsw-stellar-wholesale-test .tsw-member-unit{font-size:13px}
  body.tsw-stellar-wholesale-test .tsw-member-box-repeat,
  body.tsw-stellar-wholesale-test .tsw-member-coverage{font-size:12px;margin-top:8px}
  body.tsw-stellar-wholesale-test .tsw-member-box-price{font-size:20px}
  body.tsw-stellar-wholesale-test .tsw-member-box-price span:last-child{font-size:12px}
  body.tsw-stellar-wholesale-test .tsw-become-member{min-height:48px;padding:10px 12px!important;font-size:15px!important}

  body.tsw-stellar-wholesale-test .tsw-slot-size .gs-var-selector{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.tsw-stellar-wholesale-test .tsw-slot-size .gs-var-selector .gs-var-label{width:100%!important;min-width:0!important;padding:9px 4px!important;font-size:12px!important}

  body.tsw-stellar-wholesale-test .tsw-row-inputs,
  body.tsw-stellar-wholesale-test .tsw-row-results{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
  body.tsw-stellar-wholesale-test .tsw-slot-waste,
  body.tsw-stellar-wholesale-test .tsw-slot-cart{grid-column:1 / -1!important}

}

/* v2.4.0 slot safety: unique sample destinations and empty source cleanup. */
body.tsw-stellar-wholesale-test .tsw-slot-sample-icon,
body.tsw-stellar-wholesale-test .tsw-slot-sample-heading,
body.tsw-stellar-wholesale-test .tsw-slot-sample-qty,
body.tsw-stellar-wholesale-test .tsw-slot-sample-button{min-width:0!important;box-sizing:border-box!important}
body.tsw-stellar-wholesale-test .tsw-slot-sample-icon{display:flex;align-items:center;justify-content:center}
body.tsw-stellar-wholesale-test .tsw-slot-sample-button{display:flex;align-items:stretch}
body.tsw-stellar-wholesale-test .tsw-source-purchase-wrapper{margin:0!important;padding:0!important;min-height:0!important}
body.tsw-stellar-wholesale-test .tsw-source-purchase-wrapper > .quantity.tsw-box-order-quantity{display:none!important}

/* =========================================================
   v2.4.1 — strict two-column tablet/mobile swatches
   ========================================================= */
@media (max-width:1100px){
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size,
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size table.variations,
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size table.variations tbody,
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size table.variations tr,
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size table.variations th.label,
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size table.variations td.value{
    display:block!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size table.variations th.label{
    margin-bottom:8px!important;
    text-align:left!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size .gs-var-selector{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size .gs-var-selector > input[type="radio"].gs-var-input{
    display:none!important;
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size .gs-var-selector .gs-var-label{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    padding:8px 4px!important;
    font-size:12px!important;
    line-height:1.2!important;
    white-space:normal!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-size a.reset_variations{
    display:block!important;
    width:max-content!important;
    margin:10px 0 0!important;
  }
}

/* =========================================================
   v2.4.2 — sample quantity stepper
   ========================================================= */
body.tsw-stellar-wholesale-test .tsw-sample-stepper{
  display:grid!important;
  grid-template-columns:36px minmax(36px,1fr) 36px!important;
  width:100%!important;
  height:48px!important;
  border:1px solid #d5d9df!important;
  border-radius:3px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.tsw-stellar-wholesale-test .tsw-sample-step{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  color:#111!important;
  font-size:22px!important;
  font-weight:400!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
body.tsw-stellar-wholesale-test .tsw-sample-step-minus{border-right:1px solid #d5d9df!important}
body.tsw-stellar-wholesale-test .tsw-sample-step-plus{border-left:1px solid #d5d9df!important}
body.tsw-stellar-wholesale-test .tsw-sample-stepper input.tsw-sample-qty{
  display:block!important;
  width:100%!important;
  height:46px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  text-align:center!important;
  box-shadow:none!important;
}

/* =========================================================
   FINAL CONFIRMED FIXES
   - Preserve two-column tablet/mobile swatches
   - Hide radio inputs so they do not occupy grid cells
   - Cancel WordPress/Greenshift forced word breaking
   ========================================================= */

/* WordPress/Greenshift can force these values on .wp-block-column.
   Cancel them only inside the Stellar sample card. */
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card,
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card .wp-block-column,
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card .tsw-slot-sample-heading,
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card .tsw-slot-sample-heading *,
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card .tsw-sample-heading,
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card .tsw-slot-sample-description,
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card .tsw-slot-sample-description * {
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: normal !important;
  hyphens: none !important;
}

/* Keep all sample-card grid children shrinkable at awkward tablet widths. */
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card,
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card *,
body.postid-53969.tsw-stellar-wholesale-test .tsw-row-sample,
body.postid-53969.tsw-stellar-wholesale-test .tsw-row-sample > * {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Tablet/mobile swatches: two visible labels per row.
   The radio inputs must not remain as CSS-grid items. */
@media (max-width:1100px){
  body.postid-53969.tsw-stellar-wholesale-test
  .tsw-slot-size .gs-var-selector {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.postid-53969.tsw-stellar-wholesale-test
  .tsw-slot-size .gs-var-selector > input[type="radio"].gs-var-input {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.postid-53969.tsw-stellar-wholesale-test
  .tsw-slot-size .gs-var-selector .gs-var-label {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

/* =========================================================
   FINAL SAMPLE CARD — TWO LAYOUTS ONLY
   - Desktop: 1101px and wider
   - Tablet and phone: 1100px and narrower
   - The card remains CSS Grid at every width
   ========================================================= */

/* Desktop sample card. */
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) minmax(260px,310px)!important;
  grid-template-rows:auto auto!important;
  column-gap:14px!important;
  row-gap:6px!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:14px 16px!important;
}
body.postid-53969.tsw-stellar-wholesale-test .tsw-row-sample{
  display:contents!important;
}
body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-icon{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
}
body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-heading{
  grid-column:2!important;
  grid-row:1!important;
  align-self:center!important;
}
body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-actions-row{
  grid-column:3!important;
  grid-row:1!important;
  display:grid!important;
  grid-template-columns:126px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
}
body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-description{
  grid-column:2 / 4!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-qty,
body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-button{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  min-width:0!important;
}

/* One shared tablet/phone sample-card layout. */
@media (max-width:1100px){
  body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-card{
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:12px!important;
    row-gap:8px!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:14px!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-row-sample{
    display:contents!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-icon{
    grid-column:1!important;
    grid-row:1!important;
    align-self:start!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-heading{
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-description{
  grid-column:1 / -1!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding-left:48px!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-sample-actions-row{
    grid-column:1 / -1!important;
    grid-row:3!important;
    display:grid!important;
    grid-template-columns:minmax(118px,126px) minmax(0,1fr)!important;
    gap:12px!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
  }
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-qty,
  body.postid-53969.tsw-stellar-wholesale-test .tsw-slot-sample-button{
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
  }
  body.tsw-stellar-wholesale-test .tsw-origin-stock-row{
  display:block;
  width:100%;
  max-width:none;
  min-width:0;
  margin:8px 0 14px;
  box-sizing:border-box;
}

body.tsw-stellar-wholesale-test .tsw-origin-stock-line,
body.tsw-stellar-wholesale-test .tsw-origin-stock-line *{
  font-weight:300!important;
}
}

/* =========================================================
   v2.5.2 — active Exclusive Member account card
   ========================================================= */
body.tsw-stellar-wholesale-test .tsw-row-regular-pricing .tsw-member-cta--active{
  padding:6px!important;
  background:transparent!important;
}
body.tsw-stellar-wholesale-test .tsw-exclusive-member,
body.tsw-stellar-wholesale-test .tsw-exclusive-member:hover,
body.tsw-stellar-wholesale-test .tsw-exclusive-member:focus{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%!important;
  min-height:100%;
  padding:10px 12px!important;
  box-sizing:border-box;
  border:1px solid #d6ad4a!important;
  border-radius:6px!important;
  background:#fbf7ea!important;
  color:#9a7424!important;
  text-align:center;
  text-decoration:none!important;
  box-shadow:none!important;
  line-height:1.15;
}
body.tsw-stellar-wholesale-test .tsw-exclusive-member:hover,
body.tsw-stellar-wholesale-test .tsw-exclusive-member:focus{
  background:#f7efd9!important;
  border-color:#c8982f!important;
}
body.tsw-stellar-wholesale-test .tsw-exclusive-member-star{
  display:block;
  margin:0 0 4px;
  color:#d4a32f;
  font-size:27px;
  line-height:1;
}
body.tsw-stellar-wholesale-test .tsw-exclusive-member-title{
  display:block;
  color:#96701e;
  font-size:16px;
  font-weight:700;
  line-height:1.15;
}
body.tsw-stellar-wholesale-test .tsw-exclusive-member-divider{
  display:block;
  width:78%;
  height:1px;
  margin:7px auto 6px;
  background:#d6ad4a;
}
body.tsw-stellar-wholesale-test .tsw-exclusive-member-account{
  display:block;
  color:#96701e;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}
body.tsw-stellar-wholesale-test .tsw-exclusive-member-account span{
  font-size:19px;
  line-height:0;
  vertical-align:-1px;
}

@media (max-width:1100px){
  body.tsw-stellar-wholesale-test .tsw-row-regular-pricing .tsw-member-cta--active{
    min-height:94px;
    padding:6px!important;
  }
  body.tsw-stellar-wholesale-test .tsw-exclusive-member{
    min-height:82px;
    padding:8px 10px!important;
  }
  body.tsw-stellar-wholesale-test .tsw-exclusive-member-star{font-size:23px}
  body.tsw-stellar-wholesale-test .tsw-exclusive-member-title{font-size:15px}
  body.tsw-stellar-wholesale-test .tsw-exclusive-member-divider{margin:5px auto}
  body.tsw-stellar-wholesale-test .tsw-exclusive-member-account{font-size:12px}
}
/* =========================================================
   Product archives — side-by-side Regular | Member pricing
   ========================================================= */
.tsw-price-block--dual {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  width:100%;
  min-width:0;
  margin:14px 0 0;
  padding:12px 0 0;
  border-top:1px solid #e3e3e3;
  background:transparent;
  line-height:1.25;
  box-sizing:border-box;
}

.tsw-price-block--dual .tsw-archive-price-column {
  min-width:0;
  margin:0;
  padding:0 12px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-sizing:border-box;
}

.tsw-price-block--dual .tsw-archive-member-price {
  padding-right:0;
  padding-left:12px;
  border-left:1px solid #e3e3e3;
}

.tsw-price-block--dual .tsw-archive-price-label {
  margin:0 0 6px;
  color:#333;
  font-size:11px;
  font-weight:700;
  letter-spacing:.35px;
  line-height:1.2;
  text-transform:uppercase;
}

.tsw-price-block--dual .tsw-archive-member-price .tsw-archive-price-label {
  color:#17642a;
}

.tsw-price-block--dual .tsw-price-main {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:2px 4px;
  min-width:0;
  margin:0 0 4px;
  color:#111;
  font-size:clamp(15px,1.15vw,18px)!important;
  font-weight:600;
  line-height:1.2;
}

.tsw-price-block--dual .tsw-archive-member-price .tsw-price-main {
  color:#1d6e2d;
  font-weight:700;
}

.tsw-price-block--dual .tsw-price-unit {
  color:inherit;
  font-size:11px!important;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
}

.tsw-price-block--dual .tsw-price-meta {
  margin:0;
  color:#444;
  font-size:12px;
  font-weight:400;
  line-height:1.35;
}

.tsw-price-block--dual .tsw-archive-member-price .tsw-price-meta {
  color:#255f32;
}

.tsw-price-block--dual .tsw-archive-price-footer {
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px 10px;
  min-width:0;
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #ededed;
  color:#555;
  font-size:11px;
  line-height:1.3;
}

.tsw-price-block--dual .tsw-archive-savings-badge {
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:2px 7px;
  border:1px solid #bdd2b8;
  border-radius:999px;
  background:#f3f8ee;
  color:#17642a;
  font-size:10px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
}

/* Archive Finish/Size chips. Their placement is controlled by the
   Product Hooks block in the Greenshift card template. */
.tsw-archive-attributes {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  box-sizing:border-box;
}

.tsw-archive-attributes .tsw-visual-swatch {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:29px;
  margin:0;
  padding:4px 9px;
  border:1px solid #d2d2d2;
  border-radius:2px;
  background:#fff;
  color:#333;
  font-size:12px;
  font-weight:400;
  line-height:1.25;
  text-align:center;
  text-decoration:none;
  box-sizing:border-box;
}

.tsw-archive-attributes .tsw-visual-swatch:hover,
.tsw-archive-attributes .tsw-visual-swatch:focus-visible {
  border-color:#999;
  background:#f7f7f7;
  color:#111;
  text-decoration:none;
}

.tsw-archive-attributes .tsw-visual-swatch.tsw-archive-swatch-selected {
  border-color:#1d6e2d!important;
  background:#f3f8ee!important;
  color:#17642a!important;
  box-shadow:inset 0 0 0 1px #1d6e2d;
}

@media (max-width:420px) {
  .tsw-price-block--dual .tsw-archive-price-column {
    padding-right:9px;
  }

  .tsw-price-block--dual .tsw-archive-member-price {
    padding-right:0;
    padding-left:9px;
  }

  .tsw-price-block--dual .tsw-price-main {
    font-size:14px!important;
  }

  .tsw-price-block--dual .tsw-price-meta {
    font-size:11px;
  }
}

/* Wholesale Club Add to Cart — icon above text */
body.single-product.tsw-wholesale-club-product
.tsw-slot-cart
button.single_add_to_cart_button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-height: 84px;
  line-height: 1.15 !important;
}

body.single-product.tsw-wholesale-club-product
.tsw-slot-cart
button.single_add_to_cart_button
.tsw-cart-icon {
  display: inline-flex !important;
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px !important;
  margin: 0 !important;
}

body.single-product.tsw-wholesale-club-product
.tsw-slot-cart
button.single_add_to_cart_button
.tsw-cart-icon svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
/* Wholesale Club product top bar */
.tsw-wholesale-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 4px 18px !important;
  box-sizing: border-box !important;
  border-radius: 5px !important;
  background: #C2A886 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

.tsw-wholesale-topbar strong {
  color: #fff !important;
}


.tsw-wholesale-topbar-divider {
  display: block !important;
  width: 1px !important;
  height: 18px !important;
  background: rgba(255,255,255,.65) !important;
}

.tsw-wholesale-topbar a {
  color: #fff !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.tsw-wholesale-topbar a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

@media (max-width: 700px) {
  .tsw-wholesale-topbar {
    flex-wrap: wrap !important;
    gap: 7px 12px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
  }

  .tsw-wholesale-topbar-divider {
    display: none !important;
  }

  .tsw-wholesale-topbar a {
    flex-basis: 100% !important;
  }
}
/* Mobile/tablet: two swatches per line within each attribute */
@media (max-width: 1100px) {

  body.single-product
  .tsw-row-swatches
  .gs-var-selector {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body.single-product
  .tsw-row-swatches
  .gs-var-selector > .gs-var-input {
    display: none !important;
  }

  body.single-product
  .tsw-row-swatches
  .gs-var-selector > .gs-var-label {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   v2.7.2 — simplified sample card
   - First row: icon + "Not Sure Yet?"
   - Second row: sample quantity + full-size sample button
   - Member credit message intentionally deferred
   - Actions wrap instead of squeezing the button
   ========================================================= */
body.tsw-stellar-wholesale-test .tsw-sample-card{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:14px 16px!important;
  box-sizing:border-box!important;
}

body.tsw-stellar-wholesale-test .tsw-sample-1st-row,
body.tsw-stellar-wholesale-test .tsw\.sample-1st-row{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
}

body.tsw-stellar-wholesale-test .tsw-sample-1st-row .tsw-slot-sample-icon,
body.tsw-stellar-wholesale-test .tsw\.sample-1st-row .tsw-slot-sample-icon{
  flex:0 0 42px!important;
  width:42px!important;
}

body.tsw-stellar-wholesale-test .tsw-sample-1st-row .tsw-slot-sample-heading,
body.tsw-stellar-wholesale-test .tsw\.sample-1st-row .tsw-slot-sample-heading{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
}

body.tsw-stellar-wholesale-test .tsw-sample-actions-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
}

body.tsw-stellar-wholesale-test .tsw-slot-sample-qty{
  flex:0 0 126px!important;
  width:126px!important;
  min-width:118px!important;
}

body.tsw-stellar-wholesale-test .tsw-slot-sample-button{
  flex:1 1 200px!important;
  width:auto!important;
  min-width:180px!important;
}

body.tsw-stellar-wholesale-test .tsw-slot-sample-button .tsw-sample-button{
  width:100%!important;
  min-width:180px!important;
  white-space:nowrap!important;
}

/* On a genuinely narrow card, wrap the button below rather than compress it. */
@media (max-width:420px){
  body.tsw-stellar-wholesale-test .tsw-slot-sample-button{
    flex-basis:100%!important;
    width:100%!important;
    min-width:0!important;
  }
  body.tsw-stellar-wholesale-test .tsw-slot-sample-button .tsw-sample-button{
    min-width:0!important;
  }
}
