/* Scope every rule: unrelated Woo products retain their native layout. */
.lg-guide,
#lg-gallery,
.lg-manual {--lg-blue:#2c64a0;--lg-orange:#ef9035;color:#000000;background:#ffffff;
  font-family: inherit;
  box-sizing: border-box;
}
.lg-guide *,
#lg-gallery * {
  box-sizing: border-box;
}
.lg-guide {
  scroll-margin-top: 100px;
  margin: 20px 0 28px;
  padding: 24px;border:1px solid #000000;border-radius:12px;
}
.lg-guide h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
  margin: 6px 0 12px;color:#000000;
}
.lg-guide h3 {
  font-size: 23px;
  line-height: 1.2;
  margin: 22px 0 12px;color:#000000;
}
.lg-guide h4 {
  font-size: 22px;color:#000000;
  margin: 8px 0;
}
.lg-guide p {
  line-height: 1.5;
  margin: 10px 0 16px;
}
.lg-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.lg-guide a {color:#2c64a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lg-family {
  display: block;
  font-size: 14px;
  margin-bottom: 22px;
}
.lg-guide button,
#lg-gallery button {
  min-height: 44px;
  padding: 10px 14px;border:1px solid #000000;border-radius:6px;background:#ffffff;color:#000000;
  font: inherit;
  line-height: 1.25;
  cursor: pointer;
  text-transform: none;box-shadow:none;
}
.lg-guide button:focus-visible,
#lg-gallery button:focus-visible,
.lg-guide input:focus-visible,
.lg-guide select:focus-visible {outline:3px solid #2c64a0;outline-offset:3px;
}
.lg-guide button:disabled {
  cursor: wait;
}
.lg-steps {
  display: flex;
  gap: 6px;
}
.lg-guide .lg-steps button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  text-align: center;
}
/* "Step 1" above the name, so the number never reads as a quantity. */
.lg-guide .lg-steps small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lg-guide .lg-steps span {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
}
.lg-guide button[aria-current="step"],
#lg-gallery button[aria-pressed="true"],
.lg-guide button[aria-pressed="true"],
#lg-gallery button[aria-pressed="true"]:hover,
#lg-gallery button[aria-pressed="true"]:focus {background:#2c64a0;border-color:#2c64a0;color:#ffffff;
}
.lg-guide fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;border:0;
}
.lg-guide legend {
  font-size: 15px;
  font-weight: 700;
  padding: 0 6px;
}
.lg-guide .lg-run {border:1px solid #000000;border-radius:8px;
  padding: 14px;
  margin-top: 18px;
}
.lg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lg-guide .lg-row label {
  flex: 1 1 200px;
}
.lg-lengths {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.lg-run-bottom [data-total] {
  font-size: 15px;
  font-weight: 700;
}
.lg-add {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lg-add .lg-secondary {
  margin-top: 16px;
}
.lg-guide label {
  display: block;
  flex: 1;
  font-size: 13px;color:#000000;
  min-width: 0;
}
.lg-guide input,
.lg-guide select {
  width: 100%;
  height: 46px;
  margin-top: 5px;
  padding: 8px 10px;
  font: inherit;
  font-size: 16px;border:1px solid #000000;border-radius:4px;background:#ffffff;color:#000000;
}
.lg-guide .lg-len-name {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}
.lg-guide .lg-len-boxes {
  display: flex;
  gap: 8px;
}
.lg-guide .lg-len-boxes label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}
.lg-guide .lg-len-boxes input {
  flex: 1;
  min-width: 0;
  margin-top: 0;
  text-align: center;
}
.lg-run-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
}
.lg-run-bottom button {border:0;
  text-decoration: underline;
  font-size: 12px;
  padding: 6px;
}
.lg-guide .lg-primary {
  display: block;background:#2c64a0;color:#ffffff;border-color:#2c64a0;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  margin-top: 18px;
}
.lg-guide .lg-secondary {
  margin-top: 16px;
  font-size: 14px;
}
.lg-hint,
.lg-caption {
  font-size: 12px !important;
  line-height: 1.5;
}
.lg-explain,
.lg-install {border-top:1px solid #000000;border-bottom:1px solid #000000;
  padding: 3px 0;
  margin: 20px 0;
}
.lg-guide summary,
.lg-manual summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
}
.lg-path-example {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 16px auto;
}
.lg-path-example text {
  font-size: 12px;fill:#000000;
}
.lg-zone-choices {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.lg-guide .lg-zone-choices button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 14px;
}
.lg-zone-choices strong,
.lg-zone-choices span {
  display: block;
}
.lg-zone-choices span {
  font-size: 12px;
  margin-top: 5px;
}
.lg-assignments {
  display: grid;
  gap: 14px;
}
.lg-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.lg-actions .lg-primary {
  flex: 1;
}
.lg-result {border:2px solid #2c64a0;border-radius:8px;
  padding: 18px;
}
.lg-result .lg-price {
  font-size: 30px;
  font-weight: 700;
  margin: 12px 0;
}
.lg-result ul {
  padding-left: 18px;
  margin: 16px 0;
  line-height: 1.6;
  font-size: 14px;
}
.lg-no-fit {
  padding: 16px;border:2px solid #ef9035;border-radius:8px;
}
.lg-validation:empty,
.lg-checkout-status:empty {
  display: none;
}
.lg-validation,
.lg-checkout-status {
  font-size: 14px;
  margin-top: 16px;
}
.lg-manual {
  margin: 18px 0;
}
.lg-manual form {
  padding-top: 16px;
}
.lg-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.lg-tabs button {
  flex: 1;
}
.lg-scene {
  width: 100%;
  height: clamp(300px, 38vw, 520px);
  position: relative;
  overflow: hidden;border-radius:10px;background:#000000;color:#ffffff;
  display: grid;
  place-content: center;
}
.lg-scene canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}
.lg-scene > p,
.lg-loading {
  padding: 20px;
  text-align: center;
  font-size: 14px;
}
.lg-scene button {
  margin: 10px;
}
.lg-preview-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 16px 0;
}
.lg-preview-tools fieldset[hidden] {
  display: none !important;
}
.lg-preview-tools fieldset {border:0;
  padding: 0;
  margin: 0;
}
.lg-preview-tools legend {
  font-size: 12px;
  margin-bottom: 7px;color:#000000;
}
.lg-preview-tools button {
  font-size: 13px !important;
  padding: 9px 12px !important;
}
.lg-dimmer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
}
.lg-dimmer input {
  flex: 1;accent-color:#2c64a0;
  min-width: 0;
  height: 44px;
}
.lg-dimmer output {
  width: 38px;
  text-align: right;
}
.lg-caption {
  margin: 10px 0 20px;
}
.lg-context-note {
  position: absolute;
  bottom: 0;
  z-index: 2;background:#000000;color:#ffffff;
}
#lg-gallery [hidden] {
  display: none !important;
}
.lg-loading svg {
  width: 24px;
  height: 36px;
  vertical-align: middle;
  margin-right: 8px;stroke:#ffffff;fill:none;
  stroke-width: 2;
}
.lg-loading svg circle {fill:#ffffff;
}
.lg-guide [data-next],
.lg-guide [data-checkout] {
  white-space: normal;
}
@media (min-width: 1024px) {
  #lg-gallery {
    position: sticky;
    top: 100px;
  }
}
@media (max-width: 600px) {
  .lg-guide {
    padding: 18px 14px;
    margin-top: 16px;border-radius:8px;
  }
  .lg-guide h2 {
    font-size: 28px;
  }
  .lg-guide h3 {
    font-size: 21px;
  }
  .lg-guide p {
    font-size: 14px;
  }
  .lg-scene {
    height: 300px;
  }
  .lg-preview-tools {
    gap: 10px;
  }
  .lg-preview-tools button {
    padding: 9px 10px !important;
  }
  .lg-guide .lg-run {
    padding: 12px;
  }
  .lg-row,
  .lg-lengths {
    gap: 8px;
  }
  .lg-result {
    padding: 14px;
  }
}

