/** Shopify CDN: Minification failed

Line 1610:21 Unexpected "("

**/
/* ============================================================
   Slow Mill Coffee 閳?Brand Stylesheet
   Shopify Dawn-based theme for a curated coffee brand
   ============================================================ */

/* -------------------------------------------------------
   1. CSS Custom Properties (Brand Tokens)
   ------------------------------------------------------- */

:root {
  /* Brand Colours */
  --sm-parchment: #F5F0E8;
  --sm-coffee-ink: #2C2C2C;
  --sm-yunnan-green: #3D5A3C;
  --sm-roast-brown: #8B6F47;
  --sm-warm-white: #FBF7EF;
  --sm-dark-brown: #171412;
  --sm-berry: #9B4B4B;

  /* Semantic Aliases */
  --sm-body-bg: var(--sm-parchment);
  --sm-text-primary: var(--sm-coffee-ink);
  --sm-accent: var(--sm-yunnan-green);
  --sm-accent-soft: #3D5A3C14;
  --sm-border-light: #E8E0D4;
  --sm-border-medium: #D4CABB;
  --sm-overlay-dark: rgba(23, 20, 18, 0.55);
  --sm-overlay-darker: rgba(23, 20, 18, 0.75);
  --sm-focus-ring: rgba(61, 90, 60, 0.4);
  --sm-transition-default: 0.3s ease;
}

/* -------------------------------------------------------
   2. Brand Base Styles
   ------------------------------------------------------- */

body {
  background-color: var(--sm-body-bg);
  color: var(--sm-text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--sm-text-primary);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

p {
  margin: 0 0 1.25em;
}

a {
  color: var(--sm-yunnan-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--sm-transition-default);
}

a:hover {
  color: var(--sm-roast-brown);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus visible styling 閳?accessible ring */
*:focus-visible {
  outline: 2px solid var(--sm-yunnan-green);
  outline-offset: 2px;
}

/* Utility container */
.sm-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .sm-container {
    padding: 0 16px;
  }
}

/* Visually hidden utility */
.sm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* -------------------------------------------------------
   3. Announcement Bar
   ------------------------------------------------------- */

.sm-announcement {
  background-color: transparent;
  color: var(--sm-text-primary);
  text-align: center;
  padding: 6px 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  border-bottom: none;
}

.sm-announcement a {
  color: var(--sm-yunnan-green);
  text-decoration: underline;
}

.sm-announcement a:hover {
  color: var(--sm-roast-brown);
}

.sm-announcement p {
  margin: 0;
}

/* -------------------------------------------------------
   4. Header
   ------------------------------------------------------- */

.sm-header {
  background-color: var(--sm-parchment);
  border-bottom: none;
  padding: 0 24px;
  }

.sm-header__inner,
.sm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 64px;
}

.sm-header__logo,
.sm-header-logo {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sm-dark-brown);
  text-decoration: none;
  flex-shrink: 0;
}

.sm-header-logo:hover {
  color: var(--sm-yunnan-green);
}

.sm-header__nav,
.sm-header-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}


.sm-header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--sm-yunnan-green);
  transform: scaleX(0);
  transition: transform var(--sm-transition-default);
}

.sm-header-nav a:hover {
  color: var(--sm-yunnan-green);
}

.sm-header-nav a:hover::after {
  transform: scaleX(1);
}

.sm-header__actions,
.sm-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm-header-actions a {
  color: var(--sm-text-primary);
  text-decoration: none;
  transition: color var(--sm-transition-default);
}

.sm-header-actions a:hover {
  color: var(--sm-yunnan-green);
}

.sm-header-actions svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Cart count badge */
.sm-cart-count {
  position: relative;
}

.sm-cart-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--sm-yunnan-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  padding: 0 4px;
}

/* Hamburger (mobile) */
.sm-header__hamburger,
.sm-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--sm-text-primary);
}

.sm-hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 768px) {
  .sm-header__hamburger,
.sm-hamburger {
    display: block;
  }

  .sm-header__nav,
.sm-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: transparent;
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .sm-header-nav.is-open {
    display: flex;
  }

  .sm-header-nav a {
    padding: 12px 0;
    width: 100%;
  }

  .sm-header-nav a::after {
    display: none;
  }
}

/* -------------------------------------------------------
   5. Hero Carousel
   ------------------------------------------------------- */

.sm-hero {
  position: relative;
  min-height: min(72vh, 680px);
  background-color: var(--sm-dark-brown);
  overflow: hidden;
}

.sm-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  z-index: 1;
}

