/*
Theme Name: YourEngrave
Theme URI: https://yourengrave.com
Author: YourEngrave
Description: Mobile-first WordPress theme for Venice Beach custom engraving orders.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: yourengrave
*/

:root {
  --sand: #f5ead8;
  --shell: #fffaf2;
  --ink: #16212b;
  --sea: #0d6f7d;
  --aqua: #9eddd7;
  --coral: #e6785c;
  --wood: #9d704a;
  --muted: #66727c;
  --line: rgba(22, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.hero {
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: end;
  padding: 22px 18px 34px;
  background:
    linear-gradient(180deg, rgba(9, 25, 35, 0.1), rgba(9, 25, 35, 0.72)),
    url("assets/venice-engraving-hero.svg") center / cover no-repeat;
  color: white;
}

.hero-inner,
.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker.dark {
  color: var(--sea);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 13vw, 88px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.wp-block-button__link,
.single_add_to_cart_button,
.checkout-button,
button.button,
input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--sea);
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.alt,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: white;
  color: var(--ink);
}

.section {
  padding: 42px 18px;
}

.section.sand {
  background: var(--sand);
}

.value-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.value-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}

.value-card h3 {
  margin: 12px 0 8px;
  font-size: 23px;
  line-height: 1.15;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.value-number {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
}

.mockup-section {
  background: var(--ink);
  color: white;
}

.mockup-section .kicker.dark {
  color: var(--aqua);
}

.mockup-section .lead,
.form-note {
  color: rgba(255,255,255,.72);
}

.mockup-layout {
  display: grid;
  gap: 28px;
}

.mockup-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: var(--shell);
  color: var(--ink);
}

.mockup-form label {
  font-weight: 750;
}

.mockup-form input,
.mockup-form textarea {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.mockup-form input[type="file"] {
  padding: 9px;
}

.mockup-form small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.form-message.success { background: #dff5e8; color: #155c35; }
.form-message.error { background: #ffe3dd; color: #873523; }

.landing-hero {
  padding: 70px 18px;
  background: var(--sand);
}

.landing-hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(40px, 9vw, 76px);
  line-height: .96;
}

.landing-hero .lead {
  margin-top: 18px;
}

.feature-grid,
.quantity-grid {
  display: grid;
  gap: 14px;
}

.feature-card,
.quantity-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.feature-card h3,
.quantity-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.feature-card p,
.quantity-card p {
  margin: 0;
  color: var(--muted);
}

.landing-cta {
  text-align: center;
}

.landing-cta .lead {
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 8vw, 54px);
  line-height: 1;
}

.lead {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.product-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.price-pill {
  align-self: flex-start;
  margin-top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--wood);
  font-weight: 850;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.step strong {
  display: block;
  margin-bottom: 4px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.faq summary {
  font-weight: 850;
  cursor: pointer;
}

.site-footer {
  padding: 28px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: white;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.ye-fields {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--shell);
}

.ye-fields label {
  display: block;
  margin: 0 0 12px;
  font-weight: 750;
}

.ye-fields input,
.ye-fields textarea,
.ye-fields select,
.woocommerce input.input-text,
.woocommerce textarea {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.ye-fields small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.woocommerce div.product,
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account,
.woocommerce .woocommerce-breadcrumb,
.entry-content {
  width: min(1120px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.woocommerce div.product {
  padding: 28px 0;
}

@media (min-width: 780px) {
  .hero {
    padding-bottom: 56px;
  }

  .steps,
  .faq {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-grid,
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quantity-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mockup-layout {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
  }

  .mockup-form {
    grid-template-columns: 1fr 1fr;
  }

  .form-wide {
    grid-column: 1 / -1;
  }
}
