/*
Theme Name: Lasermerk Shop
Template: twentytwentyfour
Version: 1.0.0
*/
:root {
  --lm-ink: #111827;
  --lm-muted: #64748b;
  --lm-line: #e5e7eb;
  --lm-soft: #f6f8f9;
  --lm-teal: #0f766e;
  --lm-teal-dark: #0b5f59;
}

html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--lm-ink);
  font-family: Inter, Montserrat, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks { padding: 0; }
.wp-block-group.alignfull { margin-top: 0; }
header.wp-block-template-part {
  border-bottom: 1px solid var(--lm-line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
header.wp-block-template-part .wp-block-site-title a {
  color: var(--lm-ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}
header.wp-block-template-part .wp-block-navigation a {
  color: #263241;
  font-weight: 650;
  text-decoration: none;
}
header.wp-block-template-part .wp-block-navigation a:hover { color: var(--lm-teal); }

main, .entry-content { margin-top: 0; }
.lm-hero {
  background: linear-gradient(180deg, #f7fbfb 0%, #fff 68%);
  border-bottom: 1px solid var(--lm-line);
  padding: clamp(52px, 8vw, 96px) 0 clamp(34px, 6vw, 72px);
}
.lm-container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.lm-eyebrow {
  color: var(--lm-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.lm-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #0c1724;
  font-size: clamp(38px, 6vw, 74px);
  line-height: .96;
  font-weight: 850;
  letter-spacing: 0;
}
.lm-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}
.lm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.wp-block-button__link, .wc-block-components-button, button.single_add_to_cart_button, .button, input[type="submit"] {
  border-radius: 14px !important;
  border: 1px solid transparent !important;
  background: var(--lm-teal) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15,118,110,.18);
  font-weight: 750;
  padding: 14px 22px !important;
  text-decoration: none !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff !important;
  color: var(--lm-ink) !important;
  border-color: var(--lm-line) !important;
  box-shadow: none;
}
.wp-block-button__link:hover, .button:hover, input[type="submit"]:hover { background: var(--lm-teal-dark) !important; }

.lm-section { padding: clamp(44px, 7vw, 84px) 0; }
.lm-section-soft { background: var(--lm-soft); }
.lm-title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.lm-title-row h2, .lm-section h2 {
  margin: 0;
  color: #101827;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}
.lm-title-row p, .lm-section > .lm-container > p { color: var(--lm-muted); font-size: 17px; line-height: 1.55; }
.lm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lm-card {
  background: #fff;
  border: 1px solid var(--lm-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,.06);
}
.lm-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f2f5f6; }
.lm-card-body { padding: 18px; }
.lm-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.2; font-weight: 800; color: var(--lm-ink); }
.lm-card p { margin: 0; color: var(--lm-muted); line-height: 1.45; font-size: 15px; }
.lm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lm-step { background: #fff; border: 1px solid var(--lm-line); border-radius: 16px; padding: 24px; }
.lm-step strong { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 999px; background: #e6f5f2; color: var(--lm-teal); margin-bottom: 18px; }
.lm-step h3 { margin: 0 0 8px; font-size: 20px; }
.lm-step p { margin: 0; color: var(--lm-muted); line-height: 1.5; }
.lm-band { background: #101827; color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1.5fr .8fr; gap: 24px; align-items: center; }
.lm-band h2 { color: #fff; }
.lm-band p { color: #cbd5e1; margin: 12px 0 0; }
.lm-band .wp-block-button__link { background: #fff !important; color: #101827 !important; box-shadow: none; }

.woocommerce ul.products li.product, .wc-block-grid__product {
  border: 1px solid var(--lm-line);
  border-radius: 16px;
  padding: 14px !important;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15,23,42,.05);
}
.woocommerce ul.products li.product img { border-radius: 12px; background: #f4f7f8; }
.woocommerce-loop-product__title, .wc-block-grid__product-title { color: var(--lm-ink); font-weight: 800; }
.price { color: var(--lm-teal) !important; font-weight: 800 !important; }

footer.wp-block-template-part { border-top: 1px solid var(--lm-line); background: #f8fafc; }

@media (max-width: 900px) {
  .lm-grid, .lm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-band { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .lm-grid, .lm-steps { grid-template-columns: 1fr; }
  .lm-title-row { display: block; }
  .lm-actions { flex-direction: column; }
  .wp-block-button, .wp-block-button__link { width: 100%; text-align: center; }
}

/* Frontpage polish */
body.home .wp-block-post-title,
body.front-page .wp-block-post-title,
body.home main > .wp-block-group:first-child:has(.wp-block-post-title) {
  display: none !important;
}
.entry-content.wp-block-post-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.entry-content > .lm-hero,
.entry-content > .lm-section {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.entry-content > .lm-hero:first-child { margin-top: 0 !important; }