.sm-hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.sm-hero-slide img,
.sm-hero-slide picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(23, 20, 18, 0.75) 0%,
    rgba(23, 20, 18, 0.35) 50%,
    rgba(23, 20, 18, 0.2) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.sm-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 640px;
  height: 100%;
  min-height: min(72vh, 680px);
  padding: 80px 48px;
  pointer-events: none;
}

.sm-hero-content > * {
  pointer-events: auto;
}

.sm-hero-tagline {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--sm-warm-white);
  margin: 0 0 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.sm-hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(251, 247, 239, 0.85);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 480px;
}

.sm-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero buttons */
.sm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 32px;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: transparent;
  color: var(--sm-dark-brown);
  transition: background-color var(--sm-transition-default), color var(--sm-transition-default);
}

.sm-btn-primary:hover {
  background-color: var(--sm-yunnan-green);
  color: #fff;
}

.sm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 32px;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--sm-warm-white);
  border-radius: 4px;
  cursor: pointer;
  background-color: transparent;
  color: var(--sm-warm-white);
  transition: background-color var(--sm-transition-default), color var(--sm-transition-default), border-color var(--sm-transition-default);
}

.sm-btn-secondary:hover {
  background-color: transparent;
  color: var(--sm-dark-brown);
  border-color: var(--sm-warm-white);
}

/* Carousel dots */
.sm-hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.sm-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(251, 247, 239, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color var(--sm-transition-default), transform var(--sm-transition-default);
}

.sm-hero-dot.is-active {
  background-color: transparent;
  transform: scale(1.25);
}

.sm-hero-dot:hover {
  background-color: rgba(251, 247, 239, 0.75);
}

/* Hero arrows */
.sm-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(251, 247, 239, 0.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sm-warm-white);
  transition: background-color var(--sm-transition-default);
}

.sm-hero-arrow:hover {
  background: rgba(251, 247, 239, 0.3);
}

.sm-hero-arrow-prev { left: 16px; }
.sm-hero-arrow-next { right: 16px; }

.sm-hero-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Mobile hero overrides */
@media (max-width: 768px) {
  .sm-hero {
    min-height: 620px;
    height: 620px;
  }

  .sm-hero-content {
    min-height: 620px;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 24px 80px;
    text-align: center;
  }

  .sm-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(23, 20, 18, 0.1) 0%,
      rgba(23, 20, 18, 0.65) 60%,
      rgba(23, 20, 18, 0.85) 100%
    );
  }

  .sm-hero-tagline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .sm-hero-actions {
    justify-content: center;
  }

  .sm-hero-arrow {
    display: none;
  }
}

/* -------------------------------------------------------
   6. Product Grid
   ------------------------------------------------------- */

.sm-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 48px 0;
}

@media (max-width: 768px) {
  .sm-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 32px 0;
  }
}

@media (max-width: 480px) {
  .sm-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.sm-product-card {
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sm-product-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.sm-product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--sm-parchment);
}

.sm-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sm-product-card:hover .sm-product-card-image img {
  transform: scale(1.05);
}

.sm-product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--sm-berry);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
}

.sm-product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sm-product-card-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--sm-text-primary);
}

.sm-product-card-subtitle {
  font-size: 0.8rem;
  color: var(--sm-roast-brown);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sm-product-card-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sm-roast-brown);
  margin: 0 0 6px;
}

.sm-product-card-tasting {
  font-size: 0.85rem;
  color: var(--sm-berry);
  font-style: italic;
  margin: 0 0 14px;
  line-height: 1.4;
}

/* Text truncation helper */
.sm-text-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sm-product-card-actions {
  margin-top: auto;
  padding-top: 8px;
}

.sm-product-card-actions .sm-btn-primary {
  width: 100%;
  min-height: 52px;
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* Quick-add when already in view */
.sm-product-card-actions .sm-btn-primary:active {
  transform: scale(0.97);
}

/* -------------------------------------------------------
   7. Trust Band
   ------------------------------------------------------- */

.sm-trust {
  padding: 56px 0;
  background-color: transparent;
  border-top: 1px solid var(--sm-border-light);
  border-bottom: none;
}

.sm-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.sm-trust-item {
  text-align: center;
}

.sm-trust-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--sm-yunnan-green);
  color: #fff;
  margin: 0 auto 14px;
}

.sm-trust-icon-wrap svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sm-trust-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--sm-text-primary);
}

