/** Shopify CDN: Minification failed

Line 29:14 Expected identifier but found whitespace
Line 29:16 Unexpected "{"
Line 29:26 Expected ":"
Line 30:17 Expected identifier but found whitespace
Line 30:19 Unexpected "{"
Line 30:29 Expected ":"

**/
/* Red Bear Co. Theme Styles */

/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */

:root {
  /* Colors */
  --forest-green: #2d5016;
  --moss-green: #5a7247;
  --sage: #8b9d83;
  --cream: #f5f1e8;
  --warm-brown: #6b4423;
  --charcoal: #2a2a2a;
  --soft-white: #fefefe;
  --accent-rust: #c85a3e;
  
  /* Typography */
  --font-body: {{ settings.font_body | default: "Georgia, 'Times New Roman', serif" }};
  --font-heading: {{ settings.font_heading | default: "Georgia, 'Times New Roman', serif" }};
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  
  /* Layout */
  --max-width: 1400px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Skip to content link for accessibility */
.skip-to-content-link {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  transition: transform 0.3s;
}

.skip-to-content-link:focus {
  transform: translateX(-50%) translateY(0);
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.site-header {
  background: var(--soft-white);
  border-bottom: 2px solid var(--sage);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.header-logo {
  flex-shrink: 0;
}

.logo-image {
  max-height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--forest-green);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  flex-grow: 1;
  justify-content: center;
}

.nav-link {
  color: var(--forest-green);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  padding: 0.5rem;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent-rust);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.cart-link:hover {
  transform: scale(1.1);
}

.cart-icon {
  font-size: 1.5rem;
  color: var(--forest-green);
}

.cart-count {
  background: var(--accent-rust);
  color: var(--soft-white);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.cart-count--empty {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  color: var(--cream);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10 Q 25 5, 40 10 T 70 10" stroke="%235a7247" fill="none" stroke-width="0.5" opacity="0.3"/><circle cx="20" cy="80" r="2" fill="%235a7247" opacity="0.3"/><circle cx="80" cy="20" r="1.5" fill="%235a7247" opacity="0.3"/></svg>') repeat;
  opacity: 0.1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-heading {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 400;
  letter-spacing: 2px;
}

.hero-subheading {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
  font-style: italic;
  color: var(--sage);
}

/* ============================================
   BUTTONS
   ============================================ */

.cta-button {
  display: inline-block;
  background: var(--accent-rust);
  color: var(--soft-white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: 2px solid var(--accent-rust);
}

.cta-button:hover {
  background: transparent;
  color: var(--accent-rust);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 90, 62, 0.3);
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  font-size: 2.5rem;
  color: var(--forest-green);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-rust);
  margin: var(--spacing-sm) auto;
  border-radius: 2px;
}

/* ============================================
   FEATURED COLLECTION / PRODUCTS GRID
   ============================================ */

.featured-collection-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-md);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.product-card {
  background: var(--soft-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-link {
  display: block;
}

.product-image-wrapper {
  width: 100%;
  height: 320px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--sage);
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-svg {
  width: 100%;
  height: 100%;
  fill: var(--sage);
  opacity: 0.3;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.3rem;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-title a:hover {
  color: var(--accent-rust);
}

.product-price {
  font-size: 1.2rem;
  color: var(--accent-rust);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.product-description {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

.product-form {
  margin-top: auto;
}

.add-to-cart-button {
  width: 100%;
  padding: 0.8rem;
  background: var(--forest-green);
  color: var(--soft-white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.add-to-cart-button:hover:not(:disabled) {
  background: var(--moss-green);
  transform: scale(1.02);
}

.add-to-cart-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.view-all-wrapper {
  text-align: center;
  margin-top: var(--spacing-lg);
}

.view-all-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--forest-green);
  color: var(--soft-white);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.view-all-button:hover {
  background: var(--moss-green);
  transform: translateY(-2px);
}

/* ============================================
   RICH TEXT SECTION
   ============================================ */

.rich-text-section {
  background: var(--soft-white);
  padding: var(--spacing-lg) var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.rich-text-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.rich-text-body {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.rich-text-body p {
  margin-bottom: var(--spacing-sm);
}

.rich-text-button-wrapper {
  margin-top: var(--spacing-md);
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
  background: var(--forest-green);
  color: var(--cream);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-section {
  /* Styles handled by grid */
}

.footer-heading {
  color: var(--sage);
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links a {
  color: var(--cream);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-rust);
}

.footer-text {
  color: var(--cream);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--moss-green);
}

.footer-copyright {
  color: var(--sage);
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  .header-nav {
    flex-wrap: wrap;
  }
  
  .nav-links {
    gap: var(--spacing-sm);
    font-size: 0.85rem;
  }
  
  .hero-heading {
    font-size: 2.5rem;
  }
  
  .hero-subheading {
    font-size: 1.1rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .header-nav {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .hero-heading {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}