
/* ============ CSS Variables ============ */
:root{
  --bg: #f9f9f9;
  --card: #fff;
  --text: #333;
  --text-strong:#111;
  --muted:#666;
  --primary:#0070ba;
  --primary-hover:#005ea6;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --container-w: 800px;
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem; --space-6:1.5rem; --space-8:2rem; --space-12:3rem;
  --lh:1.6;
}

/* ============ Base ============ */
*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: Arial, sans-serif;
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  margin:0;
  padding: var(--space-8) var(--space-4);
}

/* ============ Layout ============ */
.container{
  max-width: var(--container-w);
  margin: auto;
  background: var(--card);
  padding: var(--space-8);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

/* A general-purpose card (for thank-you box or callouts) */
.card{
  background: var(--card);
  max-width: 600px;
  margin: auto;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}

/* ============ Typography ============ */
h1,h2{color: var(--text-strong); margin:0 0 var(--space-4)}
h1{margin-bottom: var(--space-4)}
h2{margin-top: var(--space-8)}
ul{padding-left: 1.25rem; margin:0 0 var(--space-4)}
p{margin: .75rem 0}

/* Small helpers */
.muted{color: var(--muted)}
.center{text-align:center}

/* ============ Badges / Footer ============ */
.badge{
  display:inline-block;
  margin-top: var(--space-1);
  padding: .15rem .5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: .85rem;
  color: #444;
  background: #fafafa;
}
.footer{
  margin-top: var(--space-12);
  font-style: italic;
  color: var(--muted);
}

/* ============ Buttons ============ */
.btn{
  display:inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color:#fff;
  border-radius: 8px;
  text-decoration:none;
  font-weight:700;
  transition: background .25s ease;
  border:0;
}
.btn:hover{background: var(--primary-hover)}

/* ============ Legacy class support (compat mode) ============ */
/* Maps existing per-page classes to shared look without editing HTML */
.thank-you-box{ /* from thankyou.html */
  background: var(--card);
  max-width: 600px;
  margin:auto;
  padding:40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align:center;
}


/* ====== Tallon and Rose Page Styles ====== */

/* ===== Tallon and Rose Theming Vars (from index.html) ===== */
:root{
  --primary-color: #666; /* Tallon & Rose gray */
  --bg-color: #fcfcfc;
  --text-color: #222;
  --accent-color: #fff;
  --font-stack: 'Segoe UI', sans-serif;
}

.shop-intro{
  padding: 2.5rem 1.25rem 1.25rem;
}

.shop-intro-inner{
  max-width: 980px;
  margin: 0 auto;
}

.shop-intro p{
  max-width: 70ch;
}

.shop-intro-ctas{
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.shop-intro-note{
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Wedding Glassware Guide Section */
.guide {
  padding: 3.5rem 1.25rem;
}

.guide-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.guide-head h3 {
  margin: 0 0 .5rem;
  letter-spacing: .02em;
}

.guide-head p {
  margin: 0 0 1.75rem;
  opacity: .85;
  line-height: 1.6;
  max-width: 70ch;
}

.guide-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 1.25rem 1.25rem .5rem;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
}

.guide-card h4 {
  margin: 0 0 .75rem;
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.guide-item {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: .85rem 0;
}

.guide-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.guide-item summary::-webkit-details-marker {
  display: none;
}

.guide-item summary::after {
  content: "+";
  opacity: .8;
  font-weight: 700;
}

.guide-item[open] summary::after {
  content: "–";
}

.guide-item p {
  margin: .6rem 0 0;
  opacity: .88;
  line-height: 1.6;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.guide-note {
  margin-top: 1rem;
  opacity: .75;
  font-size: .95rem;
}
/* Tallon & Rose – remove blue UI accents in guide */
/* Tallon & Rose – remove blue UI accents in guide (SAFE: doesn't break buttons) */
.guide summary,
.guide a:not(.btn):not(.btn-cta):not(.btn-ghost),
.guide-item summary::after {
  color: inherit;
}

.guide-item summary:focus,
.guide-item summary:hover {
  color: rgba(255,255,255,0.9);
}

/* Only style normal links in the guide, not buttons */
.guide a:not(.btn-cta):not(.btn-ghost):hover{
  background: rgba(255,255,255,0.06);
}

/* Responsive */
@media (max-width: 860px) {
  .guide-grid { grid-template-columns: 1fr; }
}

/* ===== Tallon and Rose Base Layout (migrated from index inline styles) ===== */

.intro-bridge{
  padding: 3rem 1.25rem;
}

.intro-inner{
  max-width: 980px;
  margin: 0 auto;
}

.intro-bullets{
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.intro-ctas{
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-cta.ghost{
  background: transparent;
}


/* Tallon & Rose full-bleed layout override */
body{
  margin: 0;
  padding: 0;
}


.site-header {
  background: var(--accent-color);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  width: 100%;
  max-width: 350px;
  height: auto;
}

#menu-toggle { display: none; }
.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
}
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--accent-color);
}
.hero img.hero-image{
  width: 100%;
  max-width: 460px; /* bigger on desktop */
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px){
  .hero{ padding: 2.5rem 1rem; }
}
@media (max-width: 480px){
  .hero{ padding: 2rem .75rem; }
}

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 2rem;
}
.video-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}
.video-card img {
  width: 100%;
  display: block;
}
.video-card .title {
  padding: 0.75rem;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #eee;
  font-size: 0.9rem;
}

/* ===== Responsive (migrated) ===== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .menu-icon {
    display: block;
    margin-top: 1rem;
  }
  .main-nav { display: none; width: 100%; }
  #menu-toggle:checked + .menu-icon + .main-nav {
    display: block;
    margin-top: 1rem;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .logo { max-width: 250px; margin: 0 auto; }
  .hero h2 { font-size: 1.75rem; }
  footer { font-size: 0.875rem; }
}
@media (max-width: 480px) {
  .logo { max-width: 180px; }
  .hero h2 { font-size: 1.5rem; }

  .hero img.hero-image{
    max-width: 340px;
    margin-bottom: 1rem;
  }
}

/* ===== Reusable CTA buttons (from proposal) ===== */
.btn-cta,
.btn-ghost {
  appearance: none;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: .75rem 1.25rem;
  display: inline-block;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
}
.btn-cta {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 6px 14px rgba(179, 179, 179, 0.35);
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(179, 179, 179, 0.35);
}
.btn-ghost {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: #fff;
}
.btn-ghost:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ===== Photos Section (cute + responsive) ===== */
.photos {
  padding: 2.5rem 1.25rem 3rem;
  background: #fff;
}
.photos-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.photos-head {
  text-align: center;
  margin-bottom: 1.25rem;
}
.photos-head h3 {
  font-size: 2rem;
  margin: 0 0 .25rem;
  color: var(--text-color);
}
.photos-head p {
  margin: 0;
  color: #666;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 1rem;
}

.photo-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.photo-card::after {
  content: "❤";
  position: absolute;
  top: 8px; right: 10px;
  font-size: 14px;
  opacity: .0;
  transition: opacity .2s ease, transform .2s ease;
  transform: scale(.9);
  color: var(--primary-color);
}
.photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
}
.photo-card:hover::after {
  opacity: 1;
  transform: scale(1);
}
.photo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.photos-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