.sm-trust-text {
  font-size: 0.875rem;
  color: var(--sm-roast-brown);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .sm-trust-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .sm-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }

  .sm-trust-icon-wrap {
    margin: 0;
    flex-shrink: 0;
  }
}

/* -------------------------------------------------------
   8. Curated Drop Banner
   ------------------------------------------------------- */

.sm-curated-drop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  background-color: var(--sm-dark-brown);
}

.sm-curated-drop-image {
  position: relative;
  overflow: hidden;
}

.sm-curated-drop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-curated-drop-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  color: var(--sm-warm-white);
}

.sm-curated-drop-badge {
  display: inline-block;
  background-color: var(--sm-berry);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.sm-curated-drop-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--sm-warm-white);
}

.sm-curated-drop-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.8);
  margin: 0 0 28px;
  max-width: 460px;
}

.sm-curated-drop-content .sm-btn-primary {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .sm-curated-drop {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sm-curated-drop-image {
    min-height: 280px;
  }

  .sm-curated-drop-content {
    padding: 40px 24px;
  }

  .sm-curated-drop-content .sm-btn-primary {
    width: 100%;
  }
}

/* -------------------------------------------------------
   9. Origin Story Section
   ------------------------------------------------------- */

.sm-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--sm-accent-soft);
}

.sm-story-image {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.sm-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
}

.sm-story-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sm-yunnan-green);
  margin: 0 0 8px;
}

.sm-story-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--sm-text-primary);
}

.sm-story-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sm-text-primary);
  margin: 0 0 24px;
  max-width: 500px;
}

.sm-story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sm-yunnan-green);
  text-decoration: none;
  transition: color var(--sm-transition-default);
}

.sm-story-link:hover {
  color: var(--sm-roast-brown);
}

.sm-story-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--sm-transition-default);
}

.sm-story-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .sm-story {
    grid-template-columns: 1fr;
  }

  .sm-story-image {
    min-height: 240px;
  }

  .sm-story-content {
    padding: 40px 24px;
  }

  .sm-story-link {
    width: 100%;
    justify-content: center;
  }
}

/* -------------------------------------------------------
   10. Newsletter Section
   ------------------------------------------------------- */

.sm-newsletter {
  padding: 64px 24px;
  text-align: center;
  background-color: transparent;
}

.sm-newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.sm-newsletter-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--sm-text-primary);
}

.sm-newsletter-text {
  font-size: 0.95rem;
  color: var(--sm-roast-brown);
  margin: 0 0 24px;
  line-height: 1.6;
}

.sm-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.sm-newsletter-input {
  flex: 1;
  min-height: 52px;
  padding: 12px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--sm-text-primary);
  background-color: var(--sm-parchment);
  border: 1px solid var(--sm-border-medium);
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color var(--sm-transition-default);
}

.sm-newsletter-input::placeholder {
  color: var(--sm-roast-brown);
  opacity: 0.7;
}

.sm-newsletter-input:focus {
  border-color: var(--sm-yunnan-green);
}

.sm-newsletter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  background-color: var(--sm-yunnan-green);
  color: #fff;
  transition: background-color var(--sm-transition-default);
  white-space: nowrap;
}

.sm-newsletter-submit:hover {
  background-color: var(--sm-dark-brown);
}

@media (max-width: 480px) {
  .sm-newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .sm-newsletter-input {
    border-right: 1px solid var(--sm-border-medium);
    border-radius: 4px;
  }

  .sm-newsletter-submit {
    border-radius: 4px;
    width: 100%;
  }
}

/* -------------------------------------------------------
   11. Footer
   ------------------------------------------------------- */

.sm-footer {
  background-color: var(--sm-dark-brown);
  color: var(--sm-warm-white);
  padding: 56px 24px 32px;
}

.sm-footer__grid,
.sm-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.sm-footer__heading,
.sm-footer-col-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--sm-warm-white);
}

.sm-footer__list,
.sm-footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-footer-col-list li {
  margin-bottom: 8px;
}

.sm-footer-col-list a {
  color: rgba(251, 247, 239, 0.7);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--sm-transition-default);
}

.sm-footer-col-list a:hover {
  color: var(--sm-warm-white);
}

.sm-footer__social,
.sm-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.sm-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 239, 0.25);
  color: var(--sm-warm-white);
  transition: border-color var(--sm-transition-default), background-color var(--sm-transition-default);
}

.sm-footer-social a:hover {
  border-color: var(--sm-warm-white);
  background-color: rgba(251, 247, 239, 0.1);
}

.sm-footer-social svg {
  width: 16px;
  height: 16px;
  display: block;
}

