.ls-slice-price {
  display: block;
  box-sizing: border-box;
  padding: 10px 12px;
  margin: 8px 0;
  border: 1px solid #bdbdb6;
  border-left: 3px solid #a3382d;
  border-radius: 3px;
  background:
    repeating-linear-gradient(0deg, #fff2 0 1px, transparent 1px 3px),
    linear-gradient(110deg, #dedfd9, #f8f6ed 52%, #d8dad6);
  color: #292721;
  font:
    13px/1.45 Arial,
    sans-serif;
  text-align: left;
  white-space: normal;
  letter-spacing: normal;
  text-transform: none;
  max-width: 100%;
}
.ls-slice-kicker {
  display: block;
  color: #922e25;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ls-slice-price .ls-slice-msrp {
  display: block;
  font-size: 12px;
  color: #5d584f;
  margin-top: 3px;
}
.ls-slice-price .ls-slice-pay {
  display: block;
  font:
    700 24px/1.25 Georgia,
    serif;
  color: #a3382d;
}
.ls-slice-price .ls-slice-detail {
  display: block;
  font-size: 12px;
}
.ls-slice-price button,
.ls-slice-price a {
  font:
    12px/1.4 Arial,
    sans-serif;
  color: #922e25;
  text-decoration: underline;
  background: transparent;
  border: 0;
  padding: 5px 0;
  cursor: pointer;
}
.ls-standard-price:has(+ .ls-slice-price[data-ready="true"]) {
  display: none !important;
}
.ls-slice-offer {
  display: block;
  border-top: 1px solid #bdbdb6;
  margin-top: 7px;
  padding-top: 5px;
}
.ls-slice-offer .ls-offer-star {
  display: inline-block;
  color: #9d3026;
  animation: ls-slice-glint 1.3s ease-in-out 1;
}
@keyframes ls-slice-glint {
  50% {
    transform: scale(1.15);
    color: #61440c;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ls-offer-star {
    animation: none !important;
  }
}
#ls-rewards-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99990;
  max-width: calc(100vw - 24px);
  font:
    14px/1.5 Arial,
    sans-serif;
  color: #292721;
  text-transform: none;
  letter-spacing: normal;
  text-align: left;
}
#ls-rewards-dock * {
  box-sizing: border-box;
}
#ls-rewards-dock [hidden] {
  display: none !important;
}
#ls-rewards-dock button,
#ls-rewards-dock input {
  font: inherit;
  min-height: 44px;
}
#ls-rewards-dock .ls-ai-launch {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  border: 1px solid #9d9e96;
  border-radius: 28px;
  padding: 8px 14px;
  color: #292721;
  background: linear-gradient(110deg, #d6d8d2, #faf8ef, #cbcdc8);
  box-shadow: 0 3px 12px #0003;
  cursor: pointer;
}
#ls-rewards-dock button::before,
#ls-rewards-dock button::after { display:none !important; }
#ls-rewards-dock .ls-ai-launch {
  background:linear-gradient(110deg,#d6d8d2,#faf8ef,#cbcdc8) !important;
  color:#292721 !important;
  border:1px solid #9d9e96 !important;
  border-radius:28px !important;
  box-shadow:0 3px 12px #0003 !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}
#ls-rewards-dock .ls-ai-close,
#ls-rewards-dock .ls-ai-link { background:transparent !important; box-shadow:none !important; border:0 !important; }
#ls-rewards-dock .ls-ai-panel {
  width: 340px;
  max-width: calc(100vw - 24px);
  max-height: min(650px, 75dvh);
  overflow: auto;
  background: #f7f0e3;
  color: #292721;
  border: 1px solid #b7ad99;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
  box-shadow: 0 7px 24px #0003;
}
#ls-rewards-dock .ls-ai-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font:
    700 20px Georgia,
    serif;
}
#ls-rewards-dock .ls-ai-close {
  border: 0;
  background: transparent;
  color: #292721;
  padding: 0 10px;
  cursor: pointer;
}
#ls-rewards-dock .ls-ai-balance {
  background: #deebe5;
  padding: 10px;
  margin: 10px 0;
  border-radius: 3px;
}
#ls-rewards-dock .ls-ai-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
#ls-rewards-dock a,
#ls-rewards-dock .ls-ai-link {
  color: #912d23;
  text-decoration: underline;
}
#ls-rewards-dock .ls-ai-link {
  border: 0;
  background: transparent;
  padding: 5px 0;
  cursor: pointer;
}
#ls-rewards-dock .ls-ai-recent a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid #c8beaa;
}
#ls-rewards-dock .ls-ai-question {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
#ls-rewards-dock input {
  min-width: 0;
  width: 100%;
  background: #fffef8;
  color: #292721;
  border: 1px solid #b7ad99;
  padding: 8px;
  border-radius: 3px;
  font-size: 16px;
}
#ls-rewards-dock .ls-ai-question button {
  background: #dbe3de;
  color: #292721;
  border: 1px solid #a5aaa3;
  border-radius: 3px;
  padding: 8px;
  cursor: pointer;
}
#ls-rewards-dock .ls-ai-answer {
  white-space: pre-wrap;
  font-size: 13px;
  margin: 10px 0;
}
#ls-rewards-dock .ls-ai-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #655c4f;
  margin-top: 12px;
}
#ls-rewards-dock .ls-ai-error {
  color: #922e25;
}
body.woocommerce-checkout #ls-rewards-dock .ls-ai-launch span[data-count] {
  display: none;
}
/* Homepage cards used to reserve only two rows for title and old price.
   Let Rewards content determine the height, including longer product names. */
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) {
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  align-items: stretch !important;
}
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) li.product:has(.ls-product-information) {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) li.product figure {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 auto !important;
  height: auto !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
}
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) figure .ct-media-container {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
}
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) .ls-product-information {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  gap: 10px !important;
  padding: 12px !important;
}
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) .ls-product-information .woocommerce-loop-product__title {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 3.45em !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  margin: 0 !important;
}
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) .ls-standard-price:has(+ .ls-slice-price[data-ready="true"]) {
  display: none !important;
}
body.page-id-162 #main #post-162#post-162 :is(#ls-rewards-carousel, #ls-cutlery-carousel) .ls-slice-price {
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: auto 0 0 !important;
}
body.page-id-162 #main #post-162#post-162 .loneslice-workshop-products:has(#ls-cutlery-carousel) {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}
body.page-id-162 #main #post-162#post-162 .loneslice-workshop-products:has(#ls-cutlery-carousel) > .woocommerce {
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}
/* Touch users need a persistent control with its own space below the photo. */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
  body.page-id-162 #main #post-162#post-162 #ls-rewards-carousel li.product .ls-reward-discount-trigger {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex: 0 0 auto !important;
    width: calc(100% - 16px) !important;
    min-height: 44px !important;
    margin: 8px !important;
  }
}
@media (max-width: 600px) {
  html:has(#ls-rewards-dock) {
    scroll-padding-bottom: 80px;
  }
  body:has(#ls-rewards-dock) {
    padding-bottom: 68px;
  }
  #ls-rewards-dock {
    right: 12px;
    bottom: 12px;
  }
  #ls-rewards-dock .ls-ai-launch {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    gap: 0;
    font-size: 22px;
  }
  #ls-rewards-dock .ls-ai-launch span:not(:first-child) {
    display: none;
  }
  .ls-slice-price {
    padding: 8px;
  }
  .ls-slice-price .ls-slice-pay {
    font-size: 21px;
  }
  .ls-slice-price a,
  .ls-slice-price button {
    min-height: 44px;
  }
}
