/*
Theme Name: Pine Tree Tumblers
Theme URI: https://pinetreetumblers.com/
Author: Pine Tree Tumblers
Description: Custom landing-page theme for Pine Tree Tumblers — laser-etched custom tumblers and signs. Deep pine, cream and gold craft aesthetic with an interactive tumbler customizer.
Version: 1.0.9
License: GNU General Public License v2 or later
Text Domain: pinetree-tumblers
*/

:root {
  --pine-950: #0e241a;
  --pine-900: #143322;
  --pine-800: #1a4430;
  --pine-700: #22573d;
  --cream-50: #faf7ef;
  --cream-100: #f5efe0;
  --cream-200: #e9dfc6;
  --gold-400: #d4af37;
  --gold-500: #c9a227;
  --gold-600: #a8861d;
  --ink-900: #1c1a15;
  --ink-600: #4a463c;
  --ink-400: #7a7466;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 45px -18px rgba(14, 36, 26, 0.35);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-800); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.6em; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.section-title { font-size: clamp(30px, 4vw, 46px); color: var(--pine-950); }
.section-sub { color: var(--ink-600); max-width: 640px; font-size: 17px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-200);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--pine-950); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pine-900); color: var(--gold-400);
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.28em; color: var(--ink-400); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-600); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--pine-800); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--pine-950); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 16px; border-radius: 999px;
  padding: 15px 34px; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: #9c7c14; color: #fff; box-shadow: 0 10px 24px -10px rgba(156, 124, 20, 0.7); }
