/* ============================================================
   Tritan Glassware Company — Shared Stylesheet
   Saffron design system — all pages
   ============================================================ */

@import url('/saffron.css');

/* Backward-compat aliases — maps old inline-style token names to Saffron values */
:root {
  --navy:        var(--ink-900);
  --blue:        var(--ink-800);
  --blue-mid:    var(--ink-700);
  --blue-light:  var(--ink-500);
  --sky:         var(--mint-200);
  --white:       #FFFFFF;
  --off-white:   var(--cream-50);
  --black:       var(--ink-900);
  --charcoal:    var(--ink-700);
  --grey:        var(--ink-500);
  --grey-light:  var(--ink-100);
  --font-body:   var(--font-sans);
  --radius:      var(--radius-sm);
  --shadow:      var(--shadow-md);
  --radius-lg:   var(--radius-md);
}

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink-900); text-decoration: none; }
a:hover { color: var(--ink-700); }

/* Body inline links */
.post-content a,
.buying-guide a {
  border-bottom: 2px solid var(--saffron-500);
  color: var(--ink-900);
}
.post-content a:hover,
.buying-guide a:hover {
  background: rgba(255, 210, 63, 0.15);
  color: var(--ink-900);
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-900);
  margin: 0 0 16px;
  text-wrap: balance;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.2; }
h4 { font-size: 18px; font-weight: 700; letter-spacing: 0; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── Layout primitives ─────────────────────────────────────── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 860px;  margin: 0 auto; padding: 0 32px; }
.wrap             { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.section    { padding: 96px 0; }
.section-sm { padding: 48px 0; }

@media (max-width: 720px) {
  .section           { padding: 64px 0; }
  .container         { padding: 0 20px; }
  .container-narrow  { padding: 0 20px; }
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-title p {
  font-size: 19px;
  color: var(--ink-700);
  margin: 12px auto 0;
  max-width: 600px;
}

/* ── Eyebrow / label chip ─────────────────────────────────── */
.label, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--cream-100);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-700);
  margin-bottom: 16px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 0;
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease), transform 80ms var(--ease), color var(--dur-micro) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid rgba(255, 210, 63, 0.55); outline-offset: 2px; }

.btn-primary,
.btn-ink {
  background: var(--ink-900);
  color: var(--cream-50);
}
.btn-primary:hover,
.btn-ink:hover {
  background: var(--ink-700);
  color: var(--cream-50);
}

.btn-yellow {
  background: var(--saffron-500);
  color: var(--ink-900);
  box-shadow: var(--shadow-yellow);
}
.btn-yellow:hover { background: var(--saffron-600); color: var(--ink-900); }

.btn-outline,
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover,
.btn-ghost:hover { background: rgba(27, 34, 53, 0.04); color: var(--ink-900); }

.btn-accent { background: var(--saffron-500); color: var(--ink-900); }
.btn-accent:hover { background: var(--saffron-600); }

.btn-pill { border-radius: var(--radius-pill); padding: 14px 26px; }

/* ── Navigation — sticky pill ──────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
}

nav.site-nav.scrolled {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  padding: 0 8px 0 22px;
  gap: 12px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.nav-logo span { color: var(--ink-900); }

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--dur-micro) var(--ease);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink-900); }

.nav-cta { display: flex; align-items: center; }
.nav-cta .btn {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
}

.hamburger {
  display: none;
  background: var(--ink-900);
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 14px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cream-50);
}
.hamburger svg { width: 20px; height: 20px; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(27, 34, 53, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--cream-50);
  font-size: 28px;
  font-family: var(--font-display);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur-micro) var(--ease);
}
.mobile-nav a:hover { color: var(--saffron-400); }
.mobile-nav .btn-yellow { margin-top: 8px; font-size: 17px; }

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.10);
  border: none;
  cursor: pointer;
  color: var(--cream-50);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sticky CTA */
.sticky-shop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: none;
}
.sticky-shop.visible { display: block; }

/* ── Footer ─────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--charcoal-800);
  color: rgba(250, 246, 236, 0.85);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .nav-logo {
  font-size: 20px;
  margin-bottom: 16px;
  display: inline-block;
  color: var(--cream-50);
}
.footer-brand .nav-logo span { color: var(--cream-50); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.70);
  max-width: 280px;
  margin-bottom: 12px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-500);
  margin-bottom: 20px;
  line-height: 1;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(250, 246, 236, 0.85);
  font-size: 15px;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-col ul a:hover { color: var(--cream-50); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(250, 246, 236, 0.55);
}
.footer-bottom a { color: rgba(250, 246, 236, 0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--cream-50); }

/* ── Blog card ─────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.blog-card .date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 20px; margin-bottom: 8px; line-height: 1.3; }
.blog-card h3 a { color: var(--ink-900); text-decoration: none; }
.blog-card h3 a:hover { color: var(--ink-700); }
.blog-card p { color: var(--ink-500); font-size: 15px; }

/* Blog hero */
.blog-hero {
  padding: 120px 0 72px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,210,63,.25), transparent 70%), var(--cream-50);
}
.blog-hero h2 { font-size: clamp(32px, 5vw, 52px); color: var(--ink-900); margin-bottom: 12px; }
.blog-hero p { color: var(--ink-700); max-width: 560px; margin: 0 auto 28px; }