.sm-footer__bottom,
.sm-footer-bottom {
  border-top: 1px solid rgba(251, 247, 239, 0.12);
  padding-top: 24px;
  margin-top: 40px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sm-footer__copyright,
.sm-footer-copy {
  font-size: 0.8rem;
  color: rgba(251, 247, 239, 0.5);
  margin: 0;
}

.sm-footer__payments,
.sm-footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}

.sm-footer-payments svg {
  width: 32px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .sm-footer__grid,
.sm-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .sm-footer__grid,
.sm-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sm-footer__bottom,
.sm-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* -------------------------------------------------------
   12. Page Content
   ------------------------------------------------------- */

.sm-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.sm-page h1 {
  margin-bottom: 8px;
}

.sm-page .sm-page-subtitle {
  font-size: 1rem;
  color: var(--sm-roast-brown);
  margin: 0 0 32px;
}

.sm-page p,
.sm-page li {
  line-height: 1.7;
}

.sm-page p {
  margin: 0 0 1.25em;
}

.sm-page ul,
.sm-page ol {
  margin: 0 0 1.25em;
  padding-left: 24px;
}

.sm-page li {
  margin-bottom: 6px;
}

/* -------------------------------------------------------
   13. Collection
   ------------------------------------------------------- */

/* Collection Hero */
.sm-collection-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sm-dark-brown);
  overflow: hidden;
}

.sm-collection-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-collection-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 20, 18, 0.55);
  z-index: 1;
}

.sm-collection-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px;
}

.sm-collection-hero-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  color: var(--sm-warm-white);
  margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.sm-collection-hero-desc {
  font-size: 1.05rem;
  color: rgba(251, 247, 239, 0.8);
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Collection Header (title + count) */
.sm-collection-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 0 8px;
  border-bottom: none;
}

.sm-collection-header h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}

.sm-collection-count {
  font-size: 0.85rem;
  color: var(--sm-roast-brown);
  margin: 0;
}

/* Filter Chips (pill style) */
.sm-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  list-style: none;
  margin: 0;
}

.sm-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sm-text-primary);
  background-color: transparent;
  border: 1px solid var(--sm-border-medium);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--sm-transition-default), color var(--sm-transition-default), border-color var(--sm-transition-default);
  white-space: nowrap;
  user-select: none;
}

.sm-filter-chip:hover {
  border-color: var(--sm-yunnan-green);
  color: var(--sm-yunnan-green);
}

.sm-filter-chip.is-active {
  background-color: var(--sm-yunnan-green);
  color: #fff;
  border-color: var(--sm-yunnan-green);
}

.sm-filter-chip.is-active:hover {
  background-color: var(--sm-dark-brown);
  border-color: var(--sm-dark-brown);
  color: #fff;
}

/* -------------------------------------------------------
   14. Mobile Polish
   ------------------------------------------------------- */

@media (max-width: 768px) {
  /* Buttons 閳?always meet 44鑴?4 tap target */
  .sm-btn-primary,
  .sm-btn-secondary {
    min-height: 52px;
    padding: 10px 20px;
  }

  /* Ensure card images maintain 4:3 aspect ratio */
  .sm-product-card-image {
    aspect-ratio: 4 / 3;
  }

  /* Truncate long product titles on small screens */
  .sm-product-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sm-product-card-tasting {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Full-width hero actions on mobile */
  .sm-hero-actions .sm-btn-primary,
  .sm-hero-actions .sm-btn-secondary {
    flex: 1;
  }
}

/* -------------------------------------------------------
   15. Hide "More Payment Options" Button (Shopify)
   ------------------------------------------------------- */

.shopify-payment-button__more-options {
  display: none !important;
}

/* -------------------------------------------------------
   16. Utility & Helper Classes
   ------------------------------------------------------- */

.sm-section-title {
  text-align: center;
  margin: 0 0 8px;
}

.sm-section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--sm-roast-brown);
  margin: 0 0 36px;
}

.sm-section-padding {
  padding: 56px 0;
}

@media (max-width: 768px) {
  .sm-section-padding {
    padding: 40px 0;
  }
}

/* Loading shimmer placeholder */
.sm-shimmer {
  background: linear-gradient(
    90deg,
    var(--sm-parchment) 0%,
    var(--sm-warm-white) 50%,
    var(--sm-parchment) 100%
  );
  background-size: 200% 100%;
  animation: sm-shimmer 1.5s infinite;
}