.lg-loading svg {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 14px;stroke:#000000;
  stroke-width: 2;
}
.lg-loading .sdp-loading-thermometer__rim {fill:#000000;stroke:#ffffff;
}
.lg-loading .sdp-loading-thermometer__face {fill:#ffffff;
}
.lg-loading .sdp-loading-thermometer__brand {
  font: bold 18px sans-serif;stroke:none;
}
.lg-loading .sdp-loading-thermometer__needle {
  transform-origin: 120px 120px;
  animation: lg-sweep 2s ease-in-out infinite alternate;fill:#ec6a4f;stroke:none;
}
.lg-loading .sdp-loading-thermometer__pin {fill:#ffffff;
}
.lg-loading .sdp-loading-thermometer__hub {fill:#000000;
}
.lg-loading line {
  stroke-width: 3;
}
@keyframes lg-sweep {
  from {
    transform: rotate(-195deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lg-loading .sdp-loading-thermometer__needle {
    animation: none;
    transform: rotate(-70deg);
  }
}
.lg-guide {
  text-align: left;
}
.lg-guide h2,
.lg-guide h3,
.lg-guide h4 {
  text-transform: none;
  font-weight: 700;
  letter-spacing: normal;
  text-align: left;
}
.lg-guide p,
.lg-guide li {color:#000000;
  text-align: left;
}
.lg-guide p {
  font-size: 15px;
}
.lg-guide .lg-eyebrow {
  font-size: 11px;
}
.lg-guide .lg-price {
  font-size: 30px;
}
.lg-guide button:hover,
.lg-guide button:focus,
#lg-gallery button:hover,
#lg-gallery button:focus {
  opacity: 1;
  filter: none;background:#ffffff;color:#000000;
}
.lg-guide .lg-primary:hover,
.lg-guide .lg-primary:focus,
.lg-guide button[aria-current="step"]:hover,
.lg-guide button[aria-pressed="true"]:hover,
#lg-gallery button[aria-pressed="true"]:hover {background:#2c64a0;color:#ffffff;
}
.lg-guide button[aria-current="step"],
.lg-guide button[aria-pressed="true"],
#lg-gallery button[aria-pressed="true"] {
  opacity: 1;
}
.lg-guide .lg-result p {
  font-size: 14px;
}
.lg-guide .lg-result .lg-price {
  font-size: 30px;
}
.lg-preview-tools legend {
  text-transform: none;
  letter-spacing: normal;
}
.lg-zone-choices button:disabled {
  cursor: not-allowed;border-style:dashed;background:#ffffff;color:#000000;
}
.lg-zone-choices button:disabled span {
  font-size: 12px;
}
.lg-guide [data-lg-share-link] {
  margin-top: 12px;
}
.lg-guide [data-lg-share-link] a {
  display: inline-block;
  padding: 12px 0;
}
/* WoodMart's disabled-button overlay must stay inside its own button. */
.lg-manual .single_add_to_cart_button {
  position: relative;
}
#lg-gallery {
  width: 100%;
  max-width: 100%;
}
.lg-guide h2,
.lg-guide h3,
.lg-guide h4,
.lg-guide legend {
  text-transform: none !important;
}
body.postid-464497 [data-widget_type="wd_single_product_tabs.default"],
body.postid-482950 [data-widget_type="wd_single_product_tabs.default"] {
  position: static !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
}
body.postid-464497 [data-widget_type="heading.default"][hidden],
body.postid-482950 [data-widget_type="heading.default"][hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .lg-guide h2 {
    font-size: 24px;
  }
  .lg-guide h3 {
    font-size: 20px;
  }
  .lg-guide .lg-steps span {
    font-size: 14px;
  }
}

