/*
 * Lingeriza global design system — Controlled Warmth.
 * Loaded after WoodMart and the child theme. Keep business-state colors intact.
 */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-VariableFont_wght.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --lz-graphite: #242124;
  --lz-warm: #f7f6f4;
  --lz-white: #ffffff;
  --lz-pink: #fce3eb;
  --lz-gold: #b49a67;
  --lz-text: #242124;
  --lz-text-muted: #6f696d;
  --lz-border: #dedad8;
  --lz-radius-sm: 10px;
  --lz-radius-md: 14px;
  --lz-radius-lg: 18px;
  --lz-shadow-soft: 0 10px 35px rgba(36, 33, 36, 0.05);
  --wd-primary-color: var(--lz-graphite);
  --wd-text-color: var(--lz-text);
  --wd-title-color: var(--lz-graphite);
  --wd-link-color: var(--lz-graphite);
  --wd-link-color-hover: #4a4448;
  --wd-form-brd-radius: var(--lz-radius-sm);
  --wd-brd-radius: var(--lz-radius-sm);
}

html {
  background: var(--lz-warm);
}

body,
button,
input,
select,
textarea {
  font-family: "Manrope", Inter, Arial, sans-serif;
}

body {
  background-color: var(--lz-warm) !important;
  color: var(--lz-text);
  font-size: 18px;
  line-height: 1.61;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

p,
li,
td,
th,
label,
.wd-text-block {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.widget-title,
.product-title,
.wd-entities-title {
  font-family: "Manrope", Inter, Arial, sans-serif;
  color: var(--lz-graphite);
  letter-spacing: -0.025em;
  text-transform: none;
}

h1,
.title-size-large,
.page-title .entry-title {
  font-size: clamp(36px, 4vw, 48px) !important;
  line-height: 1.125;
  font-weight: 400;
}

body h1,
body .page-title .entry-title {
  font-size: clamp(36px, 4vw, 48px) !important;
  line-height: 1.125 !important;
  font-weight: 400 !important;
}

h2 {
  font-size: clamp(28px, 3.1vw, 36px);
  line-height: 1.22;
  font-weight: 400;
}

h3 {
  font-size: clamp(23px, 2.35vw, 26px);
  line-height: 1.3;
  font-weight: 500;
}

small,
.small,
.meta-post-categories,
.entry-meta-list,
.wd-product-cats {
  font-size: 15px;
  line-height: 1.47;
}

a {
  color: var(--lz-graphite);
  text-decoration-color: rgba(36, 33, 36, 0.32);
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: #4a4448;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--lz-graphite);
  outline-offset: 3px;
}

:where(.btn, .button, button, input[type="submit"], input[type="button"], .wd-button-wrapper a):not(.wd-close-side, .wd-tools-element, .wd-action-btn) {
  min-height: 44px;
  border: 1px solid var(--lz-graphite);
  border-radius: var(--lz-radius-sm);
  background: var(--lz-graphite);
  color: var(--lz-white);
  box-shadow: none;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

:where(.btn, .button, button, input[type="submit"], input[type="button"], .wd-button-wrapper a):not(.wd-close-side, .wd-tools-element, .wd-action-btn):hover {
  border-color: #4a4448;
  background: #4a4448;
  color: var(--lz-white);
  box-shadow: none;
}

.lz-button-secondary,
.button.alt.lz-button-secondary {
  border-color: var(--lz-graphite);
  background: transparent;
  color: var(--lz-graphite);
}

.lz-button-secondary:hover,
.button.alt.lz-button-secondary:hover {
  border-color: var(--lz-graphite);
  background: var(--lz-pink);
  color: var(--lz-graphite);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
select,
textarea {
  min-height: 46px;
  border: 1px solid var(--lz-border);
  border-radius: var(--lz-radius-sm);
  background: var(--lz-white);
  color: var(--lz-text);
  box-shadow: none;
  font-size: 17px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lz-graphite);
  background: var(--lz-white);
  box-shadow: 0 0 0 3px var(--lz-pink);
}

::placeholder {
  color: var(--lz-text-muted);
  opacity: 0.82;
}

.main-page-wrapper,
.site-content,
.page-title,
.website-wrapper {
  background-color: var(--lz-warm) !important;
}

.wd-product,
.product-grid-item .product-wrapper,
.blog-design-masonry .article-inner,
.blog-design-default .article-inner,
.woocommerce-cart-form,
.cart-totals-inner,
.checkout-order-review,
.woocommerce-MyAccount-content,
.login-form-side,
.register-form-side,
.lz-card,
.lz-tool {
  border: 1px solid var(--lz-border);
  border-radius: var(--lz-radius-md);
  background: var(--lz-white);
  box-shadow: var(--lz-shadow-soft);
}

.product-grid-item .product-wrapper,
.blog-design-masonry .article-inner,
.blog-design-default .article-inner {
  height: 100%;
  overflow: hidden;
}

.wd-product .product-element-top img,
.product-grid-item .product-image-link img {
  border-radius: var(--lz-radius-md) var(--lz-radius-md) 0 0;
}

.wd-product .price,
.summary-inner > .price,
.woocommerce-Price-amount {
  color: var(--lz-graphite);
  font-weight: 600;
}

.wd-product .price del,
.summary-inner > .price del {
  color: var(--lz-text-muted);
  opacity: 0.72;
}

.wd-product .price ins,
.summary-inner > .price ins {
  color: var(--lz-graphite);
  text-decoration: none;
}

.variations select,
.wd-swatch,
.wd-filter-list a,
.woocommerce-pagination a,
.woocommerce-pagination span {
  border-radius: var(--lz-radius-sm);
}

.wd-swatch.wd-active,
.wd-swatch.selected,
.woocommerce-pagination .current,
.wd-filter-list .chosen a {
  background: var(--lz-pink);
  color: var(--lz-graphite);
}

.woocommerce-message,
.woocommerce-info {
  border-color: var(--lz-border);
  border-left-color: var(--lz-graphite);
  border-radius: var(--lz-radius-md);
  background: var(--lz-white);
  color: var(--lz-text);
  box-shadow: none;
}

/* Preserve semantic red/yellow styling supplied by WooCommerce for errors and warnings. */
.woocommerce-error,
.woocommerce-warning {
  border-radius: var(--lz-radius-md);
}

.single-post .article-body-container,
.single-post .entry-content,
.lz-article {
  max-width: 780px;
  margin-inline: auto;
}

.single-post .entry-content,
.lz-article {
  font-size: 18px;
  line-height: 1.61;
}

.single-post .entry-content > p,
.lz-article > p {
  margin-bottom: 1.35em;
}

.single-post .entry-content :where(h2, h3),
.lz-article :where(h2, h3) {
  margin-top: 1.65em;
  margin-bottom: 0.65em;
}

.single-post :where(figure, table, blockquote),
.lz-figure,
.lz-faq,
.lz-callout,
.lz-card {
  margin-block: 24px;
}

.single-post figure img,
.lz-figure img {
  border-radius: var(--lz-radius-md);
}

figcaption,
.wp-element-caption {
  margin-top: 8px;
  color: var(--lz-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.single-post blockquote,
.lz-callout,
.lz-faq,
.lz-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--lz-border);
  border-radius: var(--lz-radius-md);
  background: var(--lz-white);
  box-shadow: var(--lz-shadow-soft);
}

.lz-callout {
  border-color: #ead6dd;
  background: var(--lz-pink);
}

.lz-kicker,
.lz-tech-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lz-graphite);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lz-kicker::before,
.lz-tech-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lz-gold);
  content: "";
}

.lz-tool {
  padding: clamp(20px, 4vw, 40px);
  background: var(--lz-warm);
}

.lz-tool :where(.lz-card, fieldset) {
  border-color: var(--lz-border);
  background: var(--lz-white);
}

.lz-tool :where([aria-selected="true"], input:checked + label, .is-selected) {
  background: var(--lz-pink);
  color: var(--lz-graphite);
}

.lz-tool .lz-step-number {
  color: var(--lz-gold);
  font-weight: 600;
}

@media (max-width: 767px) {
  body,
  .single-post .entry-content,
  .lz-article {
    font-size: 17px;
    line-height: 1.59;
  }

  small,
  .small,
  .meta-post-categories,
  .entry-meta-list,
  .wd-product-cats {
    font-size: 14px;
    line-height: 1.5;
  }

  :where(.btn, .button, button, input[type="submit"], input[type="button"], .wd-button-wrapper a) {
    min-height: 44px;
  }

  .single-post .entry-content,
  .lz-article {
    width: min(100%, calc(100vw - 32px));
  }

  body h1,
  body .page-title .entry-title {
    font-size: 36px !important;
    line-height: 42px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