/* ── Post / article ─────────────────────────────────────────── */
.post-content { line-height: 1.7; }
.post-content h1 { font-size: clamp(28px, 4vw, 48px); margin: 24px 0 16px; }
.post-content h2 { font-size: clamp(22px, 3vw, 34px); margin: 32px 0 12px; }
.post-content h3 { font-size: clamp(18px, 2.5vw, 24px); margin: 24px 0 8px; }
.post-content p  { margin-bottom: 18px; color: var(--ink-700); }
.post-content ul,
.post-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; color: var(--ink-700); }
.post-content strong { color: var(--ink-900); }

.breadcrumb { font-size: 14px; color: var(--ink-500); margin-bottom: 24px; }
.breadcrumb a { color: var(--ink-700); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink-900); }

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-micro) var(--ease), box-shadow var(--dur-micro) var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open  { border-color: var(--ink-900); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
}
.faq-question:hover { background: rgba(27, 34, 53, 0.02); }

/* h3 inside the button — DM Sans small, NOT heading scale */
.faq-question h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink-900);
  margin: 0;
  flex: 1;
}

/* Plus icon circle */
.faq-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-100);
  border-radius: 50%;
  color: var(--ink-700);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease), background var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--saffron-500);
  color: var(--ink-900);
}

/* Legacy chevron icon (article pages with old markup) */
.faq-question > svg.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-700);
  background: none;
  border-radius: 0;
  transition: transform 0.3s ease;
}
.faq-item.open > .faq-question > svg.faq-icon { transform: rotate(180deg); background: none; }

/* Legacy FAQ question text (article pages without h3) */
.faq-question:not(:has(h3)) {
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink-900);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner,
.faq-answer > p {
  padding: 4px 22px 22px;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.6;
}
.faq-answer > p  { margin: 0; }
.faq-answer-inner p { color: var(--ink-700); font-size: 16px; margin-bottom: 0; }

/* ── Country cards ──────────────────────────────────────────── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-micro) var(--ease);
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.country-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--saffron-300);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.country-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  color: inherit;
}
.country-card:hover::after { opacity: 0.5; transform: scale(1.3); }

.country-card .flag        { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.country-card .country-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-900);
  display: block;
  margin-bottom: 4px;
}
.country-card .shop-link {
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  display: block;
}

/* ── Search ─────────────────────────────────────────────────── */
.search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto 32px;
}
.search-wrap input {
  width: 100%;
  padding: 16px 52px 16px 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--ink-900);
  outline: none;
  transition: border-color var(--dur-micro) var(--ease), box-shadow var(--dur-micro) var(--ease);
}
.search-wrap input:focus {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.25);
}
.search-wrap svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-500);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* ── Benefits ───────────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.benefit-item { text-align: center; padding: 32px 24px; }
.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--cream-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-item h3 { font-size: 20px; margin-bottom: 8px; }
.benefit-item p  { font-size: 16px; color: var(--ink-700); }

/* ── Reviews ────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--saffron-500); font-size: 18px; margin-bottom: 12px; }
.review-card p { color: var(--ink-700); font-size: 15px; margin-bottom: 16px; line-height: 1.6; }
.review-author { font-size: 14px; font-weight: 600; color: var(--ink-900); }

/* ── Specs table ────────────────────────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table td { padding: 14px 8px; font-size: 15px; }
.specs-table td:first-child { font-weight: 600; color: var(--ink-900); width: 40%; }
.specs-table td:last-child  { color: var(--ink-700); }
.specs-table tr:last-child  { border-bottom: none; }

/* ── Buying guide ───────────────────────────────────────────── */
.buying-guide { background: var(--cream-50); }

.buying-guide-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 72px);
  box-shadow: var(--shadow-sm);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
}

.buying-guide h3,
.buying-guide-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  margin: 40px 0 12px;
  color: var(--ink-900);
}
.buying-guide-card h3:first-child { margin-top: 0; }

.buying-guide h4,
.buying-guide-card h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  margin: 24px 0 8px;
}

.buying-guide p,
.buying-guide-card p { color: var(--ink-700); }

/* Saffron pill list items inside buying guide */
.buying-guide-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.buying-guide-card ul li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--cream-50);
  border-left: 3px solid var(--saffron-500);
  border-radius: 6px;
  color: var(--ink-700);
  font-size: 16px;
}
.buying-guide-card ul li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron-500);
}
.buying-guide-card ul li strong { color: var(--ink-900); }

/* ── Trust cards (company details) ──────────────────────────── */
.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.trust-signals { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trust-card {
  background: var(--cream-50);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
}
.trust-card svg { margin-bottom: 12px; color: var(--ink-700); }
.trust-card h4  { font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.trust-card p   { font-size: 14px; color: var(--ink-500); }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.contact-item { display: flex; align-items: flex-start; gap: 16px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  nav.site-nav { padding: 0 16px; }
  .nav-inner { padding: 0 8px 0 16px; gap: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .sticky-shop { display: block; }
  .trust-signals { grid-template-columns: 1fr; }
  .contact-grid { flex-direction: column; gap: 28px; }
  .country-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .company-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .search-wrap input { padding-left: 18px; }
}
