/* ==========================================================================
   Lumelle — WooCommerce single product
   Path: /assets/css/single-product.css
   Notes: cleaned, deduplicated, media queries moved to the bottom.
   ========================================================================== */

/* ===== Base styles ===== */

:root {
  --lm-bg: #f8f3ee;
  --lm-bg-soft: #fbf7f2;
  --lm-card: #ffffff;
  --lm-text: #2f292d;
  --lm-muted: #7e727a;
  --lm-muted-2: #a8999f;
  --lm-line: rgba(106, 77, 103, 0.14);
  --lm-accent: #6a4d67;
  --lm-accent-dark: #4f354c;
  --lm-accent-soft: #efe5ec;
  --lm-green: #3f8f61;
  --lm-green-bg: #eaf7ef;
  --lm-red: #a64646;
  --lm-red-bg: #f8eeee;
  --lm-shadow: 0 24px 70px rgba(72, 46, 62, 0.11);
  --lm-shadow-soft: 0 14px 34px rgba(72, 46, 62, 0.08);
  --lm-radius-xl: 2rem;
  --lm-radius-lg: 1.5rem;
  --lm-radius-md: 1.125rem;
  --lm-radius-sm: 0.75rem;
}

.single-product .site-main,
.single-product .content-area,
.single-product .storefront-breadcrumb,
.single-product div.product {
  margin: 0;
  padding: 0;
}

.lm-product-page {
  position: relative;
  overflow: visible;
  padding: 2rem 0 5.5rem;
  background:
    radial-gradient(
      circle at 18% 55%,
      rgba(119, 85, 112, 0.11),
      transparent 28%
    ),
    linear-gradient(180deg, var(--color-bg, #f7f7f8) 0%, #f1f2f4 100%);
  color: var(--lm-text);
}

.lm-product-card {
  position: relative;
  margin-bottom: 4rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--lm-radius-xl);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.78)
    ),
    linear-gradient(135deg, rgba(106, 77, 103, 0.08), rgba(255, 255, 255, 0));
  box-shadow: var(--lm-shadow);
  backdrop-filter: blur(14px);
}

.lm-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.1fr);
  gap: 2.625rem;
  align-items: flex-start;
}

.lm-product-gallery__main {
  width: 100%;
  aspect-ratio: 5 / 7;
  min-height: 0;
  max-height: min(70dvh, 52rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1.2vw, 1rem);
  overflow: hidden;
  border-radius: var(--lm-radius-xl, 2rem);
  /* background:
    radial-gradient(
      circle at 50% 42%,
      rgba(106, 77, 103, 0.06),
      transparent 58%
    ),
    linear-gradient(180deg, #fff 0%, #faf8fb 100%); */
}

.lm-product-gallery__main-img,
.lm-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--lm-radius-xl, 2rem) - 0.45rem);
  transition:
    filter 0.28s ease,
    opacity 0.28s ease;
}

.lm-product-gallery__main:hover img {
  /* transform: scale(1.045); */
  filter: saturate(1.04) contrast(1.02);
}

.lm-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.625rem;
}
/* ===== Main product photo hover: premium stable effect ===== */

.lm-product-gallery__main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: zoom-in;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.lm-product-gallery__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.12) 54%,
    transparent 64%,
    transparent 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  transition:
    transform 0.7s ease,
    opacity 0.28s ease;
}

.lm-product-gallery__main::after {
  content: "⌕";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106, 77, 103, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--lm-accent, #6a4d67);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0.75rem 2rem rgba(47, 41, 45, 0.08);
  opacity: 0;
  transform: translateY(0.35rem);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
  backdrop-filter: blur(10px);
}

.lm-product-gallery__main:hover {
  border-color: rgba(106, 77, 103, 0.18);
  box-shadow: 0 1.25rem 3rem rgba(47, 41, 45, 0.09);
}

.lm-product-gallery__main:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.lm-product-gallery__main:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.lm-product-gallery__main-img,
.lm-product-gallery__main img {
  transform: none !important;
  scale: 1 !important;
  transition:
    filter 0.28s ease,
    opacity 0.28s ease;
}

.lm-product-gallery__main:hover .lm-product-gallery__main-img,
.lm-product-gallery__main:hover img {
  transform: none !important;
  scale: 1 !important;
  filter: saturate(1.03) contrast(1.02);
}
.lm-product-gallery__thumb {
  position: relative;

  aspect-ratio: 1 / 1.4;
  height: auto;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--lm-radius-sm);
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  padding: 0;
}

.lm-product-gallery__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(106, 77, 103, 0.08);
  pointer-events: none;
}

.lm-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.lm-product-gallery__thumb:hover,
.lm-product-gallery__thumb.is-active {
  transform: translateY(-0.125rem);
  border-color: rgba(106, 77, 103, 0.45);
  box-shadow: 0 12px 24px rgba(72, 46, 62, 0.12);
}