@keyframes sm-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .sm-product-card:hover {
    transform: none;
  }

  .sm-product-card:hover .sm-product-card-image img {
    transform: none;
  }

  .sm-hero-slide {
    transition-duration: 0.01ms;
  }
}

/* Print styles */
@media print {
  .sm-announcement,
  .sm-header,
  .sm-footer,
  .sm-hero-arrow,
  .sm-hero-dots,
  .sm-newsletter {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* -------------------------------------------------------
   Fixed: BEM aliases for HTML classes
   ------------------------------------------------------- */

/* Logo link - no underline */
.sm-header__logo-link { text-decoration: none; display: inline-block; }
.sm-header__logo-text { font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 700; color: var(--sm-dark-brown); text-decoration: none; }
.sm-header__logo-text:hover { color: var(--sm-yunnan-green); }

/* Header icon links */
.sm-header__icon-link { display: flex; align-items: center; color: var(--sm-coffee-ink); text-decoration: none; }
.sm-header__cart-link { display: flex; align-items: center; position: relative; color: var(--sm-coffee-ink); text-decoration: none; }
.sm-header__cart-count { position: absolute; top: -6px; right: -8px; background: var(--sm-yunnan-green); color: #fff; font-size: 0.65rem; min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 600; padding: 0 4px; }

/* Announcement inner */
.sm-announcement__inner { max-width: 1280px; margin: 0 auto; }

/* Footer inner grid */
.sm-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2rem; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.sm-footer__col { display: flex; flex-direction: column; gap: 0.75rem; }
.sm-footer__col--links ul, .sm-footer__col--connect ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sm-footer__link { font-size: 0.875rem; color: rgba(44,44,44,0.7); text-decoration: none; transition: color 0.2s; }
.sm-footer__link:hover { color: var(--sm-yunnan-green); }
.sm-footer__desc { font-size: 0.875rem; color: rgba(44,44,44,0.65); line-height: 1.6; margin: 0; }
.sm-footer__newsletter { display: flex; gap: 0.5rem; }
.sm-footer__input { flex: 1; padding: 0.65rem 0.85rem; border: 1px solid var(--sm-border-light); border-radius: 6px; font-family: inherit; font-size: 0.85rem; background: #fff; }
.sm-footer__btn { padding: 0.65rem 1rem; background: #A0845C; color: var(--sm-warm-white); border: none; border-radius: 6px; font-family: inherit; font-size: 0.85rem; font-weight: 500; cursor: pointer; white-space: nowrap; }

/* Main content */
.sm-main { min-height: 50vh; }

/* Mobile nav */
.sm-mobile-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 80vw); background: var(--sm-parchment); z-index: 200; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; }
.sm-mobile-nav--open { transform: translateX(0); }
.sm-mobile-nav__header { display: flex; justify-content: flex-end; padding: 1rem; border-bottom: none; }
.sm-mobile-nav__close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--sm-coffee-ink); padding: 0.5rem; line-height: 1; }
.sm-mobile-nav__nav { display: flex; flex-direction: column; padding: 1rem 0; }
.sm-mobile-nav__link { padding: 0.85rem 1.5rem; font-size: 0.95rem; color: var(--sm-coffee-ink); text-decoration: none; border-bottom: none; transition: background 0.2s; }
.sm-mobile-nav__link:hover { background: rgba(61,90,60,0.06); }
.sm-mobile-nav__overlay { position: fixed; inset: 0; background: rgba(23,20,18,0.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.sm-mobile-nav__overlay--visible { opacity: 1; pointer-events: auto; }

@media (max-width: 768px) {
  .sm-footer__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .sm-footer__col--brand { grid-column: 1 / -1; }
  .sm-header__inner { min-height: 56px; }
  .sm-header__nav { display: none; }
}

@media (max-width: 480px) {
  .sm-footer__inner { grid-template-columns: 1fr; }
  .sm-footer__newsletter { flex-direction: column; }
  .sm-footer__input { width: 100%; }
  .sm-footer__btn { width: 100%; }
}
/* Hamburger - hide on desktop */
.sm-header__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; }
.sm-header__hamburger span { display: block; width: 22px; height: 2px; background: var(--sm-coffee-ink); border-radius: 2px; transition: transform 0.2s; }
@media (max-width: 768px) {
  .sm-header__hamburger { display: flex; }
}
/* Utility: page-width container */
.page-width { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 768px) { .page-width { padding: 0 1rem; } }

/* -------------------------------------------------------
/* ============================================================
   Mobile Optimizations
   ============================================================ */

/* --- Header / Logo --- */
@media (max-width: 768px) {
  .sm-header__logo img { max-width: 50px !important; }
  .sm-header__inner { min-height: 50px !important; gap: 0.5rem; }
  .sm-header__actions { gap: 10px; }
  .sm-header__actions svg { width: 20px; height: 20px; }
}

/* --- Hero Carousel --- */
@media (max-width: 768px) {
  .sm-hero__content { padding: 2rem 1.25rem !important; }
  .sm-hero h1 { font-size: clamp(1.6rem,6vw,2.2rem) !important; max-width: 280px !important; }
  .sm-hero p { font-size: 0.85rem !important; max-width: 280px !important; }
  .sm-hero__cta a { min-height: 48px !important; font-size: 0.9rem !important; }
}

/* --- Origin Story (inline grid fix) --- */
@media (max-width: 768px) {
  section > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  section > div > div > div[style*="display:flex;gap:2rem"] {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
}

/* --- Curated Drop --- */
@media (max-width: 768px) {
  section .page-width > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  section .page-width > div[style*="grid-template-columns: 1fr 1fr"] img {
    width: 100% !important;
  }
}

/* --- Section spacing mobile --- */
@media (max-width: 768px) {
  section[style*="padding:"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  section[style*="padding:4rem"] {
    padding: 2.5rem 1rem !important;
  }
  section[style*="padding:3.5rem"] {
    padding: 2.5rem 1rem !important;
  }
}

/* --- Product cards mobile --- */
@media (max-width: 480px) {
  .sm-product-card { padding: 0.75rem !important; }
  .sm-product-card h3 { font-size: 0.9rem !important; }
  .sm-product-card .price { font-size: 0.85rem !important; }
}



/* --- Blog posts mobile --- */
@media (max-width: 768px) {
  .sm-blog-grid { grid-template-columns: 1fr !important; }
  .sm-blog-card img { aspect-ratio: 16/9 !important; }
}
    Clean Nav Styles (replaces Dawn overrides)
    ------------------------------------------------------- */
.sm-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sm-nav__item {
  display: inline-flex;
  margin: 0;
  padding: 0;
}
.sm-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 450;
  color: var(--sm-coffee-ink, #2C2C2C);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.2;
}
.sm-nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #A0845C;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.sm-nav__link:hover {
  color: #A0845C;
}
.sm-nav__link:hover::after {
  transform: scaleX(1);
}
.sm-nav__link--active {
  color: #A0845C;
}
.sm-nav__link--active::after {
  transform: scaleX(1);
  background: #A0845C;
}
@media (max-width: 768px) {
  .sm-nav { display: none; }
}






/* Cart drawer polish */
.sm-cart-drawer button[data-sm-cart-close]:hover { opacity: 1 !important; }
.sm-cart-drawer button[data-cart-remove]:hover { color: rgba(44,44,44,0.6) !important; }
.sm-cart-drawer button[type="submit"]:hover { background: #8B6F47 !important; }
.sm-cart-drawer button[data-sm-cart-close][type="button"]:hover { color: rgba(44,44,44,0.7) !important; }



/* -------------------------------------------------------
   Coffee Quiz (Find Your Coffee) 閳?Full Styles
   ------------------------------------------------------- */

/* Main section */
.smq-section {
  padding: 4rem 1.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}
.smq-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(160,132,92,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.smq-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245,240,232,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.smq-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.smq-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A0845C;
  background: rgba(160,132,92,0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.smq-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: #241f19;
  margin: 0 0 0.3rem;
  font-family: 'DM Serif Display', Georgia, serif;
}
.smq-subheading {
  font-size: 0.9rem;
  color: rgba(36,31,25,0.5);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.smq-steps {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.smq-step-dot {
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(36,31,25,0.08);
  transition: background 400ms ease, transform 400ms ease;
  position: relative;
}
.smq-step-dot.is-active {
  background: #A0845C;
}
.smq-step-dot.is-done {
  background: #A0845C;
}
.smq-question {
  font-size: 1.05rem;
  font-weight: 500;
  color: #241f19;
  margin: 0 0 1.75rem;
  line-height: 1.4;
}
.smq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .smq-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}
.smq-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(160,132,92,0.08);
  border-radius: 18px;
  padding: 2rem 1.25rem 1.75rem;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(160,132,92,0.04);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.smq-opt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(160,132,92,0.03) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.smq-opt:hover {
  border-color: rgba(160,132,92,0.35);
  box-shadow: 0 8px 28px rgba(160,132,92,0.1);
  transform: translateY(-3px);
  background: #FFFAF2;
}
.smq-opt:hover::before { opacity: 1; }
.smq-opt:active { transform: translateY(0px) scale(0.98); }
.smq-opt.is-selected {
  border-color: #A0845C;
  box-shadow: 0 8px 28px rgba(160,132,92,0.15);
  background: #FFF8F0;
}
.smq-opt.is-selected .smq-icon-wrap { box-shadow: 0 4px 12px rgba(160,132,92,0.15);
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 auto 0.85rem;
  width: 58px;
  height: 58px;
  background: rgba(160,132,92,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s, box-shadow 0.3s;
  flex-shrink: 0;
  position: relative;
}
.smq-icon-wrap {
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 auto 0.85rem;
  width: 58px;
  height: 58px;
  background: rgba(160,132,92,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s, box-shadow 0.3s;
  flex-shrink: 0;
  position: relative;
}
.smq-opt:hover .smq-icon-wrap {
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 auto 0.85rem;
  width: 58px;
  height: 58px;
  background: rgba(160,132,92,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s, box-shadow 0.3s;
  flex-shrink: 0;
  position: relative;
}
.smq-opt.is-selected .smq-icon-wrap { box-shadow: 0 4px 12px rgba(160,132,92,0.15);
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 auto 0.85rem;
  width: 58px;
  height: 58px;
  background: rgba(160,132,92,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s, box-shadow 0.3s;
  flex-shrink: 0;
  position: relative;
}
.smq-opt-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #241f19;
  display: block;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.smq-opt-sub {
  font-size: 0.8rem;
  color: rgba(36,31,25,0.4);
  display: block;
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}
.smq-result { display: none; animation: smqFadeIn 0.5s ease; }
.smq-result.is-visible { display: block; }
.smq-result-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-family: 'DM Serif Display', Georgia, serif;
  color: #241f19;
  margin: 0 0 0.2rem;
}
.smq-result-label {
  font-size: 0.9rem;
  color: rgba(36,31,25,0.5);
  margin: 0 0 1.5rem;
}
.smq-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 768px) {
  .smq-result-grid { grid-template-columns: 1fr; gap: 0.85rem; }
}
.smq-result-card {
  background: #ffffff;
  border: 1px solid rgba(36,31,25,0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: box-shadow 0.3s, transform 0.3s;
  animation: smqFadeIn 0.4s ease both;
}
.smq-result-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.smq-result-card:nth-child(2) { animation-delay: 0.1s; }
.smq-result-card:nth-child(3) { animation-delay: 0.2s; }
.smq-result-card-image {
  aspect-ratio: 4/3;
  background: #EDE2D4;
  overflow: hidden;
  position: relative;
}
.smq-result-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.smq-result-card:hover .smq-result-card-image img { transform: scale(1.04); }
.smq-result-card-body {
  padding: 1rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.smq-result-card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #241f19;
  margin-bottom: 0.2rem;
}
.smq-result-card-price {
  font-size: 0.78rem;
  color: #A0845C;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.smq-result-card-desc {
  font-size: 0.74rem;
  color: rgba(36,31,25,0.5);
  margin: 0 0 0.75rem;
  line-height: 1.5;
  flex: 1;
}
.smq-result-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  background: #A0845C;
  color: #FBF7EF;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s;
  cursor: pointer;
}
.smq-result-card-btn:hover { background: #8B6F47; }
.smq-reset-btn {
  padding: 0.65rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  background: transparent;
  border: 1.5px solid rgba(160,132,92,0.2);
  color: rgba(160,132,92,0.6);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.smq-reset-btn:hover {
  border-color: rgba(160,132,92,0.4);
  color: #A0845C;
  background: rgba(160,132,92,0.04);
}
.smq-reset-btn:active { transform: scale(0.97); }

@keyframes smqFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes smqPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  70% { transform: scale(0.96); }
  100% { transform: scale(1); }
}
.smq-q { animation: smqFadeIn 0.35s ease; }

@media (max-width: 768px) {
  .smq-section { padding: 2.5rem 1rem !important; }
  .smq-opt { min-height: 56px; padding: 1.35rem 0.85rem 1.15rem; }
  .smq-icon-wrap {
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 auto 0.85rem;
  width: 58px;
  height: 58px;
  background: rgba(160,132,92,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s, box-shadow 0.3s;
  flex-shrink: 0;
  position: relative;
}
  .smq-opt-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #241f19;
  display: block;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
  .smq-opt-sub {
  font-size: 0.8rem;
  color: rgba(36,31,25,0.4);
  display: block;
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}
  .smq-result-grid { grid-template-columns: 1fr; }
  .smq-step-dot { width: 1.8rem; }
}
@media (max-width: 480px) {
  .smq-section { padding: 2rem 0.85rem !important; }
  .smq-grid { grid-template-columns: 1fr; }
}


/* -------------------------------------------------------
   Our Story - Premium Styles
   ------------------------------------------------------- */

/* Story Hero - full-width */
.so-hero h1 {
  letter-spacing: -0.01em;
}
.so-hero a:hover {
  background: #8B6F47 !important;
}

/* Story Narrative - alternating grid */
@media (max-width: 768px) {
  .so-narrative-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .so-narrative-grid > div:last-child { order: -1 !important; }
}

/* Story Values - card grid */
.sv-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.04) !important;
  transform: translateY(-2px);
}
.sv-card:hover > div:first-child {
  background: rgba(160,132,92,0.12) !important;
}
@media (max-width: 768px) {
  .sv-grid { grid-template-columns: 1fr !important; gap: 1rem !important; max-width: 480px; margin: 0 auto; }
}

/* Story Quote */
blockquote p {
  font-style: italic;
}

/* Newsletter on story page */
#shopify-section-template--story-newsletter section {
  border-top: 1px solid rgba(160,132,92,0.08);
}


/* ============================================================
   Utility Classes (replace inline styles)
   ============================================================ */
.sm-flex { display: flex; }
.sm-flex-col { flex-direction: column; }
.sm-flex-wrap { flex-wrap: wrap; }
.sm-items-center { align-items: center; }
.sm-justify-center { justify-content: center; }
.sm-justify-between { justify-content: space-between; }
.sm-gap-1 { gap: 0.25rem; }
.sm-gap-2 { gap: 0.5rem; }
.sm-gap-3 { gap: 0.75rem; }
.sm-gap-4 { gap: 1rem; }
.sm-text-center { text-align: center; }
.sm-w-full { width: 100%; }
.sm-hidden { display: none; }
.sm-block { display: block; }
.sm-relative { position: relative; }
.sm-absolute { position: absolute; }
.sm-inset-0 { position: absolute; inset: 0; }
.sm-rounded { border-radius: 6px; }
.sm-rounded-lg { border-radius: 10px; }
.sm-rounded-full { border-radius: 999px; }
.sm-overflow-hidden { overflow: hidden; }
.sm-object-cover { object-fit: cover; }
.sm-m-0 { margin: 0; }
.sm-p-0 { padding: 0; }
.sm-py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.sm-py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.sm-px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.sm-py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.sm-px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.sm-mb-1 { margin-bottom: 0.25rem; }
.sm-mb-2 { margin-bottom: 0.5rem; }
.sm-mb-3 { margin-bottom: 0.75rem; }
.sm-mb-4 { margin-bottom: 1rem; }
.sm-mt-2 { margin-top: 0.5rem; }
.sm-mt-4 { margin-top: 1rem; }
.sm-text-sm { font-size: 0.85rem; }
.sm-text-base { font-size: 0.95rem; }
.sm-text-lg { font-size: 1.1rem; }
.sm-text-xl { font-size: 1.35rem; }
.sm-font-medium { font-weight: 500; }
.sm-font-semibold { font-weight: 600; }
.sm-font-bold { font-weight: 700; }
.sm-leading-relaxed { line-height: 1.6; }
.sm-tracking-wide { letter-spacing: 0.04em; }
.sm-uppercase { text-transform: uppercase; }
.sm-text-muted { color: rgba(44,44,44,0.6); }
.sm-text-primary { color: #2C2C2C; }
.sm-text-accent { color: #A0845C; }
.sm-text-brown { color: #8B6F47; }
.sm-bg-warm { background: #FBF7EF; }
.sm-bg-parchment { background: #F5F0E8; }
.sm-border-light { border: 1px solid rgba(44,44,44,0.1); }
.sm-shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.sm-shadow { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.sm-transition { transition: all 0.2s ease; }
.sm-cursor-pointer { cursor: pointer; }
.sm-no-underline { text-decoration: none; }
.sm-flex-shrink-0 { flex-shrink: 0; }
.sm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 768px) {
  .sm-grid-2 { grid-template-columns: 1fr; }
  .sm-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sm-mobile-hidden { display: none; }
  .sm-mobile-block { display: block; }
}
@media (max-width: 480px) {
  .sm-grid-4 { grid-template-columns: 1fr; }
}
