/* ═══════════════════════════════════════════════════════════
   Ozark Nomads — Brand Stylesheet
   Colors:  Sunset Orange #D96318 | Amber #E8921A
            Forest Green #2D5A27  | Warm Cream #FBF5E9
            Dark Brown   #2C1608  | Warm Muted  #7A5C3C
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Lato', 'Segoe UI', sans-serif; background: #FBF5E9; color: #2C1608; line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
a { color: #D96318; text-decoration: none; }
a:hover { color: #E8921A; }
img { max-width: 100%; display: block; }

/* ── Utility ──────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav { background: #2D5A27; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.nav-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #FBF5E9; letter-spacing: .04em; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: #FBF5E9; font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: #E8921A; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #2C1608 0%, #2D5A27 60%, #D96318 100%); padding: 96px 24px 80px; text-align: center; color: #FBF5E9; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700; color: #E8921A; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: #FBF5E9; margin-bottom: 20px; }
.hero p { max-width: 600px; margin: 0 auto 36px; font-size: 1.15rem; color: rgba(251,245,233,.85); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-block; padding: 14px 36px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: background .2s, transform .1s; }
.btn-primary { background: #D96318; color: #FBF5E9; }
.btn-primary:hover { background: #E8921A; color: #FBF5E9; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #b0a090; cursor: default; transform: none; }

/* ── Features ─────────────────────────────────────────────── */
.features { background: #2D5A27; padding: 48px 24px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.feature-item { color: #FBF5E9; }
.feature-icon { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.feature-item h3 { font-size: 1.05rem; margin-bottom: 6px; color: #E8921A; }
.feature-item p { font-size: .9rem; color: rgba(251,245,233,.8); }

/* ── Product section ──────────────────────────────────────── */
.product-section { padding: 72px 24px; }
.product-section > .container > h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-align: center; color: #2C1608; margin-bottom: 52px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 768px) { .product-layout { grid-template-columns: 1fr; gap: 36px; } }

/* Gallery */
.gallery-main-wrap { position: relative; }
#galleryMain { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; box-shadow: 0 8px 32px rgba(44,22,8,.15); transition: box-shadow .2s; background: #f0e8dc; min-height: 300px; }
#galleryMain:hover { box-shadow: 0 12px 40px rgba(44,22,8,.25); }
.gallery-zoom-hint { position: absolute; bottom: 12px; right: 14px; background: rgba(44,22,8,.55); color: #FBF5E9; font-size: .75rem; padding: 4px 10px; border-radius: 20px; pointer-events: none; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s, opacity .2s; opacity: .7; }
.gallery-thumb:hover, .gallery-thumb.active { border-color: #D96318; opacity: 1; }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(20,10,4,.88); z-index: 9999; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; max-height: 90vh; width: 100%; }
.lightbox-img { width: 100%; max-height: 85vh; object-fit: contain; border-radius: 10px; }
.lightbox-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: #FBF5E9; font-size: 2rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.lightbox-close:hover { color: #E8921A; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(44,22,8,.6); border: none; color: #FBF5E9; font-size: 2rem; width: 48px; height: 64px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox-nav:hover { background: #D96318; }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
@media (max-width: 600px) { .lightbox-prev { left: 4px; } .lightbox-next { right: 4px; } }

/* ── Product info ─────────────────────────────────────────── */
.product-info { display: flex; flex-direction: column; gap: 24px; }
.product-info h2 { font-size: 1.9rem; text-align: left; }
.product-tagline { color: #7A5C3C; font-size: 1rem; }
.size-label { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #7A5C3C; margin-bottom: 10px; }
.variants-loading { font-size: .85rem; color: #7A5C3C; font-style: italic; margin-bottom: 8px; }
.size-rows { display: flex; flex-direction: column; gap: 10px; }
.size-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 2px solid #e0d5c5; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.size-row.has-qty { border-color: #D96318; box-shadow: 0 0 0 3px rgba(217,99,24,.12); }
.size-row.out-of-stock { opacity: .5; pointer-events: none; }
.size-row-info { display: flex; flex-direction: column; gap: 2px; }
.size-row-name { font-weight: 700; font-size: 1rem; color: #2C1608; }
.size-row-price { font-size: .9rem; color: #7A5C3C; }
.size-row-soldout { font-size: .78rem; color: #a00; font-weight: 600; }
.qty-stepper { display: flex; align-items: center; gap: 12px; }
.qty-btn { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #D96318; background: #fff; color: #D96318; font-size: 1.2rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .15s, color .15s; }
.qty-btn:hover:not(:disabled) { background: #D96318; color: #fff; }
.qty-btn:disabled { border-color: #ccc; color: #ccc; cursor: default; }
.qty-display { min-width: 28px; text-align: center; font-weight: 700; font-size: 1.1rem; }
#buyBtn { width: 100%; padding: 16px; font-size: 1.1rem; border-radius: 10px; margin-top: 4px; }
.product-guarantee { font-size: .82rem; color: #7A5C3C; text-align: center; }
.product-guarantee span { color: #2D5A27; font-weight: 700; }

/* ── Directions ───────────────────────────────────────────── */
.directions-section { background: #2C1608; padding: 64px 24px; color: #FBF5E9; }
.directions-section h2 { text-align: center; color: #E8921A; margin-bottom: 32px; font-size: 1.8rem; }
.directions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; max-width: 800px; margin: 0 auto; }
.direction-step { background: rgba(255,255,255,.06); border-radius: 12px; padding: 24px; text-align: center; }
.step-number { width: 44px; height: 44px; background: #D96318; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.direction-step h4 { color: #E8921A; margin-bottom: 8px; font-size: 1rem; }
.direction-step p { font-size: .9rem; color: rgba(251,245,233,.8); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: #2C1608; border-top: 1px solid rgba(255,255,255,.08); padding: 40px 24px; text-align: center; color: rgba(251,245,233,.6); font-size: .85rem; }
.site-footer .nav-logo { font-size: 1.2rem; color: #FBF5E9; margin-bottom: 8px; display: block; }