.lm-product-gallery__thumb:hover img,
.lm-product-gallery__thumb.is-active img {
  filter: saturate(1);
  transform: scale(1.04);
}

.lm-line-tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.lm-product-summary {
  min-width: 0;
  padding: 0.625rem 0.25rem 0.25rem;
}

.lm-product-title {
  max-width: 42.5rem;
  margin: 0 0 0.875rem;
  color: var(--lm-text);
  font-size: clamp(1.75rem, 2.2vw, 2.55rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.lm-product-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--color-primary, #6a4d67);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.lm-product-price ins {
  order: 1;
  display: inline-flex;
  background: transparent;
  color: var(--color-primary, #6a4d67);
  text-decoration: none;
}

.lm-product-price ins .woocommerce-Price-amount {
  color: var(--color-primary, #6a4d67);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.lm-product-price del {
  order: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(106, 77, 103, 0.48);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  opacity: 1;
  align-self: center;
}

.lm-product-price del .woocommerce-Price-amount {
  color: rgba(106, 77, 103, 0.48);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.lm-product-price del::after {
  content: "";
  position: absolute;
  left: -0.08rem;
  right: -0.08rem;
  top: 52%;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(106, 77, 103, 0.55);
}

.lm-product-price del,
.lm-product-price del span {
  text-decoration: none !important;
}

.lm-product-price-label {
  margin-left: 0.15rem;
  color: rgba(47, 41, 45, 0.58);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lm-product-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0.125rem 0 1.375rem;
  padding: 0.5625rem 0.875rem;
  border: 1px solid rgba(63, 143, 97, 0.16);
  border-radius: 999px;
  background: var(--lm-green-bg);
  color: var(--lm-green);
  font-size: 0.875rem;
  font-weight: 650;
}

.lm-product-stock__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 14%, transparent);
}

.lm-product-actions {
  margin-bottom: 40px;
}

.lm-product-actions form.cart {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  height: max-content;
}

.lm-product-actions form.variations_form.cart {
  display: block;
}

.lm-product-actions .variations {
  width: 100%;
  margin: 0 0 1rem;
  border: 0;
}

.lm-product-actions .variations tr,
.lm-product-actions .variations td,
.lm-product-actions .variations th {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.lm-product-actions .variations label {
  display: block;
  margin: 0 0 0.375rem;
  color: var(--lm-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.lm-product-actions .variations select {
  width: 100%;
  min-height: 3rem;
  margin-bottom: 0.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(106, 77, 103, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--lm-text);
}

.lm-product-actions .reset_variations {
  color: var(--lm-muted);
  font-size: 0.8125rem;
}

.lm-product-actions .single_variation_wrap .woocommerce-variation-add-to-cart {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.lm-product-actions .quantity {
  display: inline-flex;
  align-items: center;
  min-height: 3.375rem;
  overflow: hidden;
  border: 1px solid rgba(106, 77, 103, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.lm-product-actions .quantity input.qty {
  width: 5.875rem;
  min-height: 3.25rem;
  padding: 0 0.875rem;
  border: 0;
  background: transparent;
  color: var(--lm-text);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
}

.lm-product-actions .quantity input.qty::-webkit-outer-spin-button,
.lm-product-actions .quantity input.qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.lm-product-actions .single_add_to_cart_button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.375rem;
  padding: 0.875rem 1.75rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--lm-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(106, 77, 103, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.lm-product-actions .single_add_to_cart_button:hover {
  transform: translateY(-0.125rem);
  background: var(--lm-accent-dark);
  box-shadow: 0 20px 42px rgba(106, 77, 103, 0.32);
}

.lm-product-wishlist {
  margin-top: 0.75rem;
}

.lm-product-wishlist a,
.lm-product-wishlist .add_to_wishlist,
.lm-product-wishlist .yith-wcwl-add-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(106, 77, 103, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--lm-accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.lm-product-benefits {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.lm-product-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lm-muted);
  font-size: 0.9rem;
}

.lm-product-benefit span {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--lm-accent-soft);
  color: var(--lm-accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.lm-product-attributes {
  display: grid;
  row-gap: 0.5rem;
  column-gap: 1.5rem;
  margin-bottom: 1.125rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-product-attr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(106, 77, 103, 0.08);
  border-radius: var(--lm-radius-sm);
  background: rgba(255, 255, 255, 0.52);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.lm-product-attr:hover {
  transform: translateX(0.1875rem);
  border-color: rgba(106, 77, 103, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.lm-product-attr__label {
  color: var(--lm-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.lm-product-attr__value,
.lm-product-attr__value a {
  min-width: 0;
  color: var(--lm-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.lm-product-attr__value a:hover {
  color: var(--lm-accent);
}

.lm-product-description {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border: 1px solid rgba(106, 77, 103, 0.1);
  border-radius: var(--lm-radius-lg);
  background: rgba(255, 255, 255, 0.58);
}

.lm-product-description h2 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 0.75rem;
  color: var(--lm-text);
  font-size: 1.05rem;
  font-weight: 760;
}

.lm-product-description h2::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 99px;
  background: var(--lm-accent);
}

.lm-product-description__content {
  color: var(--lm-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lm-product-description__content p {
  margin: 0 0 0.5rem;
}

.lm-section-head {
  width: fit-content;
  margin: 0 auto 1.875rem;
  text-align: center;
}

.lm-section-head span {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--lm-accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lm-section-head h2 {
  margin: 0;
  color: var(--lm-text);
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.lm-section-head h2::after {
  content: "";
  display: block;
  width: 54%;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--lm-accent),
    transparent
  );
}

.lm-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.125rem;
}

.lm-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0.75rem;
  border: 1px solid rgba(106, 77, 103, 0.1);
  border-radius: var(--lm-radius-lg);
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--lm-shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.lm-related-card::before {
  content: "переглянути";
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  z-index: 2;
  padding: 0.375rem 0.5625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--lm-accent);
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-0.375rem);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  backdrop-filter: blur(8px);
}

.lm-related-card:hover {
  transform: translateY(-0.375rem);
  border-color: rgba(106, 77, 103, 0.2);
  box-shadow: 0 22px 48px rgba(72, 46, 62, 0.13);
}

.lm-related-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.lm-related-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  margin-bottom: 0.875rem;
  overflow: hidden;
  border-radius: calc(var(--lm-radius-lg) - 0.5rem);
  background: var(--lm-bg);
}

.lm-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.lm-related-card:hover .lm-related-card__image img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.lm-related-card__code {
  margin-bottom: 0.5rem;
  color: var(--lm-muted-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.lm-related-card__title {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0 0 0.75rem;
  overflow: hidden;
  color: var(--lm-text);
  font-size: 0.93rem;
  font-weight: 620;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lm-related-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  margin: auto 0 0.75rem;
  color: var(--lm-green);
  font-size: 0.78rem;
  font-weight: 650;
}

.lm-related-card__stock.is-out-of-stock {
  color: var(--lm-red);
}

.lm-related-card__stock::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: currentColor;
}

.lm-related-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4375rem;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(106, 77, 103, 0.1);
  color: var(--lm-accent);
  font-size: 1.2rem;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.lm-product-gallery__thumb:focus-visible,
.lm-product-actions .single_add_to_cart_button:focus-visible,
.lm-related-card:focus-visible,
.lm-product-breadcrumbs a:focus-visible {
  outline: 3px solid rgba(106, 77, 103, 0.28);
  outline-offset: 3px;
}

.lm-product-stock.is-preorder::before {
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(173, 111, 43, 0.12);
}

.lm-product-stock.is-in-stock {
  border-color: rgba(63, 143, 97, 0.18);
  background: #eaf7ef;
  color: #3f8f61;
}

.lm-product-price-card__top {
  padding-right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 16px;
  margin-bottom: 16px;
}

.lm-product-cart-form__qty {
  display: flex;
  align-items: center;
}

.lm-product-cart-form .quantity {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  overflow: hidden;
  border: 1px solid rgba(106, 77, 103, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.lm-product-cart-form .qty {
  width: 5.5rem;
  height: 3.25rem;
  border: 0;
  background: transparent;
  color: var(--color-text, #2f292d);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  outline: none;
}

.lm-product-cart-form .lm-cart-btn {
  background: var(--color-primary, #6a4d67);
  color: #ffffff;
  box-shadow: 0 0.875rem 1.75rem rgba(106, 77, 103, 0.22);
}

.lm-product-cart-form .lm-cart-btn:hover {
  background: var(--color-primary-dark, #4f354c);
  transform: translateY(-2px);
}

.lm-product-cart-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  max-width: 39rem;
}

.lm-qty-control {
  display: inline-grid;
  grid-template-columns: 2.75rem 4rem 2.75rem;
  align-items: center;
  min-height: 3.25rem;
  overflow: hidden;
  border: 1px solid rgba(106, 77, 103, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.lm-qty-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 3.25rem;
  border: 0;
  background: transparent;
  color: var(--color-primary, #6a4d67);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

.lm-qty-btn:hover:not(:disabled) {
  background: var(--color-primary, #6a4d67);
  color: #ffffff;
}

.lm-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lm-qty-control .qty {
  width: 4rem;
  height: 3.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text, #2f292d);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.lm-qty-control .qty::-webkit-outer-spin-button,
.lm-qty-control .qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.lm-product-cart-form__buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.lm-product-cart-form .lm-cart-btn,
.lm-product-cart-form .lm-buy-now-btn {
  width: 100%;
  min-height: 3.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.lm-product-cart-form .lm-buy-now-btn {
  border: 1px solid rgba(106, 77, 103, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-primary, #6a4d67);
  box-shadow: none;
}

.lm-product-cart-form .lm-buy-now-btn:hover {
  background: var(--color-primary, #6a4d67);
  color: #ffffff;
  transform: translateY(-2px);
}

.lm-product-stock__lead {
  margin-left: 0.35rem;
  padding-left: 0.6rem;
  border-left: 1px solid rgba(154, 98, 38, 0.22);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.88;
}

.lm-product-stock.is-preorder {
  border-color: rgba(173, 111, 43, 0.2);
  background: #fff4df;
  color: #9a6226;
}

.lm-product-stock.is-preorder .lm-product-stock__dot {
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(173, 111, 43, 0.12);
}

.lm-product-stock.is-out-of-stock {
  border-color: rgba(160, 65, 65, 0.18);
  background: #fff0f0;
  color: #a04141;
}

.lm-qty-control .lm-qty-input {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 4rem;
  min-width: 4rem;
  height: 3.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text, #2f292d);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  outline: none;
}

.lm-qty-control .lm-qty-input[readonly],
.lm-qty-control .lm-qty-input:disabled {
  opacity: 1;
  color: var(--color-text, #2f292d);
}

.lm_line-tag {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.lm-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 1.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.lm-product-badge--sale {
  background: rgba(146, 43, 43, 0.1);
  border: 1px solid rgba(146, 43, 43, 0.18);
  color: #922b2b;
}

.lm-product-badge--new {
  background: rgba(77, 103, 18, 0.1);
  border: 1px solid rgba(77, 103, 18, 0.2);
  color: var(--color-olive, #4d6712);
}

.lm-product-badge--tag {
  background: rgba(37, 32, 37, 0.06);
  border: 1px solid rgba(37, 32, 37, 0.1);
  color: rgba(37, 32, 37, 0.72);
}

.lm-product-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lm-row-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 6px;
}

.lm-product-collection-wrap {
  display: block;
}

.lm-product-collection-premium {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto auto auto;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.9rem 0.55rem 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(106, 77, 103, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(250, 244, 249, 0.82)
    ),
    radial-gradient(
      circle at 8% 50%,
      rgba(106, 77, 103, 0.16),
      transparent 4rem
    );
  color: var(--color-primary, #6a4d67);
  text-decoration: none;
  box-shadow:
    0 0.85rem 2rem rgba(106, 77, 103, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.lm-product-collection-premium::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0 12%, transparent 13%),
    linear-gradient(135deg, #6a4d67, #b985aa);
}

.lm-product-collection-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 42%,
    transparent 68%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.lm-product-collection-premium__label {
  color: rgba(106, 77, 103, 0.62);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lm-product-collection-premium__name {
  color: var(--color-primary, #6a4d67);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.lm-product-collection-premium:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 77, 103, 0.28);
  box-shadow:
    0 1.1rem 2.5rem rgba(106, 77, 103, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lm-product-collection-premium:hover::after {
  transform: translateX(120%);
}

.lm-product-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--lm-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(37, 32, 37, 0.62);
  font-size: 0.8rem;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

.lm-product-meta-line strong {
  color: var(--color-text, #252025);
  font-weight: 700;
}

.lm-product-gallery__main-img {
  cursor: zoom-in;
}

.lm-lightbox-is-open {
  overflow: hidden;
}

.lm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.lm-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lm-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(106, 77, 103, 0.28),
      transparent 28rem
    ),
    rgba(18, 14, 17, 0.84);
  backdrop-filter: blur(10px);
}

.lm-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(72rem, 100%);
  max-height: calc(100vh - 4rem);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.32);
}

.lm-lightbox__figure {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
}

.lm-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 12rem);
  object-fit: contain;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

.lm-lightbox__close,
.lm-lightbox__arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.lm-lightbox__close:hover,
.lm-lightbox__arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.24);
}

.lm-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 2rem;
  line-height: 1;
}

.lm-lightbox__arrow {
  width: 3rem;
  height: 3rem;
  font-size: 2.4rem;
  line-height: 1;
}

.lm-lightbox__arrow--prev {
  grid-column: 1;
  grid-row: 1;
}

.lm-lightbox__arrow--next {
  grid-column: 3;
  grid-row: 1;
}

.lm-lightbox__thumbs {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.1rem;
}

.lm-lightbox__thumb {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  opacity: 0.64;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.lm-lightbox__thumb:hover,
.lm-lightbox__thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.68);
}

.lm-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.65rem;
}

.lm-product-gallery {
  position: sticky;
  top: calc(var(--header-height, 6rem) + 3.25rem);
  min-width: 0;
  align-self: flex-start;
  z-index: 3;
}
/* ===== Single product attribute colors ===== */

.lm-product-attr--colors .lm-product-attr__value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.lm-product-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lm-product-color-chip {
  min-height: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.625rem 0.25rem 0.25rem;
  /* border: 1px solid rgba(106, 77, 103, 0.14);
  border-radius: 999px; */
  background: rgba(255, 255, 255, 0.82);
  color: rgba(47, 41, 45, 0.82);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.lm-product-color-chip__dot {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  border-radius: 999px;
  background: var(--product-color, #fff);
  border: 2px solid #fff;
  box-shadow:
    0 0 0 1px rgba(106, 77, 103, 0.22),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.lm-product-color-chip__dot.is-multicolor {
  background: conic-gradient(
    from 45deg,
    #e86f8d,
    #f2c45b,
    #8ccf7e,
    #6aa9ff,
    #9b6cf0,
    #e86f8d
  );
}
.lm-product-color-chip__name {
  white-space: nowrap;
}

/* ===== Product full details + video ===== */

.lm-product-details {
  margin: -2rem 0 3rem;
  padding: 1.75rem;
  border: 1px solid rgba(106, 77, 103, 0.12);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 8% 12%, rgba(126, 76, 119, 0.1), transparent 32%),
    linear-gradient(135deg, #fff 0%, #fbf6fa 100%);
  box-shadow: 0 1.25rem 3rem rgba(47, 18, 51, 0.055);
}

.lm-product-details__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.lm-product-details__eyebrow {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--color-primary, #7e4c77);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lm-product-details h2 {
  margin: 0;
  color: var(--color-title, #301533);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.18;
  font-weight: 700;
}

.lm-product-details__toggle {
  min-height: 2.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(106, 77, 103, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary, #7e4c77);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0.85rem 2rem rgba(47, 18, 51, 0.055);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.lm-product-details__toggle:hover {
  transform: translateY(-2px);
  background: var(--color-primary, #7e4c77);
  color: #fff;
}

.lm-product-details__toggle i {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}

.lm-product-details.is-open .lm-product-details__toggle i {
  transform: translateY(2px) rotate(-135deg);
}

.lm-product-details__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    padding-top 0.35s ease;
}

.lm-product-details.is-open .lm-product-details__body {
  opacity: 1;
  padding-top: 1.5rem;
}

.lm-product-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}

.lm-product-details__grid.is-text-only {
  grid-template-columns: 1fr;
}

.lm-product-details__text {
  color: rgba(48, 21, 51, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.lm-product-details__text p {
  margin: 0 0 0.9rem;
}

.lm-product-details__text p:last-child {
  margin-bottom: 0;
}

.lm-product-details__video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 1.4rem;
  background: #120e12;
  box-shadow: 0 1.2rem 3rem rgba(47, 18, 51, 0.14);
}

.lm-product-details__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .lm-product-details {
    margin: -1rem 0 2.5rem;
    padding: 1.25rem;
    border-radius: 1.35rem;
  }

  .lm-product-details__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lm-product-details__toggle {
    width: 100%;
    justify-content: center;
  }

  .lm-product-details__grid {
    grid-template-columns: 1fr;
  }

  .lm-product-details__text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .lm-product-details__video {
    border-radius: 1.1rem;
  }
}
/* ===== Responsive styles ===== */

@media (max-width: 1180px) {
  .lm-product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(60%, 0.88fr);
    gap: 1.875rem;
  }

  .lm-product-card {
    padding: 1.375rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --lm-radius-xl: 1.5rem;
    --lm-radius-lg: 1.25rem;
  }

  .lm-product-page {
    padding: 1.625rem 0 4.375rem;
  }

  .lm-product-gallery__main {
    max-height: 680px;
  }

  .lm-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lm-product-collection-premium__label {
    font-size: 0.62rem;
  }

  .lm-product-collection-premium__name {
    font-size: 0.82rem;
  }

  .lm-lightbox {
    padding: 0.75rem;
  }

  .lm-lightbox__dialog {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
    max-height: calc(100vh - 1.5rem);
    padding: 0.75rem;
    border-radius: 1.1rem;
  }

  .lm-lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lm-lightbox__image {
    max-height: calc(100vh - 11rem);
    border-radius: 0.8rem;
  }

  .lm-lightbox__arrow {
    width: 100%;
    height: 2.75rem;
    font-size: 2rem;
  }

  .lm-lightbox__arrow--prev {
    grid-column: 1;
    grid-row: 2;
  }

  .lm-lightbox__arrow--next {
    grid-column: 2;
    grid-row: 2;
  }

  .lm-lightbox__thumbs {
    grid-row: 3;
  }

  .lm-lightbox__thumb {
    width: 3.75rem;
    height: 3.75rem;
  }

  .lm-lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.8rem;
  }

  :root {
    --lm-radius-xl: 1.125rem;
    --lm-radius-lg: 1rem;
    --lm-radius-md: 0.875rem;
  }

  .lm-product-page {
    padding: 1.25rem 0 3.5rem;
  }

  .lm-product-card {
    padding: 0.875rem;
  }

  .lm-product-gallery__main {
    border-radius: var(--lm-radius-lg);
  }

  .lm-product-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lm-product-summary {
    padding: 0;
  }

  .lm-product-price-card {
    padding: 8px;
  }

  .lm-product-price-card::after {
    position: static;
    display: inline-flex;
    margin-top: 0.625rem;
  }

  .lm-product-actions form.cart,
  .lm-product-actions
    .single_variation_wrap
    .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr;
  }

  .lm-product-actions .quantity,
  .lm-product-actions .single_add_to_cart_button {
    width: 100%;
  }

  .lm-product-actions .quantity input.qty {
    width: 100%;
  }

  .lm-product-attr {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.6875rem 0.75rem;
  }

  .lm-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
  }

  .lm-product-badge {
    font-size: 0.6875rem;
    padding: 0.45rem 0.85rem;
    letter-spacing: 0.06em;
  }

  .lm-product-cart-form .quantity,
  .lm-product-cart-form .qty {
    width: 100%;
  }

  .lm-product-cart-form {
    grid-template-columns: 1fr;
  }

  .lm-qty-control {
    width: 100%;
    grid-template-columns: 3rem 1fr 3rem;
  }

  .lm-qty-control .qty {
    width: 100%;
  }

  .lm-product-cart-form__buttons {
    grid-template-columns: 1fr;
  }

  .lm-product-stock__lead {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 0.35rem;
    padding-left: 0;
    border-left: 0;
  }

  /* .lm_line-tag {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.625rem;
  } */

  .lm-product-meta-line {
    font-size: 0.75rem;
  }
  .lm-product-actions form.cart {
    grid-template-columns: 0.4fr 0.6fr;
  }
}

@media (max-width: 640px) {
  .lm-product-page {
    padding-top: 1rem;
    overflow: visible;
  }

  .lm-product-page__container {
    padding-inline: 1rem;
  }

  .lm-product-card {
    padding: 1rem;
    border-radius: 1.5rem;
    overflow: visible;
  }

  .lm-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .lm-product-gallery__main {
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 0;
    max-height: 60vh;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    width: 80%;
  }

  .lm-product-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .lm-product-gallery__thumbs {
    display: flex;
    gap: 20px;
    /* margin-top: 0.75rem; */
    overflow-x: auto;
    /* padding: 10px; */
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    overflow: visible;
    position: sticky;
    top: 60px;
    height: fit-content;
    width: 20%;
  }

  .lm-product-gallery__thumb {
    width: 100%;
    height: auto;
    scroll-snap-align: start;
    border-radius: 0.875rem;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .lm-product-summary {
    min-width: 0;
    position: relative;
  }

  .lm-line-tag {
    align-items: flex-start;
    gap: 0.625rem;
  }

  .lm-product-title {
    margin-top: 0.75rem;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
  }

  .lm-product-price-card {
    margin-top: 0.75rem;
  }

  .lm-product-price-card__top {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
  }

  .lm-product-price {
    font-size: 2rem;
  }

  .lm-product-stock {
    margin-top: 0.75rem;
  }

  .lm-product-cart-form {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .lm-qty-control {
    width: 100%;
    grid-template-columns: 3rem 1fr 3rem;
  }

  .lm-qty-control .lm-qty-input {
    width: 100%;
    min-width: 0;
  }

  .lm-product-cart-form__buttons {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .lm-product-cart-form .lm-cart-btn,
  .lm-product-cart-form .lm-buy-now-btn {
    min-height: 3.25rem;
    font-size: 0.95rem;
  }

  .lm-product-benefits {
    margin-top: 0.875rem;
    gap: 0.45rem;
  }

  .lm-product-attributes {
    margin-top: 1rem;
  }

  .lm-product-attributes__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.75rem 0.875rem;
  }

  .lm-product-description {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .lm-product-gallery {
    position: relative;
    top: auto;

    z-index: 1;
    width: 100%;

    display: flex;
    column-gap: 20px;
    overflow: visible;
  }
  .lm_line-tag {
    flex-direction: row;
  }
  .lm_line-tag {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.625rem;
    position: absolute;
    top: -87px;
    z-index: 100;
    max-width: 50%;
    /* background-color: white; */
  }
  .lm-product-collection-premium {
    margin-left: 10px;
  }
  .lm-product-badges {
    justify-content: right;
  }

  .lm-product-stock.is-in-stock {
    border-color: rgba(63, 143, 97, 0.18);
    background: #eaf7ef;
    color: #3f8f61;
    position: absolute;
    right: 0;
    top: 10%;
    font-size: 0.612rem;
  }
  .lm-product-attributes {
    grid-template-columns: 1fr 1fr;
  }
  .lm-row-tag {
    flex-direction: row;
    column-gap: 10px;
  }
  .lm-product-description__content {
    color: var(--lm-muted);
    font-size: 0.875rem;
    line-height: 1.45;
  }
  .fp-products {
    padding: 24px 0 0 0;
  }
}
/*----------------------------------------------------------------------------------425---------------------*/
@media (max-width: 425px) {
  .lm-product-page__container {
    padding-inline: 0.625rem;
  }

  .lm-product-breadcrumbs {
    font-size: 0.78rem;
  }

  .lm-product-card {
    border-radius: 1rem;
  }

  .lm-product-title {
    font-size: var(--fs-24);
  }

  .lm-product-price,
  .lm-product-price .amount {
    font-size: 2rem;
  }

  .lm-product-description {
    padding: 1rem;
  }

  .lm-related-grid {
    grid-template-columns: 1fr;
  }

  .lm-related-card__image {
    column-gap: 10px;
  }
  .lm-product-gallery__main {
    width: 80%;
  }
  .lm-product-gallery__thumbs {
    width: 20%;
  }
  .lm-product-gallery {
    column-gap: 10px;
  }
  .lm-product-card {
    padding: 10px;
  }
  .lm-product-breadcrumbs {
    font-size: 0.625rem;
    margin-bottom: 12px;
  }
  .lm-product-page {
    padding-top: 3rem;
  }
  .lm-product-gallery__thumbs {
    gap: 10px;
  }
  .fp-product-card__wishlist {
    top: 8px;
    right: 8px;
  }

  .fp-product-card__wishlist {
    width: 32px;
    height: 32px;
  }
  .fp-product-card__code {
    top: 9%;
    font-size: var(--fs-10);
  }
  .fp-product-card__badge,
  .fp-product-card__code {
    min-height: 24px;
  }
  .lm-product-attr__value,
  .lm-product-attr__value a {
    font-size: 0.75rem;
  }
  .lm-product-attr--colors .lm-product-attr__value {
    gap: 3px;
  }
  .lm-product-attr {
    padding: 8px;
  }
  .lm-product-color-chip {
    font-size: 0.625rem;
  }
  .lm-collections__grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
  }
}
/*----------------------------------------------------------------------------------390---------------------*/
@media (max-width: 390px) {
  .lm-product-gallery__thumbs {
    width: 15%;
  }
  .lm-product-gallery__main {
    width: 85%;
  }
  .fp-product-card__btn {
    font-size: 0.75rem;
  }
  .fp-product-card__title {
    font-size: 0.75rem;
  }

  .fp-product-card__price-main {
    font-size: 0.75rem;
  }
  .fp-product-card__unit {
    font-size: 0.5rem;
  }
  .fp-product-card {
    /* min-height: 470px; */
    /* border-radius: 16px; */
    min-height: 350px;
  }
  .lm-product-description__content {
    font-size: 0.75rem;
  }
  .lm-product-stock.is-in-stock {
    top: 13%;
    padding: 3px 3px 3px 6px;
  }
  .lm-product-stock__dot {
    width: 0.3rem;
    height: 0.3rem;
  }
  .lm-product-collection-premium {
    margin-left: 0px;
  }
  .fp-product-card__wishlist {
    width: 28px;
    height: 28px;
  }
  .bi-heart::before {
    font-size: 14px;
  }
}

/* Product SEO block */
.lm-product-seo {
  position: relative;
  /* margin: 5rem 0 4rem; */
  /* overflow: hidden; */
}

.lm-product-seo::before {
  content: "";
  position: absolute;
  left: -5rem;
  bottom: 2rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(
    circle,
    rgba(126, 76, 119, 0.13),
    transparent 68%
  );
  pointer-events: none;
}

.lm-product-seo__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.lm-product-seo__content {
  position: relative;
  padding: 2.5rem 0;
}

.lm-product-seo__eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #7e4c77);
}

.lm-product-seo h2 {
  max-width: 42rem;
  margin: 0 0 1.35rem;
  font-size: clamp(1.7rem, 2.1vw, 2.35rem);
  line-height: 1.18;
  font-weight: 700;
  color: var(--color-title, #301533);
}

.lm-product-seo h2::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 1.35rem;
  background: var(--color-primary, #7e4c77);
}

.lm-product-seo__text {
  max-width: 45rem;
}

.lm-product-seo__text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text, #301533);
}

.lm-product-seo__note {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  max-width: 30rem;
  margin-top: 1.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(126, 76, 119, 0.1);
  border-radius: 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(126, 76, 119, 0.08) 0%,
    rgba(255, 255, 255, 0.98) 45%,
    rgba(252, 249, 252, 1) 100%
  );

  box-shadow:
    0 8px 30px rgba(48, 21, 51, 0.06),
    0 2px 8px rgba(48, 21, 51, 0.03);
}

.lm-product-seo__note-icon {
  flex: 0 0 2.6rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(126, 76, 119, 0.09);
  color: var(--color-primary, #7e4c77);
  font-size: 1.05rem;
}

.lm-product-seo__note strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--color-title, #301533);
}

.lm-product-seo__note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text, #301533);
}

.lm-product-seo__faq {
  align-self: center;
  padding: 2.1rem;
  border: 1px solid rgba(126, 76, 119, 0.1);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1.4rem 4rem rgba(48, 21, 51, 0.07);
  margin: 0;
}

.lm-product-seo__faq h3 {
  margin: 0 0 1.4rem;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--color-title, #301533);
}

.lm-product-seo .lm-faq {
  display: grid;
  gap: 0.8rem;
}

.lm-product-seo .lm-faq__item {
  border: 1px solid rgba(126, 76, 119, 0.12);
  border-radius: 1.2rem;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

.lm-product-seo .lm-faq__question {
  width: 100%;
  min-height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-title, #301533);
}

.lm-product-seo .lm-faq__question::after {
  content: "+";
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(126, 76, 119, 0.1);
  color: var(--color-primary, #7e4c77);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.lm-product-seo .lm-faq__item.active .lm-faq__question::after {
  transform: rotate(45deg);
}

.lm-product-seo .lm-faq__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.2rem;
  transition:
    max-height 0.45s ease,
    opacity 0.25s ease,
    padding 0.3s ease;
}

.lm-product-seo .lm-faq__answer > * {
  overflow: hidden;
}

.lm-product-seo .lm-faq__answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text, #301533);
}

@media (max-width: 1024px) {
  .lm-product-seo__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lm-product-seo__content {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .lm-product-seo {
    margin: 3rem 0;
  }

  .lm-product-seo__faq {
    padding: 1.2rem;
    border-radius: 1.5rem;
  }

  .lm-product-seo__note {
    border-radius: 1.25rem;
  }
}

.lm-faq__item {
  border: 1px solid rgba(126, 76, 119, 0.12);
  border-radius: 1.5rem;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

.lm-faq__item:hover {
  border-color: rgba(126, 76, 119, 0.22);
}

.lm-faq__answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.35s ease;
}

.lm-faq__item.active .lm-faq__answer {
  max-height: 18rem; /* якщо відповіді довші - постав 30rem */
  opacity: 1;
  padding: 0 1.5rem 1.5rem;
}

.lm-faq__question {
  cursor: pointer;
  transition: background 0.25s ease;
}

.lm-faq__icon {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lm-faq__item.active .lm-faq__icon {
  transform: rotate(45deg);
}

.lm-product-seo .lm-faq__item.active .lm-faq__answer {
  opacity: 1;
  padding: 0 1.2rem 1.1rem;
}
.lm-product-video {
  margin: 4rem 0;
}



/* Product Knowledge Base links */

.lm-product-kb {
  margin: -1.5rem 0 3rem;
}

.lm-product-kb__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: center;

  padding: 1.75rem;
  border: 1px solid rgba(126, 76, 119, 0.12);
  border-radius: 1.75rem;

  background:
    radial-gradient(circle at 8% 12%, rgba(126, 76, 119, 0.1), transparent 32%),
    linear-gradient(135deg, #fff 0%, #fbf6fa 100%);

  box-shadow: 0 1.25rem 3rem rgba(47, 18, 51, 0.055);
}

.lm-product-kb__content {
  max-width: 38rem;
}

.lm-product-kb__eyebrow {
  display: inline-flex;
  margin-bottom: 0.65rem;

  color: var(--color-primary, #7e4c77);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lm-product-kb h2 {
  margin: 0 0 0.75rem;
  color: var(--color-title, #301533);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.lm-product-kb p {
  margin: 0;
  color: rgba(48, 21, 51, 0.74);
  font-size: 1rem;
  line-height: 1.65;
}

.lm-product-kb__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-product-kb__links a {
  position: relative;
  min-height: 4.35rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1rem 1.1rem;
  border: 1px solid rgba(126, 76, 119, 0.12);
  border-radius: 1.15rem;

  background: #fff;
  color: var(--color-primary, #7e4c77);
  text-decoration: none;

  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;

  box-shadow: 0 0.9rem 2rem rgba(47, 18, 51, 0.05);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.lm-product-kb__links a::after {
  content: "→";

  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;

  display: inline-grid;
  place-items: center;

  border-radius: 999px;
  background: #f7f0f6;
  color: var(--color-primary, #7e4c77);
  font-size: 1rem;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.lm-product-kb__links a:hover {
  transform: translateY(-0.15rem);
  border-color: rgba(126, 76, 119, 0.24);
  color: var(--color-primary-dark, #4f354c);
  box-shadow: 0 1.35rem 3rem rgba(47, 18, 51, 0.1);
}

.lm-product-kb__links a:hover::after {
  transform: translateX(0.15rem);
  background: rgba(126, 76, 119, 0.12);
  color: var(--color-primary-dark, #4f354c);
}

@media (max-width: 900px) {
  .lm-product-kb {
    margin: -1rem 0 2.5rem;
  }

  .lm-product-kb__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.35rem;
    border-radius: 1.35rem;
  }
}

@media (max-width: 560px) {
  .lm-product-kb {
    margin: -1rem 0 2rem;
  }

  .lm-product-kb__inner {
    padding: 1.15rem;
  }

  .lm-product-kb p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .lm-product-kb__links {
    grid-template-columns: 1fr;
  }

  .lm-product-kb__links a {
    min-height: 4rem;
  }
}