/* ==========================================================================
   Origin Craft - Artisanal Specialty Coffee (Mobile-Optimized)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-cream: #faf7f2;
  --bg-card: #ffffff;
  --text-dark: #241d18;
  --text-muted: #6e645a;
  --coffee-copper: #bf5b30;
  --coffee-brown: #3e281b;
  --border-warm: #e8ded2;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 70px;
}

/* Universal Mobile-Friendly Floating Switcher */
.simple-switcher {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(36, 29, 24, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 94vw;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.simple-switcher::-webkit-scrollbar {
  display: none;
}

.simple-switcher span {
  font-size: 0.7rem;
  color: #c9b4a4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 4px;
  font-weight: 700;
  white-space: nowrap;
}

.simple-switcher a {
  font-size: 0.75rem;
  color: #ddd;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 9999px;
  transition: var(--transition);
  white-space: nowrap;
}

.simple-switcher a:hover {
  color: #fff;
}

.simple-switcher a.active {
  background: #bf5b30;
  color: #fff;
  font-weight: 600;
}

/* Nav */
.coffee-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px;
  border-bottom: 1px solid var(--border-warm);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.coffee-logo {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  font-weight: 700;
  color: var(--coffee-brown);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.coffee-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.coffee-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.coffee-links a:hover {
  color: var(--coffee-copper);
}

.btn-coffee {
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-copper {
  background: var(--coffee-copper);
  color: #fff;
  box-shadow: 0 4px 15px rgba(191, 91, 48, 0.25);
}

.btn-copper:hover {
  background: #a34720;
  transform: translateY(-2px);
}

/* Hero */
.coffee-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.origin-badge {
  display: inline-block;
  background: #f0e6d9;
  color: var(--coffee-brown);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.coffee-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  line-height: 1.1;
  color: var(--coffee-brown);
  font-weight: 600;
  margin-bottom: 18px;
}

.coffee-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--coffee-copper);
}

.coffee-hero p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  margin-bottom: 28px;
  max-width: 520px;
}

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

.coffee-img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(36, 29, 24, 0.12);
  border: 6px solid #fff;
}

.coffee-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tasting Profile Strip */
.tasting-strip {
  background: #fff;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
  padding: 40px 20px;
}

.tasting-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.taste-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.taste-name {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3.5vw, 1.25rem);
  font-weight: 600;
  color: var(--coffee-brown);
}

.taste-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Subscription Order Box */
.coffee-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.roast-card {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 50px);
  box-shadow: 0 15px 40px rgba(36, 29, 24, 0.06);
}

.option-pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
}

.option-pill {
  padding: 8px 16px;
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.option-pill:hover, .option-pill.active {
  background: var(--coffee-brown);
  color: #fff;
  border-color: var(--coffee-brown);
}

/* Mobile Responsiveness */
@media (max-width: 860px) {
  .coffee-nav { padding: 16px 20px; }
  .coffee-links { display: none; }
  .coffee-hero { grid-template-columns: 1fr; padding: 40px 20px 60px; gap: 32px; }
  .tasting-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .coffee-cta-row { flex-direction: column; }
  .coffee-cta-row .btn-coffee { width: 100%; }
}