@media (max-width: 480px) {
  .photo-card img { height: 140px; }
}

/* --- Photo grid --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 24px;
}

/* Card frame */
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f7f7f9;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  /* keep every tile the same shape */
  aspect-ratio: 4 / 3;        /* fallback handled by fixed height below if needed */
}

/* Image behavior */
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* fills the frame, crops nicely */
  display: block;
  transform: scale(1);         /* for smoother first paint */
  transition: transform .35s ease, filter .35s ease, opacity .2s ease;
}

/* Hover zoom */
.photo-card:hover img,
.photo-card:focus-within img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.photo-card:hover,
.photo-card:focus-within {
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}

/* Motion‑safe */
@media (prefers-reduced-motion: reduce) {
  .photo-card img { transition: none; }
}

/* Responsive columns */
@media (max-width: 1024px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* Keepsake Sets Teaser */
.sets-teaser {
  padding: 3rem 1.25rem;
}

.sets-inner {
  max-width: 900px;
  margin: 0 auto;
}

.sets-teaser h3 {
  margin-bottom: .75rem;
  letter-spacing: .03em;
}

.sets-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: .75rem;
  opacity: .95;
}

.sets-note {
  margin-top: 1.25rem;
  font-size: .95rem;
  opacity: .8;
  font-style: italic;
}


