/** Shopify CDN: Minification failed

Line 253:21 Expected identifier but found whitespace
Line 253:22 Unexpected "linear-gradient("

**/
/* ========================================
   Custom CSS
   Add your custom styles here
   ======================================== */

/* This file is for additional customizations that you want to keep separate from the main theme styles */

/* Example: Custom product card hover effects */
/*
.product-card:hover {
  box-shadow: 0 16px 32px rgba(193, 122, 95, 0.2);
}
*/

/* Premium coffee roaster palette (adjustable via theme settings later) */
:root {
  --color-brown-deep: #4A2F26;
  --color-brown-warm: #7A4F3A;
  --color-green-forest: #2E4F3E;
  --color-cream: #F5EFE6;
  --color-neutral: #E9E4DC;
  --motion-duration-page: 420ms;
}

.site-header.sticky { position: sticky; top: 0; z-index: 50; }
.site-header { background: #000 !important; }
.header-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; }
.header-actions { display: flex; gap: 0.5rem; align-items: center; }
.nav-toggle, .cart-toggle { background: transparent; border: none; font-size: 1.25rem; line-height: 1; cursor: pointer; color: #fff; }
.cart-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
.header-nav .nav-link { color: #fff !important; }
.header-wrapper .logo-text, .header-wrapper .logo-link { color: #fff; }
.brand-badge { display: none !important; }
.cart-toggle .cart-icon svg { display: block; }
.cart-count { display: inline-block; min-width: 1.5rem; text-align: center; background: #000; color: #fff; border-radius: 999px; padding: 0 0.4rem; margin-left: 0.25rem; font-size: 0.75rem; }

/* Remove boxes around nav links */
.nav-link,
.nav-home,
.nav-shop,
.nav-story,
.nav-brew,
.nav-grind,
.nav-events { background: transparent !important; box-shadow: none !important; padding: 0.25rem 0.5rem; }
.nav-link:hover { transform: none !important; box-shadow: none !important; opacity: 0.8; }

/* Predictive search overlay */
.predictive-search { position: fixed; inset: 0; display: grid; grid-template-rows: 1fr auto; z-index: 100; }
.predictive-search[aria-hidden="true"] { display: none; }
.predictive-search__panel { position: relative; max-width: 720px; margin: 10vh auto; background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); padding: 1rem; }
.predictive-search__form { margin-bottom: 0.75rem; }
.predictive-search__results { display: grid; gap: 0.5rem; max-height: 60vh; overflow: auto; }
.predictive-search__item { display: grid; grid-template-columns: 48px 1fr; gap: 0.75rem; align-items: center; padding: 0.5rem; border-radius: 8px; text-decoration: none; color: inherit; }
.predictive-search__item:focus { outline: 2px solid var(--color-green-forest); outline-offset: 2px; }
.predictive-search__heading { margin: 0.25rem 0; color: var(--color-brown-deep); }
.predictive-search__excerpt { margin: 0; color: #666; }
.predictive-search__price { color: var(--color-brown-deep); }

/* Cart drawer */
.cart-drawer { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer__panel { position: fixed; right: 0; top: 0; bottom: 0; width: 360px; max-width: 90vw; background: #fff; box-shadow: -24px 0 60px rgba(0,0,0,0.2); display: flex; flex-direction: column; }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid #eee; }
.cart-drawer__items { padding: 0.5rem 1rem; overflow: auto; flex: 1; display: grid; gap: 0.75rem; }
.cart-drawer__item { display: grid; grid-template-columns: 64px 1fr; gap: 0.75rem; align-items: center; }
.cart-drawer__controls input[type="number"] { width: 72px; }
.cart-drawer__footer { padding: 1rem; border-top: 1px solid #eee; display: grid; gap: 0.5rem; }
.free-ship { padding: 0 1rem; }
.free-ship__bar { height: 6px; background: #eee; border-radius: 999px; position: relative; overflow: hidden; margin-bottom: 0.25rem; }
.free-ship__bar::after { content: ""; position: absolute; inset: 0; width: var(--progress, 0%); background: var(--color-green-forest); }

/* Mobile nav panel */
.mobile-nav-panel { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.mobile-nav-panel .mobile-nav__panel { position: fixed; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 85vw; max-width: 440px; max-height: 85vh; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,0.4); border-radius: 12px; padding: 1.5rem; pointer-events: auto; overflow-y: auto; }
.mobile-nav-panel.is-open { pointer-events: auto; }
.mobile-nav__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.mobile-nav__menu a { text-decoration: none; color: #fff; font-weight: 600; }
.overlay-backdrop { background: rgba(0,0,0,0.6); }

/* Footer collapsibles */
.footer-collapsible { border-bottom: 1px solid #eee; padding: 0.5rem 0; }
.footer-collapsible > summary { cursor: pointer; list-style: none; background: transparent; padding: 0; }
.footer-collapsible[open] > summary { color: var(--color-text-light); background: transparent; }
@media (min-width: 768px) {
  .footer-collapsible { border: 0; }
  .footer-collapsible[open] { display: block; }
}

/* Utility */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.no-scroll { overflow: hidden; }

/* Collection filters: consistent dropdown styles */
.filter-select,
.sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: #2B1810;
  font-size: 0.95rem;
  line-height: 1.2;
}
.filter-select:focus,
.sort-select:focus { outline: 2px solid var(--color-green-forest); outline-offset: 2px; }
.collection-filters label,
.collection-sorting label { font-weight: 600; color: #2B1810; margin-right: 0.25rem; }

/* Page transitions on load + exit */
.page-fade-in { opacity: 0; transform: translateY(8px); will-change: opacity, transform; }
body.is-loaded .page-fade-in { opacity: 1; transform: translateY(0); transition: opacity var(--motion-duration-page) var(--motion-ease-in), transform var(--motion-duration-page) var(--motion-ease-in); transition-delay: var(--motion-stagger, 0ms); }
body.is-exiting .page-fade-in { opacity: 0 !important; transform: translateY(8px) !important; transition: opacity var(--motion-duration-page) var(--motion-ease-in), transform var(--motion-duration-page) var(--motion-ease-in); pointer-events: none; }

/* Hero gradient — V5 uses inline styles in hero.liquid (thugs-hero classes) */

/* Filter chips */
.filters--chips { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin: 0.5rem 0; }
.filters--chips .filters__group { display: flex; gap: 0.5rem; align-items: center; }
.chip { border: 1px solid var(--color-neutral); background: #fff; color: var(--color-brown-deep); border-radius: 999px; padding: 0.25rem 0.6rem; cursor: pointer; }
.chip:focus { outline: 2px solid var(--color-green-forest); outline-offset: 2px; }

/* Roast scale */
.roast-scale { margin: 0.75rem 0; }
.roast-scale__bar { position: relative; height: 8px; background: linear-gradient(90deg, #EADFD3, #B08362, #3A241D); border-radius: 999px; }
.roast-scale__bar::after { content: ""; position: absolute; top: -6px; width: 12px; height: 20px; border-radius: 6px; background: var(--color-green-forest); transform: translateX(0); transition: transform var(--motion-duration) var(--motion-ease-in); }
.roast-scale__bar[data-level="light"]::after { transform: translateX(4%); }
.roast-scale__bar[data-level="medium"]::after { transform: translateX(48%); }
.roast-scale__bar[data-level="dark"]::after { transform: translateX(92%); }
.roast-scale__labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: #555; }
/* Example: Custom button styles */
/*
.custom-button {
  background: linear-gradient(135deg, #C17A5F 0%, #E67E22 100%);
  border: none;
  padding: 1rem 2rem;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(193, 122, 95, 0.3);
}
*/

/* Carousel (mobile swipe) */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
.carousel > .product-card { scroll-snap-align: start; }
@media (min-width: 900px) { .carousel { display: grid; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* =========================================
   Homepage: Shopify Partners-like polish
   Paste at END of custom.css
   ========================================= */

/* 1) Global rhythm: more breathing room + calmer type */
:root{
  --hug-radius: 16px;
  --hug-radius-sm: 12px;
  --hug-shadow: 0 1px 10px rgba(0,0,0,0.06);
  --hug-shadow-hover: 0 10px 28px rgba(0,0,0,0.12);
}

/* Headings: less “formal serif poster”, more modern hierarchy */
h1, h2, h3, .hero-heading, .section-heading {
  letter-spacing: -0.02em; /* replaces hero's 1px vibe */
}

.section-heading{
  margin-bottom: 0.75rem;
}

.section-subheading{
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

/* 2) Header: remove “heavy bar” feel (you already removed link boxes) */
.site-header{
  box-shadow: none !important; /* theme.css adds shadow */
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Hero CTA and heading: V5 uses thugs-hero classes */

/* 4) Sections: more whitespace + less contrast banding */
.featured-products-section,
.testimonials-section{
  padding-top: clamp(4rem, 6vw, 6rem) !important;
  padding-bottom: clamp(4rem, 6vw, 6rem) !important;
}

/* 5) Cards: reduce “lift + heavy shadow” (Shopify is airy) */
.product-card,
.testimonial-card{
  border-radius: var(--hug-radius) !important;
  box-shadow: var(--hug-shadow) !important;
}

.product-card:hover{
  transform: translateY(-2px) !important; /* was -8px in theme.css */
  box-shadow: var(--hug-shadow-hover) !important;
}

.testimonial-card:hover{
  transform: translateY(-1px) !important; /* was -4px */
  box-shadow: var(--hug-shadow-hover) !important;
}

/* Images: slightly softer, less dramatic shadow */
.section-image{
  border-radius: var(--hug-radius) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10) !important;
}

/* 6) Primary buttons: consistent, simple, “product marketing” */
.product-button,
.section-button,
.cta-button{
  border-radius: 12px !important;
  box-shadow: none;
}

.product-button:hover,
.section-button:hover,
.cta-button:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

/* 7) CTA banner: soften “solid color slab” feel */
.cta-banner-section{
  background:
    radial-gradient(circle at 30% 10%, rgba(255,255,255,0.18), transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(0,0,0,0.10), transparent 55%),
    var(--color-accent);
}

/* Sticky hero handoff — V5 uses thugs-hero class, handled in hero.liquid */

  /* Soft fade-out at bottom to blend into next section (where supported) */
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  will-change: transform;
  contain: paint;
}
.sticky-hero .hero-content {
  /* rAF drives progress; keep motion subtle for calm handoff */
  transition: none;
  opacity: calc(1 - (var(--handoff, 0) * 0.30));
  transform: translateY(calc(var(--handoff, 0) * -8px))
             scale(calc(1 - (var(--handoff, 0) * 0.01)));
}
.sticky-hero.is-handoff .hero-content { will-change: transform, opacity; }

.sticky-hero-next {
  /* Base state; var binding below handles smooth mapping */
  position: relative;
  transform: translateY(8px);
  opacity: 0;
  transition: none;
}
.sticky-hero-next.is-entering {
  /* Provide a brief entry if IO triggers before progress mapping */
  transform: translateY(0);
  opacity: 1;
}
.sticky-hero-next { 
  /* Bind to progress var for smooth interpolation on scroll */
  transform: translateY(calc((1 - var(--handoff, 0)) * 10px));
  opacity: var(--handoff, 0);
}

/* Subtle top gradient on the next section to hide the seam */
.sticky-hero-next::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 16vh;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.06), transparent);
  opacity: calc(0.5 * (1 - var(--handoff, 0)));
}

/* Respect reduced motion: disable handoff transforms/opacity tweens */
@media (prefers-reduced-motion: reduce) {
  .sticky-hero, .sticky-hero-next { transition: none !important; }
  .sticky-hero .hero-content, .sticky-hero-next { transition: none !important; }
  .sticky-hero .hero-content { opacity: 1; transform: none; }
  .sticky-hero-next { opacity: 1; transform: none; }
  .sticky-hero-next::before { display: none; }
}

/* Desktop: hide hamburger; Mobile: show */
@media (min-width: 900px) { .nav-toggle { display: none; } }
@media (max-width: 899px) { .header-nav { display: none; } }
/* ===============================
   OUR STORY – layout & visuals
   =============================== */

.story-hero {
  background:
    radial-gradient(1200px 600px at 20% 15%, rgba(46,79,62,.55), transparent 55%),
    radial-gradient(900px 500px at 80% 25%, rgba(18,32,26,.55), transparent 60%),
    linear-gradient(135deg, #0B0F0D 0%, #132019 40%, #1E342A 100%);
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
}

.story-hero::before { content: none !important; }

.story-hero-content { max-width: 980px; }

.story-hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.story-hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto;
  opacity: .92;
}

.story-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.story-section {
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.story-section:last-child { border-bottom: none; }

.story-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 380;
  letter-spacing: -0.01em;
  color: var(--color-brown-deep, #2B1810);
  margin-bottom: 1.5rem;
}

/* Kill icon layout globally */
.story-icon { display: none !important; }

.story-section-content p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.35rem;
  color: var(--color-text-dark, #2B1810);
}

/* CTA */
.story-cta {
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(46,79,62,.55), transparent 60%),
    linear-gradient(135deg, #132019, #2E4F3E);
  color: #fff;
  padding: 4.5rem 2rem;
  text-align: center;
}

.story-cta p {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.story-cta-button {
  display: inline-block;
  padding: 1rem 2.6rem;
  background: #fff;
  color: #2B1810;
  border-radius: 10px;
  font-weight: 650;
  text-decoration: none;
}

/* ===================================================
   SCROLL REVEAL SYSTEM — PTD-inspired staggered
   =================================================== */
[data-reveal] {
  /* Section-level: no animation on container itself */
}

[data-reveal-child] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
}

[data-reveal].is-revealed [data-reveal-child],
[data-reveal-child].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Product cards get a slight scale-in too */
.hog-card[data-reveal-child] {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}

.hog-card[data-reveal-child].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===================================================
   GLOBAL BUTTON SYSTEM — hog-btn
   =================================================== */
.hog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.hog-btn--gold {
  background: #F68A3F;
  color: #FFFFFF;
}
.hog-btn--gold:hover {
  background: #E6762A;
  transform: translateY(-1px);
  opacity: 1;
}

.hog-btn--ghost {
  background: transparent;
  color: #FAF5EE;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.hog-btn--ghost:hover {
  border-color: #C8962A;
  color: #C8962A;
  opacity: 1;
}

/* ===================================================
   SMOOTH SCROLL — opt-in via html
   =================================================== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ===================================================
   PAGE LOADING STATES
   =================================================== */
@media (prefers-reduced-motion: no-preference) {
  .page-fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease calc(var(--motion-stagger, 0ms)),
                transform 0.6s ease calc(var(--motion-stagger, 0ms));
  }
  .is-loaded .page-fade-in {
    opacity: 1;
    transform: translateY(0);
  }
  .is-exiting .page-fade-in {
    opacity: 0;
    transform: translateY(-8px);
    transition-duration: 0.35s;
  }
}
/* =========================================
   Navigation Dropdown Fix
   ========================================= */

/* Desktop dropdown menu */
.nav-item--dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #1E1208;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li { padding: 0; }
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.nav-dropdown a:hover {
  color: #C8962A !important;
  background: rgba(255,255,255,0.05);
  opacity: 1;
}

/* Mobile nav: hidden by default */
.mobile-nav-panel { display: none; }
.mobile-nav-panel.is-open { display: flex; }
.mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav-panel.is-open .mobile-nav__backdrop { opacity: 1; }

/* Ensure product pages render content */
.template-product main,
.template-collection main,
.template-index main {
  min-height: 50vh;
}
/* =========================================
   Product Page Visibility Fix
   ========================================= */
/* Product pages should show content immediately without scroll reveal */
.template-product [data-reveal-child],
.template-product .hog-pdp__gallery,
.template-product .hog-pdp__info {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Collection page should also show content immediately */
.template-collection .collection-page,
.template-collection .page-wrapper {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Ensure all page types show footer */
.shopify-section.fade-in {
  opacity: 1 !important;
  transform: none !important;
}