.lg-cove-note {
  margin: 16px 0;border-left:4px solid #ef9035;
  padding: 12px 14px;
  font-size: 14px;
}
.lg-cove-note p:last-child {
  margin-bottom: 0;
}
.lg-dimmer-name {
  flex: 0 0 115px;
  max-width: 40%;
}
.lg-dimmer-name small {
  display: block;
  font-size: 11px;
  line-height: 1.3;
}

/* Match the designer's explicit look controls, outside the render on every screen. */
#lg-gallery .lg-camera,
.lg-camera {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0;color:#000000;background:#ffffff;
}
.lg-camera label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
#lg-gallery .lg-camera select {
  min-height: 44px;
  width: 120px;
  padding: 6px 24px 6px 10px;border:1px solid #000000;border-radius:6px;color:#000000;background-color:#ffffff;
}
.lg-camera-buttons {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 4px;
}
#lg-gallery .lg-camera button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;border:1px solid #000000;border-radius:6px;background:#ffffff;color:#000000;box-shadow:none;
}
#lg-gallery .lg-camera button:hover {background:#2c64a0;color:#ffffff;
}
#lg-gallery .lg-camera :focus-visible,
.lg-scene canvas:focus-visible {outline:3px solid #ec6a4f;outline-offset:2px;
}
.lg-camera p {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
}
@media (max-width: 380px) {
  .lg-camera-buttons {
    gap: 2px;
  }
}