/* Contact */
.contact {
  padding: 3rem 1.5rem;
  background: #fff;
}
.contact-inner {
  max-width: 860px;
  margin: 0 auto;
}
.contact h3 {
  margin: 0 0 .5rem 0;
  font-size: 1.8rem;
}
.contact p { margin: 0 0 1rem 0; }

.contact-quick {
  margin: 1rem 0 2rem;
}

.contact-form {
  background: #e7e7e7; /* soft pink wash */
  border: 1px solid #666;
  border-radius: 16px;
  padding: 1.25rem;
}
.contact-form .field-row {
  display: grid;
  gap: .4rem;
  margin-bottom: 1rem;
}
.contact-form label {
  font-weight: 600;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: .75rem .9rem;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  font: inherit;
  width: 100%;
  background: #fff;
}
.contact-form textarea { resize: vertical; }

.contact-form .btn-cta {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: .8rem 1.25rem;
  cursor: pointer;
}

/* Hidden honeypot */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Inline status text */
.form-msg {
  margin-top: .8rem;
  font-size: .95rem;
}

/* ===== Thank‑You Page Layout (centering) ===== */
.thankyou-body{
  background:#fff0f8;
  color:#333;
  margin:0;
  font-family: var(--font-stack, 'Segoe UI', sans-serif);
  text-align:center;
  min-height:100vh;
  display:grid;
  place-items:center;      /* centers the wrap */
  padding:2rem;
}
.thankyou-wrap{
  max-width:780px;
  width:100%;
}
.btn-home{
  background: var(--primary-color, #666);
  color:#fff;
}
.btn-home:hover{
  background:#666;
}

/* Keep the stamp centered */
.stamp-wrapper{ margin-inline:auto; }



/* ===== About Section ===== */

.about {
  padding: 3rem 1.5rem;
  background: #f5f5f5; /* soft light gray */
}
.about-inner {
  max-width: 860px;
  margin: 0 auto;
}
.about h3 {
  margin: 0 0 .5rem 0;
  font-size: 1.8rem;
  color: var(--text-color);
}
.about p {
  margin: 0 0 1rem 0;
}

/* keeps the hero content nicely centered on wide screens */
.hero > *{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
/* Featured hero card */
.featured{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  margin: 1.25rem 0 2rem;
}
.featured-media img{
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  display:block;
}
.featured-body{ padding: 1.1rem; text-align: left; }
.featured-title{ margin: 0 0 .5rem; font-size: 1.6rem; }
.badge-pill{
  display:inline-block;
  background: rgba(0,0,0,.14);
  color: #333;
  font-weight: 800;
  padding: .35rem .65rem;
  border-radius: 999px;
}
.featured-desc{ margin: .65rem 0 1rem; color:#555; }
.featured-actions{ display:flex; flex-wrap:wrap; gap:.65rem; }
.hint{ margin:.75rem 0 0; color:#777; font-size:.95rem; }

/* Category list rows with left thumbnails */
.cat{ margin-top: 1.75rem; text-align:left; }
.cat-title{ margin: 0 0 .85rem; font-size: 1.25rem; }

.cat-list{ display: grid; gap: 12px; }
.row{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
}
.row-thumb img{
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  display:block;
}
.row-title{ font-weight: 800; margin-bottom: .35rem; }
.row-badge{
  display:inline-block;
  font-size: .9rem;
  background: rgba(0,0,0,.12);
  color:#333;
  font-weight: 800;
  padding: .25rem .55rem;
  border-radius: 999px;
  margin-bottom: .5rem;
}

/* ===== Shop (JSON grid) ===== */
.shop{
  padding: 2.5rem 1.25rem 3rem;
  background: #fff;
}
.shop-inner{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.shop-inner h3{
  margin: 0 0 .35rem;
  font-size: 1.8rem;
}
.shop-inner p{
  margin: 0;
  color: #666;
}

/* Grid */
.product-grid{
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* Card */
.product-card{
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image */
.product-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Body */
.product-body{
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.product-title{
  font-weight: 800;
  margin: 0;
}
.product-badge{
  display: inline-block;
  background: rgba(0, 0, 0, 0.12);
  color: #eee;
  font-weight: 800;
  padding: .35rem .6rem;
  border-radius: 999px;
  width: fit-content;
}

/* Button alignment (keeps button near the bottom) */
.product-body .btn-cta{
  margin-top: auto;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #eee;
  font-size: 0.9rem;
}