:root {
  --lf-navy: #073b63;
  --lf-blue: #075f9f;
  --lf-sky: #0f92d1;
  --lf-orange: #f15a24;
  --lf-ink: #142231;
  --lf-muted: #5f6d79;
  --lf-line: #dce4ea;
  --lf-soft: #f5f8fb;
  --lf-white: #ffffff;
  --lf-shadow: 0 18px 45px rgba(15, 43, 65, 0.16);
}

.lf-contact-strip {
  position: relative;
  z-index: 10002;
  background: var(--lf-navy);
  color: var(--lf-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.lf-contact-strip__inner {
  max-width: 1500px;
  min-height: 42px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.lf-contact-strip__logo {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
}

.lf-contact-strip__logo img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.lf-contact-strip a,
.lf-contact-strip a:visited,
.lf-contact-strip strong {
  color: var(--lf-white) !important;
  text-decoration: none;
}

.lf-contact-strip a:hover { color: #ffe8dd !important; }
.lf-contact-strip__quote {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  background: var(--lf-orange);
  font-weight: 800;
  letter-spacing: .01em;
}

.lf-product-nav {
  position: relative;
  z-index: 9998;
  width: 100%;
  background: var(--lf-white);
  border-top: 1px solid var(--lf-line);
  border-bottom: 1px solid var(--lf-line);
  box-shadow: 0 4px 14px rgba(23, 46, 68, .07);
  font-family: Arial, Helvetica, sans-serif;
}

.lf-header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* The active Print Shop theme absolutely positions its header box and gives
   the surrounding header no height. Reserve that space so the department
   tabs sit below the LF logo and primary navigation instead of covering them. */
body.wp-theme-print-shop header[role="banner"] {
  min-height: 132px;
}

.lf-header-logo img {
  width: min(145px, 100%);
  height: 112px;
  display: block;
  object-fit: contain;
}

.lf-product-tabs {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lf-product-tab {
  appearance: none;
  min-height: 66px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid #edf1f4;
  background: var(--lf-white);
  color: var(--lf-blue);
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.lf-product-tab:first-child { border-left: 1px solid #edf1f4; }
.lf-product-tab:hover,
.lf-product-tab:focus-visible,
.lf-product-tab.is-active {
  outline: none;
  color: var(--lf-navy);
  background: #f0f6fb;
  box-shadow: inset 0 -4px 0 var(--lf-orange);
}

.lf-mega-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.lf-mega-panel {
  position: relative;
  max-width: 1500px;
  max-height: min(760px, calc(100vh - 150px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: auto;
  background: var(--lf-white);
  border: 1px solid var(--lf-line);
  border-top: 0;
  box-shadow: var(--lf-shadow);
}

.lf-mega-panel[hidden] { display: none !important; }
.lf-mega-rail {
  padding: 10px 0;
  border-right: 1px solid var(--lf-line);
  background: #fbfcfd;
}

.lf-mega-rail > a,
.lf-mega-rail__services a {
  min-height: 47px;
  padding: 10px 24px 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #17222d !important;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none !important;
}

.lf-mega-rail > a:hover,
.lf-mega-rail > a:focus-visible,
.lf-mega-rail__services a:hover { background: #eaf3fb; color: var(--lf-blue) !important; }
.lf-mega-builder { font-weight: 800; border-bottom: 1px solid var(--lf-line); }
.lf-mega-rail__services {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--lf-line);
}

.lf-mega-content { padding: 34px 40px 38px; }
.lf-mega-heading {
  min-height: 150px;
  margin-bottom: 25px;
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--lf-line);
}

.lf-mega-heading h2 {
  margin: 0;
  color: var(--lf-ink);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
  font-weight: 800;
}

.lf-mega-heading .lf-mega-brandmark {
  width: 52px;
  height: 52px;
  margin: 0 0 8px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.lf-eyebrow {
  margin: 0 0 8px !important;
  color: var(--lf-orange) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lf-mega-heading img {
  width: 260px;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 45, 69, .13);
}

.lf-mega-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 30px;
}

.lf-mega-links a {
  min-height: 48px;
  padding: 12px 0;
  color: #24303b !important;
  font-size: 17px;
  line-height: 1.25;
  text-decoration: none !important;
  border-bottom: 1px solid #edf1f4;
}

.lf-mega-links a:hover { color: var(--lf-blue) !important; padding-left: 5px; }
.lf-mega-all {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lf-blue) !important;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none !important;
}

.lf-mega-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--lf-soft);
  color: var(--lf-ink);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.lf-home-brand-callout {
  margin: 0;
  padding: 18px 24px;
  background: linear-gradient(100deg, #062f50, #075f9f);
  color: var(--lf-white);
}

.lf-home-brand-callout__inner {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 22px;
}

.lf-home-brand-callout img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.lf-home-brand-callout span,
.lf-home-brand-callout strong { display: block; color: var(--lf-white) !important; }
.lf-home-brand-callout span { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.lf-home-brand-callout strong { margin-top: 3px; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.05; }
.lf-home-brand-callout a {
  min-height: 52px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--lf-orange);
  color: var(--lf-white) !important;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none !important;
}

.lf-brand-footer {
  padding: 30px 24px;
  background: #061f34;
  color: var(--lf-white);
  border-top: 5px solid var(--lf-orange);
  font-family: Arial, Helvetica, sans-serif;
}

.lf-brand-footer__inner {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 100px 1fr 1.35fr auto;
  align-items: center;
  gap: 24px;
}

.lf-brand-footer__logo img { width: 92px; height: 92px; display: block; object-fit: contain; }
.lf-brand-footer__copy strong,
.lf-brand-footer__copy span,
.lf-brand-footer__contact a,
.lf-brand-footer__contact span { display: block; color: var(--lf-white) !important; }
.lf-brand-footer__copy strong { font-size: 24px; }
.lf-brand-footer__copy span { margin-top: 3px; opacity: .78; }
.lf-brand-footer__contact { display: grid; gap: 5px; font-size: 14px; }
.lf-brand-footer__contact a { text-decoration: none !important; }
.lf-brand-footer__button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lf-orange);
  color: var(--lf-white) !important;
  border-radius: 5px;
  font-weight: 900;
  text-decoration: none !important;
}

/* Full-width WooCommerce catalog */
body.woocommerce main#main.mt-5 > .row.m-0,
body.woocommerce-page main#main > .row.m-0 { display: block !important; }
body.woocommerce main#main.mt-5 > .row.m-0 > .col-lg-8,
body.woocommerce-page main#main > .row.m-0 > .col-lg-8 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
body.woocommerce main#main.mt-5 > .row.m-0 > .col-lg-4,
body.woocommerce-page main#main > .row.m-0 > .col-lg-4 { display: none !important; }
body.woocommerce main#main.mt-5,
body.woocommerce-page main#main { margin-top: 28px !important; }
body.woocommerce .container { max-width: 1500px; }

body.woocommerce ul.products,
body.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 28px 0 55px !important;
}

body.woocommerce ul.products::before,
body.woocommerce ul.products::after { display: none !important; }
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 18px !important;
  overflow: hidden;
  background: var(--lf-white);
  border: 1px solid var(--lf-line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(22, 54, 78, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

body.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 34px rgba(22, 54, 78, .15);
}

body.woocommerce ul.products li.product a img,
body.woocommerce-page ul.products li.product a img,
.lf-real-product-photo {
  width: 100% !important;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0 0 16px !important;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #eef3f6;
}

body.woocommerce ul.products li.product .woocommerce-loop-category__title,
body.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 54px;
  margin: 0 !important;
  padding: 4px 18px !important;
  color: var(--lf-ink);
  font-size: 18px !important;
  line-height: 1.35;
  font-weight: 800;
}

body.woocommerce ul.products li.product .count {
  padding: 2px 7px !important;
  background: #eaf3fb !important;
  color: var(--lf-blue) !important;
  font-size: 12px !important;
  font-weight: 800;
  border-radius: 999px;
}

/* Product configurator layout */
body.single-product .inner-head { display: none !important; }
body.single-product > .container,
body.single-product .inner-head + .container { margin-top: 28px !important; }
body.single-product #primary { width: 100% !important; }
body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.1fr);
  gap: 40px 54px;
  align-items: start;
}

body.single-product div.product.lf-product-configurator {
  max-width: 1380px;
  margin-right: auto;
  margin-left: auto;
}

body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .ksk-gallery {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 24px;
  background: var(--lf-white);
  border: 1px solid var(--lf-line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(22, 54, 78, .08);
}

body.single-product .woocommerce-product-gallery .product_image,
body.single-product .ksk-gallery .product_image {
  width: 100% !important;
  max-width: none !important;
}

body.single-product .woocommerce-product-gallery .product_image img,
body.single-product .ksk-gallery .product_image img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f3f2ef;
}

body.single-product div.product > .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px 30px 30px;
  background: var(--lf-white);
  border: 1px solid var(--lf-line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(22, 54, 78, .08);
}

body.single-product .product_title {
  margin: 0 0 20px !important;
  color: var(--lf-ink);
  font-size: clamp(30px, 3.2vw, 48px) !important;
  line-height: 1.05;
  font-weight: 800;
}

body.single-product .lf-product-kicker {
  margin: 0 0 8px !important;
  color: var(--lf-orange) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.single-product .lf-product-utilities {
  margin: -7px 0 24px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  color: var(--lf-muted);
  font-size: 13px;
  border-bottom: 1px solid var(--lf-line);
}

body.single-product .lf-quality-badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f6ed;
  color: #126b39;
  font-weight: 900;
}

body.single-product .lf-share-product {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lf-blue);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

body.single-product .lf-config-heading {
  margin: 0 0 15px;
  padding: 18px 20px;
  background: linear-gradient(105deg, #eef7fd, #f8fbfd);
  border-left: 5px solid var(--lf-sky);
}

body.single-product .lf-config-heading span {
  color: var(--lf-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.single-product .lf-config-heading h2 {
  margin: 4px 0 3px !important;
  color: var(--lf-ink);
  font-size: 22px !important;
  line-height: 1.15;
  font-weight: 900;
}

body.single-product .lf-config-heading p {
  margin: 0 !important;
  color: var(--lf-muted) !important;
  font-size: 13px !important;
}

body.single-product .product-attributes-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: block !important;
}

body.single-product .product-attributes-list > li {
  min-height: 72px;
  margin: 0 !important;
  padding: 12px 0 !important;
  display: grid !important;
  grid-template-columns: 42px minmax(130px, .7fr) minmax(260px, 1.45fr);
  align-items: center;
  gap: 8px 16px;
  border-bottom: 1px solid #e8edf1;
}

body.single-product .product-attributes-list > li > br { display: none !important; }
body.single-product .product-attributes-list label {
  grid-column: 2;
  margin: 0 !important;
  color: var(--lf-ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

body.single-product .lf-option-step {
  grid-column: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lf-navy);
  color: var(--lf-white);
  font-size: 11px;
  font-weight: 900;
}

body.single-product .product-attributes-list .attr-box,
body.single-product .product-attributes-list > li > select,
body.single-product .product-attributes-list > li > input[type="text"],
body.single-product .product-attributes-list > li > input[type="number"] {
  grid-column: 3;
  width: 100%;
  min-width: 0;
}

body.single-product .summary select,
body.single-product .summary input[type="text"],
body.single-product .summary input[type="number"] {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 9px 12px;
  color: var(--lf-ink);
  background: var(--lf-white);
  border: 1px solid #b9c6d0;
  border-radius: 5px;
}

body.single-product .product-attributes-list select,
body.single-product .product-attributes-list input[type="text"],
body.single-product .product-attributes-list input[type="number"] {
  margin-top: 0 !important;
  background-color: var(--lf-white);
  font-size: 15px;
}

body.single-product .fpf-fields-config-wrapper { display: none !important; }

body.single-product .product-price {
  margin: 20px 0 14px !important;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 20px;
  background: #edf7fd;
  color: var(--lf-ink);
  font-size: 17px;
  font-weight: 800;
  border-left: 5px solid var(--lf-sky);
}

body.single-product .lf-price-label {
  color: var(--lf-ink);
  font-size: 17px;
  font-weight: 900;
}

body.single-product .product-price .pprice {
  color: var(--lf-orange);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

body.single-product .lf-unit-price {
  grid-column: 2;
  color: var(--lf-muted);
  font-size: 13px;
  text-align: right;
}

body.single-product .product-add-button {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.single-product .product-add-button .button,
body.single-product .single_add_to_cart_button {
  min-height: 52px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: var(--lf-orange) !important;
  color: var(--lf-white) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center;
}

body.single-product .product-add-button .upload-artwork-btn { order: 1; }
body.single-product .product-add-button .design-online-btn {
  order: 2;
  background: var(--lf-blue) !important;
}
body.single-product .product-add-button .simple-add-btn {
  order: 3;
  background: var(--lf-white) !important;
  color: var(--lf-blue) !important;
  border: 2px solid var(--lf-blue) !important;
}

body.single-product .lf-product-benefits {
  margin-top: 24px;
  padding: 20px;
  background: #f8fafb;
  border: 1px solid var(--lf-line);
  border-radius: 8px;
}

body.single-product .lf-product-benefits h2 {
  margin: 0 0 13px !important;
  color: var(--lf-ink);
  font-size: 20px !important;
  line-height: 1.2;
  font-weight: 900;
}

body.single-product .lf-product-benefits ul {
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 9px;
  list-style: none !important;
}

body.single-product .lf-product-benefits li {
  position: relative;
  margin: 0 !important;
  padding-left: 27px;
  color: #2b3843;
  font-size: 14px;
  line-height: 1.35;
}

body.single-product .lf-product-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: #0b8a4a;
  font-size: 18px;
  font-weight: 900;
}

body.single-product .lf-product-benefits a { color: var(--lf-blue) !important; font-weight: 800; }
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .related,
body.single-product div.product > .upsells { grid-column: 1 / -1; }

/* Custom drag racing apparel configurator */
.lf-drag-configurator {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--lf-line);
}

.lf-drag-configurator__heading {
  margin-bottom: 16px;
  padding: 17px 18px;
  background: linear-gradient(115deg, #eef7fd, #f8fbfd);
  border-left: 5px solid var(--lf-orange);
}

.lf-drag-configurator__heading > span {
  color: var(--lf-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lf-drag-configurator__heading h2 {
  margin: 4px 0 5px !important;
  color: var(--lf-ink);
  font-size: 23px !important;
  line-height: 1.15;
}

.lf-drag-configurator__heading p,
.lf-drag-note {
  margin: 0 !important;
  color: var(--lf-muted) !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.lf-drag-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lf-drag-option {
  margin: 0 !important;
  color: var(--lf-ink);
  font-size: 13px;
  font-weight: 900;
}

.lf-drag-option > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lf-drag-option b {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lf-navy);
  color: var(--lf-white);
  font-size: 10px;
}

.lf-drag-option select {
  margin-top: 7px !important;
  font-size: 14px;
}

.lf-drag-quantity {
  margin-top: 18px;
  padding: 16px;
  background: #f7f9fb;
  border: 1px solid var(--lf-line);
  border-radius: 7px;
}

.lf-drag-quantity__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: var(--lf-ink);
  font-size: 14px;
}

.lf-drag-quantity__title span {
  color: var(--lf-muted);
  font-size: 11px;
  text-align: right;
}

.lf-drag-size-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(9, minmax(44px, 1fr));
  gap: 8px;
}

.lf-drag-size-grid label {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  color: var(--lf-ink);
  font-size: 12px;
  font-weight: 900;
}

.lf-drag-size-grid input[type="number"] {
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 5px !important;
  text-align: center;
}

.lf-drag-summary {
  margin-top: 13px;
  padding: 11px 13px;
  background: #edf7fd;
  color: var(--lf-ink);
  border-left: 4px solid var(--lf-sky);
  font-size: 13px;
  font-weight: 800;
}

.lf-drag-actions {
  margin: 14px 0 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lf-drag-actions .button,
.woocommerce-Tabs-panel .lf-drag-sanmar {
  min-height: 49px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 11px 14px !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-align: center;
}

.lf-drag-actions .lf-drag-quote {
  background: var(--lf-orange) !important;
  color: var(--lf-white) !important;
}

.lf-drag-actions .lf-drag-sanmar,
.woocommerce-Tabs-panel .lf-drag-sanmar {
  background: var(--lf-white) !important;
  color: var(--lf-blue) !important;
  border: 2px solid var(--lf-blue) !important;
}

.lf-drag-table-wrap {
  overflow-x: auto;
}

.lf-drag-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.lf-drag-table th,
.lf-drag-table td {
  padding: 11px 10px;
  border: 1px solid var(--lf-line);
  text-align: center;
}

.lf-drag-table thead th,
.lf-drag-table tbody th {
  background: #edf7fd;
  color: var(--lf-ink);
  font-weight: 900;
}

.lf-drag-detail-list {
  margin: 0 !important;
  padding-left: 20px !important;
  display: grid;
  gap: 10px;
}

@media (max-width: 1100px) {
  .lf-contact-strip__inner { justify-content: center; flex-wrap: wrap; gap: 8px 20px; padding: 8px 18px; }
  .lf-contact-strip__quote { min-height: 34px; align-self: auto; padding: 6px 14px; }
  .lf-product-tabs { overflow-x: auto; grid-template-columns: repeat(6, minmax(190px, 1fr)); }
  .lf-product-tab { min-height: 58px; font-size: 16px; }
  .lf-mega-panel { grid-template-columns: 260px 1fr; }
  .lf-mega-content { padding: 28px; }
  .lf-mega-heading { grid-template-columns: 1fr 210px; }
  .lf-mega-heading img { width: 210px; height: 125px; }
  .lf-mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.woocommerce ul.products,
  body.woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lf-brand-footer__inner { grid-template-columns: 80px 1fr 1.4fr; }
  .lf-brand-footer__button { grid-column: 2 / -1; justify-self: start; }
}

@media (max-width: 820px) {
  .lf-contact-strip__inner { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
  .lf-contact-strip__inner a:nth-child(3) { grid-column: 1 / -1; }
  .lf-contact-strip__quote { justify-content: center; }
  .lf-mega-wrap { position: absolute; }
  .lf-mega-panel { grid-template-columns: 1fr; max-height: calc(100vh - 130px); }
  .lf-mega-rail { display: none; }
  .lf-mega-content { padding: 24px 20px 30px; }
  .lf-mega-heading { grid-template-columns: 1fr 130px; min-height: 100px; gap: 15px; }
  .lf-mega-heading img { width: 130px; height: 90px; }
  .lf-mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  body.woocommerce ul.products,
  body.woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.single-product div.product { grid-template-columns: 1fr; gap: 24px; }
  body.single-product .product-attributes-list > li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 12px;
  }
  body.single-product .product-attributes-list label { grid-column: 2; }
  body.single-product .product-attributes-list .attr-box,
  body.single-product .product-attributes-list > li > select,
  body.single-product .product-attributes-list > li > input[type="text"],
  body.single-product .product-attributes-list > li > input[type="number"] {
    grid-column: 1 / -1;
  }
  .lf-home-brand-callout__inner { grid-template-columns: 68px 1fr; }
  .lf-home-brand-callout img { width: 64px; height: 64px; }
  .lf-home-brand-callout a { grid-column: 1 / -1; }
  .lf-brand-footer__inner { grid-template-columns: 75px 1fr; }
  .lf-brand-footer__contact,
  .lf-brand-footer__button { grid-column: 1 / -1; }
  .lf-drag-option-grid,
  .lf-drag-actions { grid-template-columns: 1fr; }
  .lf-drag-size-grid { grid-template-columns: repeat(5, minmax(46px, 1fr)); }
  .lf-drag-quantity__title { display: block; }
  .lf-drag-quantity__title span { display: block; margin-top: 4px; text-align: left; }
}

@media (max-width: 540px) {
  .lf-contact-strip__inner { grid-template-columns: 1fr; gap: 5px; font-size: 12px; }
  .lf-contact-strip__inner a:nth-child(3) { grid-column: auto; }
  .lf-product-tabs { grid-template-columns: repeat(6, minmax(170px, 1fr)); }
  .lf-mega-heading { grid-template-columns: 1fr; }
  .lf-mega-heading img { display: none; }
  .lf-mega-links { grid-template-columns: 1fr; }
  body.woocommerce ul.products,
  body.woocommerce-page ul.products { grid-template-columns: 1fr; }
  body.single-product div.product > .summary { padding: 22px 18px; }
  body.single-product .product-attributes-list,
  body.single-product .product-add-button { grid-template-columns: 1fr; }
  body.single-product .lf-product-utilities { align-items: flex-start; }
  body.single-product .lf-share-product { width: 100%; margin-left: 0; text-align: left; }
  body.single-product .product-price { grid-template-columns: 1fr auto; }
  .lf-contact-strip__logo { margin: 0 auto; }
  .lf-home-brand-callout__inner { grid-template-columns: 1fr; text-align: center; }
  .lf-home-brand-callout img { margin: 0 auto; }
  .lf-brand-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .lf-brand-footer__logo img { margin: 0 auto; }
  .lf-brand-footer__contact,
  .lf-brand-footer__button { grid-column: auto; }
  .lf-drag-size-grid { grid-template-columns: repeat(3, minmax(52px, 1fr)); }
}

/* LF Graphics DTG, DTF and embroidery studios */
body.single-product div.product > .lf-apparel-studio {
  grid-column: 1 / -1;
  margin: 42px 0 18px;
}

.lf-apparel-studio {
  color: var(--lf-ink);
  border: 1px solid var(--lf-line);
  border-radius: 12px;
  background: var(--lf-white);
  box-shadow: 0 18px 45px rgba(11, 39, 65, .1);
  overflow: hidden;
}

.lf-studio-header {
  padding: 28px 32px;
  color: #fff;
  background: linear-gradient(120deg, var(--lf-navy), var(--lf-blue) 68%, #0877b7);
}

.lf-studio-header > span,
.lf-embroidery-guide header > span {
  display: block;
  margin-bottom: 5px;
  color: #8fd4ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lf-studio-header h2 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: clamp(27px, 3vw, 42px) !important;
  line-height: 1.08;
}

.lf-studio-header p {
  max-width: 820px;
  margin: 0 !important;
  color: #e5f4ff !important;
  font-size: 15px !important;
}

.lf-studio-notice {
  margin: 20px 28px 0;
  padding: 14px 16px;
  border-radius: 7px;
  font-size: 14px;
}

.lf-studio-notice--success { color: #0b5f37; background: #e9f8ef; border: 1px solid #a9ddbb; }
.lf-studio-notice--error { color: #8c271f; background: #fff0ee; border: 1px solid #efb7b1; }

.lf-studio-layout {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr);
  gap: 30px;
  padding: 30px;
  align-items: start;
}

.lf-studio-preview-panel {
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--lf-line);
  border-radius: 10px;
  background: #f4f7f9;
}

.lf-studio-view-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.lf-studio-view-switch button {
  min-height: 42px;
  border: 1px solid #aeb8c1;
  border-radius: 5px;
  background: #fff;
  color: var(--lf-ink);
  font-weight: 900;
  cursor: pointer;
}

.lf-studio-view-switch button.is-active {
  color: #fff;
  border-color: var(--lf-blue);
  background: var(--lf-blue);
}

.lf-studio-mockup {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 8px;
  background: #e9ecef;
  isolation: isolate;
}

.lf-studio-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 12px solid var(--lf-shirt-color);
  opacity: .72;
  pointer-events: none;
}

.lf-studio-mockup.is-back .lf-studio-product-photo { transform: scaleX(-1); }

.lf-studio-product-photo {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .25s ease;
}

.lf-studio-artwork {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 190px;
  min-height: 145px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed rgba(255, 255, 255, .95);
  background: rgba(10, 31, 47, .36);
  transform-origin: center;
  pointer-events: none;
}

.lf-studio-artwork img {
  max-width: 100%;
  max-height: 105px;
  object-fit: contain;
}

.lf-studio-artwork span {
  max-width: 100%;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .75);
}

.lf-studio-view-label {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #fff;
  background: rgba(5, 31, 50, .86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lf-studio-preview-note {
  margin: 11px 0 14px !important;
  color: var(--lf-muted) !important;
  font-size: 12px !important;
  line-height: 1.45;
}

.lf-studio-position-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 16px;
}

.lf-studio-position-tools label {
  margin: 0 !important;
  color: var(--lf-ink);
  font-size: 11px;
  font-weight: 800;
}

.lf-studio-position-tools input[type="range"] {
  width: 100%;
  margin: 6px 0 0;
}

.lf-studio-form {
  display: grid;
  gap: 18px;
}

.lf-studio-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  border: 1px solid var(--lf-line);
  border-radius: 8px;
  background: #fff;
}

.lf-studio-form legend {
  padding: 0 8px 0 0;
  color: var(--lf-navy);
  font-size: 17px;
  font-weight: 900;
}

.lf-studio-form legend b {
  width: 28px;
  height: 28px;
  margin-right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--lf-orange);
  font-size: 12px;
}

.lf-studio-form label {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--lf-ink);
  font-size: 13px;
  font-weight: 900;
}

.lf-studio-form fieldset > label:first-of-type,
.lf-studio-form fieldset > .lf-studio-size-grid,
.lf-studio-form fieldset > .lf-studio-total,
.lf-studio-form fieldset > .lf-studio-form-error,
.lf-studio-form fieldset > .lf-studio-customer-grid,
.lf-studio-form fieldset > label:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.lf-studio-form input:not([type="color"]):not([type="range"]),
.lf-studio-form select,
.lf-studio-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid #b9c1c8;
  border-radius: 5px;
  background: #fff;
  color: var(--lf-ink);
  font-size: 14px;
}

.lf-studio-form input[type="color"] {
  width: 72px;
  height: 46px;
  padding: 2px;
  border: 1px solid #b9c1c8;
  border-radius: 5px;
  background: #fff;
}

.lf-studio-form small {
  color: var(--lf-muted);
  font-size: 11px;
  font-weight: 500;
}

.lf-studio-size-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(45px, 1fr));
  gap: 7px;
}

.lf-studio-size-grid label { align-items: center; gap: 5px; }
.lf-studio-size-grid input { min-height: 42px !important; padding: 5px !important; text-align: center; }

.lf-studio-total {
  padding: 11px 13px;
  color: var(--lf-navy);
  border-left: 4px solid var(--lf-sky);
  background: #edf7fd;
  font-size: 14px;
}

.lf-studio-form-error {
  min-height: 0;
  color: #a1271d;
  font-size: 13px;
  font-weight: 800;
}

.lf-studio-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.lf-studio-review {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-radius: 7px;
  color: var(--lf-navy);
  background: #f2f6f9;
  font-size: 13px;
}

.lf-studio-submit,
.lf-studio-sanmar {
  min-height: 53px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 5px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-align: center;
}

.lf-studio-submit { color: #fff !important; background: var(--lf-orange) !important; }
.lf-studio-sanmar { color: var(--lf-blue) !important; border: 2px solid var(--lf-blue) !important; background: #fff !important; }
.lf-studio-privacy { margin: -6px 0 0 !important; color: var(--lf-muted) !important; font-size: 11px !important; text-align: center; }
.lf-studio-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Dedicated DTF gang sheet product and request builder */
body.single-product div.product > .lf-dtf-gang-studio {
  grid-column: 1 / -1;
  margin: 0 0 18px;
}

body.lf-dtf-gang-page.single-product div.product > .woocommerce-product-gallery,
body.lf-dtf-gang-page.single-product div.product > .ksk-gallery,
body.lf-dtf-gang-page.single-product .summary .print-products-area,
body.lf-dtf-gang-page.single-product .summary > script,
body.lf-dtf-gang-page.single-product .summary > link[itemprop="availability"] {
  display: none !important;
}

body.lf-dtf-gang-page.single-product div.product > .summary {
  grid-column: 1 / -1;
  padding: 36px 42px;
  color: #fff;
  border: 0;
  background: linear-gradient(120deg, #052e4d, #075f9f 68%, #0877b7);
  box-shadow: 0 18px 42px rgba(7, 48, 81, .2);
}

body.lf-dtf-gang-page.single-product .summary .product_title,
body.lf-dtf-gang-page.single-product .summary .lf-product-utilities,
body.lf-dtf-gang-page.single-product .summary .lf-product-utilities span {
  color: #fff !important;
}

body.lf-dtf-gang-page.single-product .summary .lf-product-utilities {
  margin-bottom: 18px;
  border-bottom-color: rgba(255, 255, 255, .22);
}

body.lf-dtf-gang-page.single-product .summary .lf-quality-badge {
  color: #073b63 !important;
  background: #dff3ff;
}

body.lf-dtf-gang-page.single-product .summary .lf-share-product {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.lf-gang-summary-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px 24px;
}

.lf-gang-summary-cta p {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0 !important;
  color: #e3f3ff !important;
  font-size: 17px !important;
}

.lf-gang-summary-cta ul {
  margin: 0 !important;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  list-style: none;
}

.lf-gang-summary-cta li {
  position: relative;
  padding-left: 23px;
  color: #fff;
  font-size: 14px;
}

.lf-gang-summary-cta li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #78e1a4;
  font-weight: 900;
}

.lf-gang-summary-cta .button {
  min-height: 50px;
  padding: 13px 22px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border-radius: 5px !important;
  background: var(--lf-orange) !important;
  font-weight: 900 !important;
}

.lf-gang-summary-cta > a:not(.button) { color: #fff !important; font-weight: 900; white-space: nowrap; }

.lf-dtf-gang-studio {
  color: var(--lf-ink);
  overflow: hidden;
  border: 1px solid var(--lf-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(11, 39, 65, .1);
}

.lf-gang-header {
  padding: 30px 34px;
  color: #fff;
  background: linear-gradient(110deg, #0a395e, #0f739f);
}

.lf-gang-header > span {
  display: block;
  margin-bottom: 5px;
  color: #9fe1ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lf-gang-header h2 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: clamp(28px, 3.2vw, 44px) !important;
  line-height: 1.06;
}

.lf-gang-header p {
  max-width: 900px;
  margin: 0 !important;
  color: #e4f6ff !important;
  font-size: 15px !important;
}

.lf-gang-benefits {
  padding: 14px 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #f1f7fb;
  border-bottom: 1px solid var(--lf-line);
}

.lf-gang-benefits span {
  padding: 7px 12px;
  color: var(--lf-muted);
  border-left: 3px solid var(--lf-sky);
  font-size: 12px;
}

.lf-gang-benefits b { display: block; color: var(--lf-navy); font-size: 14px; }

.lf-gang-layout {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(500px, 1.15fr);
  align-items: start;
  gap: 30px;
}

.lf-gang-visuals {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 18px;
}

.lf-gang-video-card,
.lf-gang-preview-card {
  overflow: hidden;
  border: 1px solid var(--lf-line);
  border-radius: 9px;
  background: #f5f8fa;
}

.lf-gang-video-card video {
  width: 100%;
  max-height: 390px;
  display: block;
  object-fit: contain;
  background: #071824;
}

.lf-gang-video-card > div { padding: 13px 15px; display: grid; gap: 3px; }
.lf-gang-video-card strong { color: var(--lf-navy); }
.lf-gang-video-card span { color: var(--lf-muted); font-size: 12px; }

.lf-gang-preview-toolbar {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--lf-navy);
  background: #fff;
  border-bottom: 1px solid var(--lf-line);
  font-size: 13px;
}

.lf-gang-preview-size { color: var(--lf-blue); font-weight: 900; }

.lf-gang-sheet-frame {
  min-height: 500px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #dfe7ec;
}

.lf-gang-sheet-preview {
  position: relative;
  width: 342px;
  height: 455px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lf-navy);
  border: 1px solid #bdc9d1;
  background-color: #fff;
  background-image: linear-gradient(#e7edf1 1px, transparent 1px), linear-gradient(90deg, #e7edf1 1px, transparent 1px);
  background-size: 20px 20px;
  box-shadow: 0 9px 26px rgba(18, 49, 71, .17);
  transition: width .25s ease;
}

.lf-gang-sheet-preview img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px) !important;
  height: calc(100% - 24px) !important;
  object-fit: contain;
}

.lf-gang-upload-placeholder {
  max-width: 190px;
  padding: 20px;
  display: grid;
  gap: 5px;
  text-align: center;
  border: 2px dashed var(--lf-blue);
  background: rgba(255, 255, 255, .88);
}

.lf-gang-upload-placeholder b { font-size: 15px; letter-spacing: .08em; }
.lf-gang-upload-placeholder span { color: var(--lf-muted); font-size: 11px; }
.lf-gang-preview-card > p { margin: 0 !important; padding: 12px 14px; color: var(--lf-muted) !important; font-size: 11px !important; line-height: 1.5; }

.lf-gang-form fieldset > label:first-of-type { grid-column: auto; }
.lf-gang-size-note {
  grid-column: 1 / -1;
  padding: 10px 12px;
  color: var(--lf-navy);
  border-left: 4px solid var(--lf-sky);
  background: #edf7fd;
  font-size: 12px;
}

.lf-gang-order-summary {
  padding: 17px 18px;
  display: grid;
  gap: 3px;
  color: var(--lf-navy);
  border: 1px solid #bad8ea;
  border-radius: 8px;
  background: #edf7fd;
}

.lf-gang-order-summary > span { color: var(--lf-orange); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lf-gang-order-summary > strong { font-size: 18px; }
.lf-gang-order-summary > small { color: var(--lf-muted); }
.lf-gang-order-summary > b { margin-top: 7px; font-size: 12px; }
.lf-gang-call { color: var(--lf-blue) !important; font-weight: 900; text-align: center; }
.lf-request-price { color: var(--lf-blue) !important; font-size: 13px !important; font-weight: 800; }

.lf-gang-tab-list { padding-left: 22px; }
.lf-gang-tab-list li { margin-bottom: 10px; line-height: 1.55; }

.lf-embroidery-guide {
  max-width: 1180px;
  margin: 20px auto 55px;
  color: var(--lf-ink);
}

.lf-embroidery-guide header {
  padding: 36px;
  color: #fff;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(120deg, var(--lf-navy), var(--lf-blue));
}

.lf-embroidery-guide header h1 { margin: 0 0 8px; color: #fff; font-size: clamp(32px, 5vw, 54px); }
.lf-embroidery-guide header p { margin: 0; color: #e1f2ff; font-size: 17px; }

.lf-embroidery-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--lf-line);
  border-top: 0;
  background: #fff;
}

.lf-embroidery-steps article { min-height: 235px; padding: 26px 22px; border-right: 1px solid var(--lf-line); }
.lf-embroidery-steps article:last-child { border-right: 0; }
.lf-embroidery-steps article > b { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--lf-orange); }
.lf-embroidery-steps h2 { margin: 14px 0 8px; color: var(--lf-navy); font-size: 23px; }
.lf-embroidery-steps p { margin: 0; color: var(--lf-muted); font-size: 14px; line-height: 1.6; }

.lf-embroidery-guide__cta {
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-radius: 0 0 12px 12px;
  color: #fff;
  background: #0a334f;
}

.lf-embroidery-guide__cta h2 { width: 100%; margin: 0; color: #fff; }
.lf-embroidery-guide__cta p { flex: 1 1 360px; margin: 0; color: #dbefff; }
.lf-embroidery-guide__cta .button { color: #fff !important; background: var(--lf-orange) !important; }
.lf-embroidery-guide__cta > a:not(.button) { color: #fff; font-weight: 900; }

@media (max-width: 1000px) {
  .lf-studio-layout { grid-template-columns: 1fr; }
  .lf-studio-preview-panel { position: static; }
  .lf-gang-layout { grid-template-columns: 1fr; }
  .lf-gang-visuals { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-gang-summary-cta { grid-template-columns: 1fr auto; }
  .lf-gang-summary-cta ul { grid-column: 1 / -1; }
  .lf-embroidery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-embroidery-steps article:nth-child(2) { border-right: 0; }
  .lf-embroidery-steps article:nth-child(-n+2) { border-bottom: 1px solid var(--lf-line); }
}

@media (max-width: 700px) {
  .lf-studio-header { padding: 24px 20px; }
  .lf-studio-layout { padding: 18px; }
  .lf-studio-mockup { min-height: 410px; }
  .lf-studio-form fieldset { grid-template-columns: 1fr; padding: 15px; }
  .lf-studio-form fieldset > * { grid-column: 1 !important; }
  .lf-studio-size-grid { grid-template-columns: repeat(5, minmax(45px, 1fr)); }
  .lf-studio-customer-grid { grid-template-columns: 1fr; }
  .lf-studio-review { display: grid; }
  body.lf-dtf-gang-page.single-product div.product > .summary { padding: 26px 22px; }
  .lf-gang-summary-cta,
  .lf-gang-summary-cta ul { grid-template-columns: 1fr; }
  .lf-gang-summary-cta > * { grid-column: 1 !important; }
  .lf-gang-summary-cta .button,
  .lf-gang-summary-cta > a:not(.button) { width: 100%; justify-content: center; text-align: center; }
  .lf-gang-header { padding: 25px 21px; }
  .lf-gang-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 18px; }
  .lf-gang-layout { padding: 18px; }
  .lf-gang-visuals { grid-template-columns: 1fr; }
  .lf-gang-sheet-frame { min-height: 440px; padding: 15px; }
  .lf-gang-sheet-preview { height: 410px; }
  .lf-embroidery-steps { grid-template-columns: 1fr; }
  .lf-embroidery-steps article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--lf-line); }
  .lf-embroidery-steps article:last-child { border-bottom: 0; }
  .lf-embroidery-guide header { padding: 28px 22px; }
}