.btn-gold:hover { background: #86690f; color: #fff; }
.btn-outline { border-color: var(--pine-800); color: var(--pine-900); background: transparent; }
.btn-outline:hover { background: var(--pine-900); color: var(--cream-50); }
.btn-pine { background: var(--pine-800); color: #fff; }
.btn-pine:hover { background: var(--pine-700); }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(1100px 520px at 85% -10%, rgba(212, 175, 55, 0.14), transparent 60%),
              linear-gradient(160deg, var(--pine-950) 0%, var(--pine-900) 55%, var(--pine-800) 100%);
  color: var(--cream-50); overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 88px 24px 96px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p.lead { font-size: 18px; color: rgba(250, 247, 239, 0.82); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-cta .btn-outline { border-color: rgba(250,247,239,.45); color: var(--cream-50); }
.hero-cta .btn-outline:hover { background: rgba(250,247,239,.12); color: #fff; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: rgba(250,247,239,.75); }
.hero-points strong { color: var(--gold-400); }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--cream-50); color: var(--pine-950);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; display: flex; gap: 12px; align-items: center;
}
.hero-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #2f9e5f; flex: none; box-shadow: 0 0 0 5px rgba(47,158,95,.18); }

/* ---------- trust bar ---------- */
.trust { background: var(--pine-950); color: var(--cream-100); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 24px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; }
.trust-item svg { width: 30px; height: 30px; color: var(--gold-400); flex: none; }

/* ---------- catalog ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 30px 0 40px; }
.filter-btn {
  border: 2px solid var(--cream-200); background: #fff; color: var(--ink-600);
  border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--pine-800); color: var(--pine-900); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px -14px rgba(14,36,26,.25); border: 1px solid var(--cream-200);
  display: flex; flex-direction: column;
}
.card-art { background: linear-gradient(150deg, var(--pine-900), var(--pine-700)); padding: 30px; display: grid; place-items: center; min-height: 250px; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-600); }
.card h3 { font-size: 22px; margin: 0; }
.card p { font-size: 14px; color: var(--ink-600); margin: 0; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--pine-900); }
.price small { font-family: var(--font-body); font-size: 12px; color: var(--ink-400); font-weight: 600; }
.card .btn { padding: 11px 24px; font-size: 14px; }

/* etched tumbler illustration */
.tumbler-svg { width: 130px; height: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); }

/* ---------- customizer ---------- */
.builder { background: linear-gradient(180deg, var(--cream-100), var(--cream-50)); }
.builder-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; margin-top: 44px; align-items: start; }
.builder-preview {
  background: var(--pine-950); border-radius: 22px; padding: 44px 30px;
  display: grid; place-items: center; position: sticky; top: 100px; box-shadow: var(--shadow);
}
.builder-preview svg { width: 210px; height: auto; filter: drop-shadow(0 22px 30px rgba(0,0,0,.45)); }
.cup-stage { position: relative; width: 250px; aspect-ratio: 2/3; }
.cup-stage img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.cup-stage svg { position: absolute; left: 12%; top: 20%; width: 76%; height: 68%; filter: none; }
.cup-stage.handled svg { left: 4%; width: 62%; }
.swatch:disabled { opacity: .25; cursor: not-allowed; }
.opt-group { margin-bottom: 28px; }
.opt-group > h4 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); margin: 0 0 12px; font-family: var(--font-body); font-weight: 800; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.opt {
  border: 2px solid var(--cream-200); background: #fff; border-radius: 12px;
  padding: 12px 18px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-600);
}
.opt small { display: block; font-weight: 600; color: var(--ink-400); font-size: 12px; }
.opt.active { border-color: var(--pine-800); color: var(--pine-950); box-shadow: 0 6px 18px -8px rgba(20,51,34,.5); }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--cream-200); cursor: pointer; padding: 0; }
.swatch.active { box-shadow: 0 0 0 3px var(--pine-800); }
.text-input {
  width: 100%; border: 2px solid var(--cream-200); border-radius: 12px;
  padding: 13px 16px; font-size: 15px; font-family: var(--font-body); background: #fff;
}
.text-input:focus { outline: none; border-color: var(--pine-700); }
.builder-summary { background: #fff; border: 1px solid var(--cream-200); border-radius: var(--radius); padding: 22px 24px; margin-top: 6px; }
.builder-summary ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--ink-600); }
.builder-summary li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--cream-200); }
.builder-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.builder-total strong { font-family: var(--font-display); font-size: 30px; color: var(--pine-950); }
.builder-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 44px; }
.step { background: #fff; border: 1px solid var(--cream-200); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--pine-900); color: var(--gold-400);
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
}
.step h4 { margin: 0 0 8px; font-size: 17px; }
.step p { font-size: 13.5px; color: var(--ink-600); margin: 0; }
.craft-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 64px; }
.craft-split img { border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- care / reviews / faq ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.care-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.care-list li { background: #fff; border: 1px solid var(--cream-200); border-radius: 12px; padding: 16px 18px; font-size: 15px; display: flex; gap: 12px; }
.care-list .x { color: #b3402e; font-weight: 800; } .care-list .check { color: #2f9e5f; font-weight: 800; }
.reviews { display: grid; gap: 18px; margin-top: 24px; }
.review { background: var(--pine-950); color: var(--cream-100); border-radius: var(--radius); padding: 26px 28px; }
.review .stars { color: var(--gold-400); letter-spacing: 3px; margin-bottom: 10px; }
.review p { font-size: 15.5px; font-style: italic; }
.review cite { font-style: normal; font-size: 13px; color: rgba(250,247,239,.65); font-weight: 600; }
.review .sample-note { display: block; margin-top: 10px; font-size: 11px; color: rgba(250,247,239,.4); }
.faq { max-width: 760px; margin: 36px auto 0; }
.faq-item { background: #fff; border: 1px solid var(--cream-200); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 18px 22px; font-size: 16px; font-weight: 700; color: var(--pine-950); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-body); }
.faq-q::after { content: "+"; font-size: 22px; color: var(--gold-600); flex: none; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--ink-600); font-size: 15px; }

/* ---------- cta + footer ---------- */
.cta { background: linear-gradient(150deg, var(--pine-900), var(--pine-700)); color: #fff; border-radius: 26px; padding: 64px 48px; text-align: center; box-shadow: var(--shadow); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 28px; }
.site-footer { background: var(--pine-950); color: rgba(250,247,239,.7); padding: 56px 0 30px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 14px; }
.site-footer a { color: rgba(250,247,239,.7); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.foot-note { border-top: 1px solid rgba(250,247,239,.12); margin-top: 36px; padding-top: 22px; font-size: 12px; color: rgba(250,247,239,.45); }
.foot-note .wrap { display: block; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 60px 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .builder-grid, .craft-split, .two-col { grid-template-columns: 1fr; }
  .builder-preview { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream-50); flex-direction: column; padding: 18px 24px 26px; gap: 16px; border-bottom: 1px solid var(--cream-200); align-items: flex-start; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
