/* ==========================================================================
   STEVE'S COFFEE — CUSTOM COSMOS THEME
   Premium editorial storefront styles. Keep this section at the end of CSS.
   ========================================================================== */

:root {
  --sc-cream: #f5f1e8;
  --sc-paper: #fbfaf7;
  --sc-ink: #201b17;
  --sc-brown: #4a3325;
  --sc-brown-dark: #2c211a;
  --sc-tan: #d9c7ac;
  --sc-line: rgba(32, 27, 23, 0.16);
  --sc-white: #ffffff;
  --sc-max: 1440px;
  --sc-side: clamp(20px, 4vw, 72px);
  --sc-serif: Georgia, "Times New Roman", serif;
  --sc-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sc-paper);
  color: var(--sc-ink);
  font-family: var(--sc-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sc-sans);
}

body a {
  color: inherit;
}

body h1,
body h2,
body h3,
body h4,
.page-title,
.featured-title {
  color: inherit;
  font-family: var(--sc-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-transform: none;
}

body img {
  display: block;
}

.content-wrapper {
  width: 100%;
  max-width: none;
  padding-left: var(--sc-side);
  padding-right: var(--sc-side);
}

.content-wrapper--home {
  padding: 0;
}

.announcement-message {
  position: relative;
  z-index: 101;
  min-height: 35px;
  padding: 9px 48px;
  border: 0;
  background: var(--sc-brown-dark);
  color: var(--sc-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.announcement-message a,
.announcement-message button,
.announcement-message__close-icon {
  color: var(--sc-white);
}

.sc-header-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--sc-line);
  background: rgba(251, 250, 247, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.sc-site-header {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(400px, 2fr) minmax(170px, 0.8fr);
  align-items: center;
  gap: 30px;
  width: min(100%, var(--sc-max));
  min-height: 82px;
  margin: 0 auto;
  padding: 12px var(--sc-side);
}

.sc-header-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--sc-ink);
  font-family: var(--sc-serif);
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1;
  text-decoration: none;
}

.sc-header-brand .store-logo {
  width: auto;
  max-width: min(240px, 20vw);
  max-height: 58px;
  object-fit: contain;
}

.sc-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 38px);
  min-width: 0;
}

.sc-desktop-nav a,
.sc-header-action,
.sc-mobile-nav-links a,
.sc-footer a {
  text-decoration: none;
}

.sc-desktop-nav a {
  position: relative;
  color: var(--sc-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.sc-desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.sc-desktop-nav a:hover::after,
.sc-desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.sc-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.sc-header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sc-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-header-action:hover,
.sc-header-action:focus-visible {
  background: transparent;
  color: var(--sc-brown);
}

.sc-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--sc-ink);
  color: var(--sc-white);
  font-size: 10px;
  letter-spacing: 0;
}

.sc-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sc-ink);
}

/* Mobile navigation */
#navigation-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: transparent;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

#navigation-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

#navigation-modal .overlay_background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#navigation-modal .overlay_content {
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform 240ms ease;
}

#navigation-modal[aria-hidden="false"] .overlay_content {
  transform: translateX(0);
}

.sc-mobile-nav .overlay_background {
  background: rgba(20, 16, 13, 0.58);
}

.sc-mobile-nav-panel {
  display: flex;
  flex-direction: column;
  width: min(92vw, 460px);
  height: 100%;
  margin-left: 0;
  padding: 0;
  background: var(--sc-paper);
  color: var(--sc-ink);
}

.sc-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--sc-line);
}

.sc-mobile-brand {
  color: var(--sc-ink);
  font-family: var(--sc-serif);
  font-size: 26px;
  text-decoration: none;
}

.sc-mobile-nav-header .close-mobile-navigation {
  color: var(--sc-ink);
}

.sc-mobile-nav-links {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  padding: 22px 24px 30px;
}

.sc-mobile-nav-links a {
  padding: 13px 0;
  border-bottom: 1px solid var(--sc-line);
  color: var(--sc-ink);
  font-family: var(--sc-serif);
  font-size: 28px;
  line-height: 1.15;
}

.sc-mobile-nav-links a.sc-mobile-nav-secondary {
  font-family: var(--sc-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 24px;
  border-top: 1px solid var(--sc-line);
}

.sc-mobile-socials a {
  color: var(--sc-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Home hero */
.sc-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(590px, 78vh, 880px);
  overflow: hidden;
  background: var(--sc-brown-dark);
  color: var(--sc-white);
}

.sc-hero-media,
.sc-hero-media .splide,
.sc-hero-media .splide__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sc-hero-media .splide__list,
.sc-hero-media .splide__slide {
  height: 100%;
}

.sc-hero-media .splide__slide {
  position: relative;
}

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

.sc-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 14, 10, 0.72) 0%, rgba(20, 14, 10, 0.36) 45%, rgba(20, 14, 10, 0.08) 75%), linear-gradient(0deg, rgba(20, 14, 10, 0.42) 0%, transparent 45%);
}

.sc-hero--no-image .sc-hero-media {
  background: radial-gradient(circle at 75% 25%, #7b5d42 0%, #4a3325 34%, #2c211a 76%);
}

.sc-hero-copy {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  padding: clamp(90px, 12vw, 170px) var(--sc-side) clamp(68px, 9vw, 125px);
}

.sc-eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sc-eyebrow--dark {
  color: rgba(32, 27, 23, 0.62);
}

.sc-hero-title,
.sc-hero-copy h1 {
  margin: 0;
  color: var(--sc-white);
  font-family: var(--sc-serif);
  font-size: clamp(54px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.sc-hero-title p,
.sc-hero-title h1,
.sc-hero-title h2 {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.sc-hero-description {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
}

.sc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}

.sc-button,
body .button,
body button.button,
body input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 25px;
  border: 1px solid var(--sc-ink);
  border-radius: 0;
  background: var(--sc-ink);
  color: var(--sc-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sc-button:hover,
.sc-button:focus-visible,
body .button:hover,
body .button:focus-visible {
  border-color: var(--sc-brown);
  background: var(--sc-brown);
  color: var(--sc-white);
  transform: translateY(-1px);
}

.sc-button--light {
  border-color: var(--sc-white);
  background: var(--sc-white);
  color: var(--sc-ink);
}

.sc-button--light:hover,
.sc-button--light:focus-visible {
  border-color: var(--sc-cream);
  background: var(--sc-cream);
  color: var(--sc-ink);
}

.sc-button--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--sc-white);
}

.sc-button--outline-light:hover,
.sc-button--outline-light:focus-visible {
  border-color: var(--sc-white);
  background: var(--sc-white);
  color: var(--sc-ink);
}

.sc-button--dark {
  border-color: var(--sc-ink);
  background: var(--sc-ink);
  color: var(--sc-white);
}

.sc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
  color: var(--sc-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.7;
  text-decoration: none;
  text-transform: uppercase;
}

.sc-text-link--light {
  color: var(--sc-white);
}

.sc-text-link span {
  transition: transform 180ms ease;
}

.sc-text-link:hover span,
.sc-text-link:focus-visible span {
  transform: translateX(4px);
}

/* Benefits */
.sc-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--sc-max));
  margin: 0 auto;
  border-right: 1px solid var(--sc-line);
  border-left: 1px solid var(--sc-line);
}

.sc-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  min-height: 145px;
  padding: 34px clamp(24px, 3.5vw, 52px);
  border-bottom: 1px solid var(--sc-line);
}

.sc-benefit + .sc-benefit {
  border-left: 1px solid var(--sc-line);
}

.sc-benefit-number {
  color: rgba(32, 27, 23, 0.42);
  font-family: var(--sc-serif);
  font-size: 16px;
}

.sc-benefit strong,
.sc-benefit span:not(.sc-benefit-number) {
  display: block;
}

.sc-benefit strong {
  margin-bottom: 5px;
  font-family: var(--sc-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.sc-benefit span:not(.sc-benefit-number) {
  color: rgba(32, 27, 23, 0.65);
  font-size: 13px;
  line-height: 1.5;
}

/* Shared home sections */
.sc-section {
  width: min(100%, var(--sc-max));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) var(--sc-side);
}

.sc-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.sc-section-heading--centered {
  justify-content: center;
  text-align: center;
}

.sc-section-heading h2,
.sc-story-copy h2,
.sc-community-card h2,
.sc-final-cta h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
}

/* Products */
.sc-products-section {
  background: var(--sc-paper);
}

.sc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 34px);
}

.sc-product-card {
  min-width: 0;
}

.sc-product-card-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sc-cream);
}

.sc-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sc-product-card:hover .sc-product-card-image img {
  transform: scale(1.035);
}

.sc-product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: var(--sc-white);
  color: var(--sc-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sc-product-card-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
}

.sc-product-card-info h3 {
  margin: 0;
  font-family: var(--sc-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.sc-product-card-info h3 a {
  color: var(--sc-ink);
  text-decoration: none;
}

.sc-product-price {
  flex: 0 0 auto;
  color: rgba(32, 27, 23, 0.68);
  font-size: 13px;
  line-height: 1.4;
}

.sc-empty-state {
  padding: 65px 30px;
  border: 1px solid var(--sc-line);
  text-align: center;
}

.sc-empty-state h3 {
  margin: 0 0 12px;
  font-size: 32px;
}

.sc-empty-state p {
  margin: 0;
  color: rgba(32, 27, 23, 0.65);
}

/* Categories */
.sc-categories-section {
  border-top: 1px solid var(--sc-line);
  background: var(--sc-cream);
}

.sc-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(32, 27, 23, 0.18);
  background: rgba(32, 27, 23, 0.18);
}

.sc-category-card {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(390px, 42vw, 620px);
  overflow: hidden;
  background: var(--sc-brown);
  color: var(--sc-white);
  text-decoration: none;
}

.sc-category-card-media,
.sc-category-card-media img,
.sc-category-placeholder,
.sc-category-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sc-category-card-media img {
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sc-category-placeholder {
  background: linear-gradient(145deg, #765a42, #2c211a);
}

.sc-category-shade {
  background: linear-gradient(0deg, rgba(22, 16, 12, 0.68) 0%, rgba(22, 16, 12, 0.05) 55%);
}

.sc-category-card:hover img {
  transform: scale(1.045);
}

.sc-category-name,
.sc-category-arrow {
  position: relative;
  z-index: 2;
}

.sc-category-name {
  padding: 28px;
  color: var(--sc-white);
  font-family: var(--sc-serif);
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1;
}

.sc-category-arrow {
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--sc-white);
  font-size: 17px;
}

/* Story */
.sc-story-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 760px;
  background: var(--sc-brown-dark);
  color: var(--sc-white);
}

.sc-story-media {
  min-height: 620px;
  overflow: hidden;
}

.sc-story-media img,
.sc-story-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.sc-story-placeholder {
  background: radial-gradient(circle at 25% 35%, #886b50, #3d2d22 50%, #211813);
}

.sc-story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 7vw, 115px);
}

.sc-story-copy h2,
.sc-story-copy p,
.sc-story-copy a {
  color: var(--sc-white);
}

.sc-story-copy h2 {
  font-size: clamp(42px, 4.4vw, 70px);
}

.sc-story-copy > p:not(.sc-eyebrow) {
  max-width: 570px;
  margin: 30px 0 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

/* Community cards */
.sc-community-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sc-community-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 520px;
  padding: clamp(44px, 5vw, 78px);
}

.sc-community-card h2 {
  max-width: 620px;
  font-size: clamp(42px, 4.5vw, 68px);
}

.sc-community-card > p:not(.sc-eyebrow) {
  max-width: 570px;
  margin: 26px 0 34px;
  font-size: 16px;
  line-height: 1.7;
}

.sc-community-card .sc-text-link,
.sc-community-card .sc-button {
  margin-top: auto;
}

.sc-community-card--visit {
  border: 1px solid var(--sc-line);
  background: var(--sc-paper);
  color: var(--sc-ink);
}

.sc-community-card--visit > p:not(.sc-eyebrow) {
  color: rgba(32, 27, 23, 0.68);
}

.sc-community-card--club {
  background: var(--sc-brown);
  color: var(--sc-white);
}

.sc-community-card--club h2,
.sc-community-card--club p {
  color: var(--sc-white);
}

.sc-community-card--club > p:not(.sc-eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.sc-final-cta {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px var(--sc-side);
  border-top: 1px solid var(--sc-line);
  background: var(--sc-cream);
  text-align: center;
}

.sc-final-cta h2 {
  margin-bottom: 36px;
}

/* Footer — all dark-background text stays light for readability */
.sc-footer {
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sc-brown-dark);
  color: var(--sc-white);
}

.sc-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(130px, 0.7fr));
  gap: clamp(40px, 6vw, 95px);
  width: min(100%, var(--sc-max));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 125px) var(--sc-side);
}

.sc-footer-brand,
.sc-footer-column h2,
.sc-footer p,
.sc-footer a,
.sc-footer span,
.sc-footer-custom-text,
.sc-footer .credit-container,
.sc-footer .credit-container a {
  color: var(--sc-white);
}

.sc-footer-brand {
  display: inline-block;
  margin-bottom: 24px;
  font-family: var(--sc-serif);
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1;
}

.sc-footer-brand-column p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.75;
}

.sc-footer-custom-text {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.sc-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.sc-footer-column h2 {
  margin: 0 0 10px;
  font-family: var(--sc-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sc-footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.sc-footer-column a:hover,
.sc-footer-column a:focus-visible {
  color: var(--sc-white);
}

.sc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, var(--sc-max));
  margin: 0 auto;
  padding: 25px var(--sc-side) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.sc-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
}

.sc-footer-legal span,
.sc-footer-legal a,
.sc-footer .credit-container {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sc-footer .credit-container svg {
  max-width: 90px;
  color: var(--sc-white);
  fill: currentColor;
}

/* Search modal and form readability */
#search-modal .modal-content,
#search-modal .modal-content--inner {
  background: var(--sc-brown-dark);
  color: var(--sc-white);
}

#search-modal label,
#search-modal .close-modal,
#search-modal svg {
  color: var(--sc-white);
  fill: currentColor;
}

#search-modal .search-input {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--sc-white);
  -webkit-text-fill-color: var(--sc-white);
}

#search-modal .search-input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

#search-modal .search-input:-webkit-autofill,
#search-modal .search-input:-webkit-autofill:hover,
#search-modal .search-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--sc-brown-dark) inset;
  -webkit-text-fill-color: var(--sc-white);
}

/* Product, collection, cart and custom pages */
.content-wrapper:not(.content-wrapper--home) {
  width: min(100%, var(--sc-max));
  margin: 0 auto;
  padding-top: clamp(55px, 8vw, 110px);
  padding-bottom: clamp(75px, 10vw, 150px);
}

.page-title {
  margin-bottom: clamp(35px, 5vw, 70px);
  font-size: clamp(45px, 6vw, 82px);
}

.product-list:not(.sc-product-grid) {
  gap: clamp(22px, 3vw, 40px);
}

.product-list-thumb-name,
.product-list-thumb-price,
.product-detail-name,
.product-detail-price {
  color: var(--sc-ink);
}

.product-list-thumb-name,
.product-detail-name {
  font-family: var(--sc-serif);
  font-weight: 400;
}

.product-list-image-container {
  background: var(--sc-cream);
}

input,
textarea,
select {
  border: 1px solid rgba(32, 27, 23, 0.35);
  border-radius: 0;
  background: var(--sc-white);
  color: var(--sc-ink);
}

input::placeholder,
textarea::placeholder {
  color: rgba(32, 27, 23, 0.55);
}

/* Responsive */
@media screen and (max-width: 1100px) {
  .sc-site-header {
    grid-template-columns: minmax(150px, 0.8fr) minmax(340px, 1.6fr) minmax(140px, 0.7fr);
    gap: 18px;
  }

  .sc-desktop-nav {
    gap: 18px;
  }

  .sc-desktop-nav a {
    font-size: 10px;
  }

  .sc-action-label {
    display: none;
  }

  .sc-product-grid,
  .sc-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-story-section {
    grid-template-columns: 1fr 1fr;
  }

  .sc-footer-main {
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    gap: 38px;
  }
}

@media screen and (max-width: 820px) {
  .announcement-message {
    padding-right: 42px;
    padding-left: 20px;
    font-size: 9px;
  }

  .sc-site-header {
    grid-template-columns: 44px 1fr auto;
    min-height: 70px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .sc-menu-button {
    display: inline-flex;
    justify-self: start;
  }

  .sc-header-brand {
    justify-self: center;
    text-align: center;
  }

  .sc-header-brand .store-logo {
    max-width: 180px;
    max-height: 48px;
  }

  .sc-desktop-nav {
    display: none;
  }

  .sc-header-actions {
    gap: 13px;
  }

  .sc-header-actions .open-search {
    display: none;
  }

  .sc-cart-link {
    min-width: 44px;
    justify-content: flex-end;
  }

  .sc-hero {
    min-height: min(760px, calc(100svh - 70px));
  }

  .sc-hero-shade {
    background: linear-gradient(0deg, rgba(20, 14, 10, 0.76) 0%, rgba(20, 14, 10, 0.28) 70%, rgba(20, 14, 10, 0.08) 100%);
  }

  .sc-hero-copy {
    width: 100%;
    padding-top: 150px;
  }

  .sc-benefits {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .sc-benefit {
    min-height: 0;
  }

  .sc-benefit + .sc-benefit {
    border-left: 0;
  }

  .sc-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sc-section-heading--centered {
    align-items: center;
  }

  .sc-story-section {
    grid-template-columns: 1fr;
  }

  .sc-story-media {
    min-height: 520px;
  }

  .sc-story-copy {
    min-height: 590px;
  }

  .sc-community-section {
    grid-template-columns: 1fr;
  }

  .sc-community-card {
    min-height: 480px;
  }

  .sc-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-footer-brand-column {
    grid-column: 1 / -1;
  }

  .sc-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 560px) {
  :root {
    --sc-side: 20px;
  }

  .sc-header-brand {
    font-size: 22px;
  }

  .sc-header-brand .store-logo {
    max-width: 145px;
    max-height: 43px;
  }

  .sc-hero {
    min-height: 690px;
  }

  .sc-hero-copy {
    padding-bottom: 52px;
  }

  .sc-hero-title,
  .sc-hero-copy h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .sc-hero-description {
    font-size: 16px;
  }

  .sc-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .sc-product-grid,
  .sc-category-grid {
    grid-template-columns: 1fr;
  }

  .sc-category-card {
    min-height: 470px;
  }

  .sc-product-card-info {
    padding-bottom: 10px;
  }

  .sc-story-media {
    min-height: 420px;
  }

  .sc-story-copy {
    min-height: 0;
    padding: 65px 24px 75px;
  }

  .sc-community-section {
    padding-right: 0;
    padding-left: 0;
    gap: 0;
  }

  .sc-community-card {
    min-height: 500px;
    border-right: 0;
    border-left: 0;
  }

  .sc-final-cta {
    min-height: 390px;
  }

  .sc-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 45px 28px;
  }

  .sc-footer-brand-column {
    grid-column: 1 / -1;
  }
}




/* =========================================================
   STEVE'S COFFEE — ALFRED-INSPIRED PRODUCT PAGE
   Paste this at the very bottom of the existing CSS file.
   ========================================================= */

#product {
  background: var(--sc-paper, #f7f3ec);
}

#product .content-wrapper,
#product .content-wrapper:not(.content-wrapper--home) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sc-product-page {
  --sc-product-line: rgba(32, 27, 23, 0.18);
  --sc-product-soft-line: rgba(32, 27, 23, 0.11);
  width: 100%;
  color: var(--sc-ink, #201b17);
  background: var(--sc-paper, #f7f3ec);
}

.sc-product-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  min-height: 58px;
  padding: 13px var(--sc-side, 38px);
  border-bottom: 1px solid var(--sc-product-line);
  background: var(--sc-paper, #f7f3ec);
}

.sc-product-breadcrumb,
.sc-product-back-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(32, 27, 23, 0.62);
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sc-product-breadcrumb {
  min-width: 0;
}

.sc-product-breadcrumb > span:last-child {
  overflow: hidden;
  color: var(--sc-ink, #201b17);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-product-breadcrumb a,
.sc-product-back-link {
  color: rgba(32, 27, 23, 0.62);
  text-decoration: none;
}

.sc-product-breadcrumb a:hover,
.sc-product-breadcrumb a:focus-visible,
.sc-product-back-link:hover,
.sc-product-back-link:focus-visible {
  color: var(--sc-ink, #201b17);
}

.sc-product-container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.sc-product-gallery {
  min-width: 0;
  padding: clamp(24px, 4vw, 64px);
  border-right: 1px solid var(--sc-product-line);
  background: var(--sc-cream, #eee5d8);
}

.sc-product-carousel,
.sc-product-image-frame {
  width: 100%;
}

.sc-product-image-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 62vw, 930px);
  overflow: hidden;
  background: #f2ede5;
}

.sc-product-image-frame--single {
  min-height: clamp(620px, 72vw, 1040px);
}

.sc-product-image-frame .product-image,
.sc-product-gallery .product-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.sc-product-slide {
  background: transparent;
}

.sc-overlay-image-counter {
  right: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(32, 27, 23, 0.18);
  background: rgba(247, 243, 236, 0.9);
  color: var(--sc-ink, #201b17);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.sc-product-thumbnails-wrap {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.sc-product-thumbnails-wrap .product-thumbnails--list {
  display: flex;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.sc-product-thumbnails-wrap .product-thumbnails--item {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  margin: 0;
}

.sc-product-thumbnails-wrap .product-thumbnails--change-slide {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  background: #f2ede5;
}

.sc-product-thumbnails-wrap .product-thumbnails--change-slide:hover,
.sc-product-thumbnails-wrap .product-thumbnails--change-slide:focus-visible,
.sc-product-thumbnails-wrap .product-thumbnails--change-slide.is-active {
  border-color: var(--sc-ink, #201b17);
}

.sc-product-thumbnails-wrap .product-thumbnails--change-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-product-thumbnails-wrap .thumb-scroller {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--sc-product-line);
  border-radius: 50%;
  background: transparent;
  color: var(--sc-ink, #201b17);
}

.sc-product-thumbnails-wrap .thumb-scroller svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.sc-product-thumbnails-wrap .thumb-scroller--left svg {
  transform: rotate(90deg);
}

.sc-product-thumbnails-wrap .thumb-scroller--right svg {
  transform: rotate(-90deg);
}

.sc-product-thumbnails-wrap .thumb-scroller:disabled {
  opacity: 0.28;
}

.sc-mobile-image-controls {
  color: var(--sc-ink, #201b17);
}

.sc-product-detail {
  min-width: 0;
  padding: 0;
  background: var(--sc-paper, #f7f3ec);
}

.sc-product-detail-inner {
  position: sticky;
  top: 95px;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(54px, 6vw, 96px) clamp(34px, 5vw, 82px) clamp(64px, 8vw, 120px);
}

.sc-product-detail-header {
  margin: 0;
  padding: 0 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--sc-product-line);
}

.sc-product-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.sc-product-kicker,
.sc-product-kicker a {
  color: rgba(32, 27, 23, 0.62);
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.sc-product-kicker a:hover,
.sc-product-kicker a:focus-visible {
  color: var(--sc-ink, #201b17);
}

.sc-product-status {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--sc-product-line);
  border-radius: 999px;
  background: transparent;
  color: var(--sc-ink, #201b17);
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sc-product-title,
#product .sc-product-title.page-title {
  max-width: 760px;
  margin: 0;
  color: var(--sc-ink, #201b17);
  font-family: var(--sc-serif, Georgia, serif);
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: none;
}

.sc-product-price {
  margin-top: 25px;
  color: var(--sc-ink, #201b17);
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.sc-product-price .price-suffix {
  color: rgba(32, 27, 23, 0.58);
  font-size: 12px;
  font-weight: 400;
}

.sc-product-payment-message {
  margin-top: 15px;
}

.sc-product-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--sc-product-line);
}

.sc-product-selects,
.sc-product-select,
.sc-product-select select {
  width: 100%;
}

.sc-product-select {
  position: relative;
  margin: 0 0 10px;
}

.sc-product-select select {
  min-height: 56px;
  padding: 0 50px 0 18px;
  border: 1px solid var(--sc-product-line);
  border-radius: 0;
  background: transparent;
  color: var(--sc-ink, #201b17);
  -webkit-text-fill-color: var(--sc-ink, #201b17);
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-product-select select:focus {
  border-color: var(--sc-ink, #201b17);
  outline: 1px solid var(--sc-ink, #201b17);
  outline-offset: -1px;
}

.sc-product-select svg {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 14px;
  height: 9px;
  transform: translateY(-50%);
  color: var(--sc-ink, #201b17);
  pointer-events: none;
}

.sc-add-to-cart-button,
#product .add-to-cart-button {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 16px 24px;
  border: 1px solid var(--sc-brown-dark, #211813);
  border-radius: 0;
  background: var(--sc-brown-dark, #211813);
  color: #ffffff;
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sc-add-to-cart-button:hover,
.sc-add-to-cart-button:focus-visible,
#product .add-to-cart-button:hover,
#product .add-to-cart-button:focus-visible {
  border-color: var(--sc-brown, #4a382b);
  background: var(--sc-brown, #4a382b);
  color: #ffffff;
}

.sc-add-to-cart-button:disabled,
#product .add-to-cart-button:disabled {
  border-color: rgba(32, 27, 23, 0.28);
  background: rgba(32, 27, 23, 0.18);
  color: rgba(32, 27, 23, 0.55);
}

.sc-instant-checkout {
  width: 100%;
}

.sc-instant-checkout > *,
.sc-instant-checkout iframe,
.sc-instant-checkout button {
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
}

.sc-inventory-status {
  margin: 0;
  color: rgba(32, 27, 23, 0.65);
  font-size: 12px;
  line-height: 1.5;
}

.sc-reset-selection {
  margin: 2px 0 0;
  text-align: left;
}

.sc-reset-selection .reset-selection-button {
  min-height: auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: rgba(32, 27, 23, 0.62);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.sc-product-accordions {
  border-bottom: 1px solid var(--sc-product-line);
}

.sc-product-accordion {
  border-top: 1px solid var(--sc-product-line);
}

.sc-product-accordion:first-child {
  border-top: 0;
}

.sc-product-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 0;
  color: var(--sc-ink, #201b17);
  cursor: pointer;
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.13em;
  list-style: none;
  text-transform: uppercase;
}

.sc-product-accordion summary::-webkit-details-marker {
  display: none;
}

.sc-accordion-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.sc-accordion-icon::before,
.sc-accordion-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.sc-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.sc-product-accordion[open] .sc-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.sc-product-description,
.sc-product-accordion-copy {
  padding: 0 0 30px;
  color: rgba(32, 27, 23, 0.72);
  font-family: var(--sc-sans, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.75;
}

.sc-product-description p,
.sc-product-accordion-copy p {
  margin: 0 0 16px;
  color: inherit;
}

.sc-product-description p:last-child,
.sc-product-accordion-copy p:last-child {
  margin-bottom: 0;
}

.sc-product-description a,
.sc-product-accordion-copy a {
  color: var(--sc-ink, #201b17);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-product-assurances {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 24px;
}

.sc-product-assurance {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  color: rgba(32, 27, 23, 0.67);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.sc-assurance-number {
  color: var(--sc-ink, #201b17);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sc-related-products {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 9vw, 125px) var(--sc-side, 38px) clamp(90px, 11vw, 155px);
  border-top: 1px solid var(--sc-product-line);
  background: var(--sc-paper, #f7f3ec);
}

.sc-related-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, var(--sc-max, 1600px));
  margin: 0 auto clamp(36px, 5vw, 68px);
}

.sc-related-products-header .related-products-title {
  margin: 10px 0 0;
  color: var(--sc-ink, #201b17);
  font-family: var(--sc-serif, Georgia, serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.sc-related-products .product-list-container {
  width: min(100%, var(--sc-max, 1600px));
  max-width: none;
  margin: 0 auto;
}

.sc-related-product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 38px);
}

.sc-related-product-list .product-list-thumb {
  width: auto;
  max-width: none;
  margin: 0;
}

.sc-related-product-list .product-list-link {
  display: block;
}

.sc-related-product-list .product-list-image-container {
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  background: var(--sc-cream, #eee5d8);
}

.sc-related-product-list .product-list-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.sc-related-product-list .product-list-link:hover .product-list-image {
  transform: scale(1.025);
}

.sc-related-product-list .product-list-thumb-info {
  padding-top: 15px;
  text-align: left;
}

.sc-related-product-list .product-list-thumb-name {
  font-family: var(--sc-serif, Georgia, serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.1;
}

.sc-related-product-list .product-list-thumb-price {
  margin-top: 8px;
  color: rgba(32, 27, 23, 0.68);
  font-size: 12px;
}

@media screen and (max-width: 1100px) {
  .sc-product-container {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }

  .sc-product-gallery {
    padding: 30px;
  }

  .sc-product-detail-inner {
    padding-right: 42px;
    padding-left: 42px;
  }

  .sc-product-image-frame,
  .sc-product-image-frame--single {
    min-height: 640px;
  }

  .sc-related-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 820px) {
  .sc-product-topbar {
    min-height: 52px;
  }

  .sc-product-breadcrumb {
    display: none;
  }

  .sc-product-back-link {
    margin-left: auto;
  }

  .sc-product-container {
    display: block;
  }

  .sc-product-gallery {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--sc-product-line);
  }

  .sc-product-image-frame,
  .sc-product-image-frame--single {
    min-height: min(720px, 112vw);
  }

  .sc-product-thumbnails-wrap {
    display: none;
  }

  .sc-mobile-image-controls {
    display: flex;
    margin-top: 14px;
  }

  .sc-product-detail-inner {
    position: static;
    max-width: none;
    padding: 52px var(--sc-side, 24px) 78px;
  }

  .sc-related-products-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 560px) {
  .sc-product-topbar {
    padding-right: 20px;
    padding-left: 20px;
  }

  .sc-product-gallery {
    padding: 0;
  }

  .sc-product-image-frame,
  .sc-product-image-frame--single {
    min-height: 120vw;
  }

  .sc-mobile-image-controls {
    padding: 0 20px 14px;
  }

  .sc-product-detail-inner {
    padding: 46px 20px 68px;
  }

  .sc-product-kicker-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .sc-product-title,
  #product .sc-product-title.page-title {
    font-size: clamp(44px, 13vw, 62px);
  }

  .sc-product-form {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .sc-related-products {
    padding-right: 20px;
    padding-left: 20px;
  }

  .sc-related-product-list {
    grid-template-columns: 1fr;
  }
}


/* Summer launch story section */
.sc-story-section--summer {
  grid-template-columns: 1.25fr 0.75fr;
}

.sc-story-section--summer .sc-story-copy {
  background: linear-gradient(180deg, #3a261b 0%, #2c1d15 100%);
}

.sc-story-intro {
  max-width: 560px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.sc-summer-menu {
  width: 100%;
  display: grid;
  gap: 16px;
  margin: 0 0 34px;
}

.sc-summer-item {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sc-summer-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sc-summer-item h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
}

.sc-summer-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.65;
}

@media screen and (max-width: 820px) {
  .sc-story-section--summer {
    grid-template-columns: 1fr;
  }

  .sc-story-section--summer .sc-story-copy {
    min-height: 0;
  }
}

@media screen and (max-width: 640px) {
  .sc-summer-item h3 {
    font-size: 18px;
  }

  .sc-summer-item p,
  .sc-story-intro {
    font-size: 14px;
  }
}


/* Steve's Coffee Products page */
.sc-shop-page {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 128px) clamp(20px, 4vw, 64px) clamp(90px, 10vw, 150px);
  background: var(--sc-paper);
}

.sc-shop-header {
  display: block;
  max-width: 880px;
  margin: 0 0 clamp(42px, 6vw, 78px);
  padding: 0;
  text-align: left;
}

.sc-shop-header h1 {
  margin: 8px 0 20px;
  color: var(--sc-ink);
  font-size: clamp(54px, 7vw, 108px);
  line-height: 0.95;
}

.sc-shop-header > p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(32, 27, 23, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.sc-shop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 62px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--sc-line);
}

.sc-shop-category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  color: var(--sc-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.sc-shop-category-nav a:hover,
.sc-shop-category-nav a:focus,
.sc-shop-category-nav a.selected {
  border-color: var(--sc-brown-dark);
  background: var(--sc-brown-dark);
  color: #ffffff;
  text-decoration: none;
}

.sc-shop-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sc-shop-product-card .sc-product-card-image {
  aspect-ratio: 1 / 1.16;
}

.sc-shop-product-card .sc-product-card-info {
  align-items: flex-start;
}

.sc-product-card-copy {
  min-width: 0;
}

.sc-product-card-copy h2 {
  margin: 0;
  font-family: var(--sc-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.sc-product-card-copy h2 a {
  color: var(--sc-ink);
  text-decoration: none;
}

.sc-product-card-copy h2 a:hover,
.sc-product-card-copy h2 a:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sc-product-release-note {
  display: block;
  margin-top: 7px;
  color: rgba(32, 27, 23, 0.58);
  font-size: 11px;
  line-height: 1.45;
}

.sc-product-badge--coming-soon {
  background: var(--sc-brown-dark);
  color: #ffffff;
}

.sc-shop-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: clamp(58px, 7vw, 96px);
  padding-top: 26px;
  border-top: 1px solid var(--sc-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sc-shop-pagination > a:last-child,
.sc-shop-pagination > span:last-child {
  justify-self: end;
}

.sc-shop-pagination a {
  color: var(--sc-ink);
}

.sc-shop-pagination .disabled {
  color: rgba(32, 27, 23, 0.34);
}

.sc-shop-page-numbers .page-numbers {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc-shop-empty-state {
  background: var(--sc-cream);
}

@media screen and (max-width: 980px) {
  .sc-shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .sc-shop-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sc-shop-header h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .sc-shop-header > p:last-child {
    font-size: 15px;
  }

  .sc-shop-category-nav {
    flex-wrap: nowrap;
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sc-shop-category-nav::-webkit-scrollbar {
    display: none;
  }

  .sc-shop-category-nav a {
    flex: 0 0 auto;
  }

  .sc-shop-product-grid {
    grid-template-columns: 1fr;
  }

  .sc-shop-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .sc-shop-page-numbers {
    display: none;
  }
}


/* ================================================================
   STEVE'S COFFEE — CONTACT + LOCATION PAGE
   ================================================================ */

.content-wrapper--contact {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.sc-contact-page {
  width: 100%;
  background: var(--sc-cream);
  color: var(--sc-ink);
}

.sc-contact-intro {
  display: block;
  width: min(100%, 1260px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 135px) clamp(24px, 5vw, 72px) clamp(55px, 7vw, 95px);
  text-align: center;
}

.sc-contact-intro h1 {
  max-width: 900px;
  margin: 10px auto 24px;
  color: var(--sc-ink);
  font-family: var(--sc-serif);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.sc-contact-intro > p:last-child {
  max-width: 670px;
  margin: 0 auto;
  color: rgba(32, 27, 23, 0.7);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
}

.sc-contact-location {
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(0, 1.22fr);
  min-height: 650px;
  background: var(--sc-brown-dark);
}

.sc-location-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(58px, 7vw, 110px);
  background: linear-gradient(180deg, #3a281e 0%, #291b14 100%);
  color: var(--sc-white);
}

.sc-location-card h2 {
  max-width: 540px;
  margin: 14px 0 34px;
  color: var(--sc-white);
  font-family: var(--sc-serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.sc-location-address {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 22px;
  color: var(--sc-white);
  font-family: var(--sc-serif);
  font-size: clamp(24px, 2.2vw, 34px);
  font-style: normal;
  line-height: 1.25;
}

.sc-location-note {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.65;
}

.sc-location-map {
  min-height: 650px;
  background: #ddd4c8;
  overflow: hidden;
}

.sc-location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  border: 0;
}

.sc-contact-form-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(55px, 8vw, 130px);
  width: min(100%, 1260px);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) clamp(24px, 5vw, 72px);
}

.sc-contact-form-copy {
  align-self: start;
  position: sticky;
  top: 140px;
}

.sc-contact-form-copy h2 {
  margin: 12px 0 25px;
  color: var(--sc-ink);
  font-family: var(--sc-serif);
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.sc-contact-form-copy > p:not(.sc-eyebrow),
.sc-contact-theme-message {
  max-width: 480px;
  color: rgba(32, 27, 23, 0.7);
  font-size: 16px;
  line-height: 1.75;
}

.sc-contact-theme-message {
  margin-top: 24px;
}

.sc-contact-theme-message a {
  color: var(--sc-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-contact-form-panel {
  width: 100%;
  padding: clamp(32px, 4.5vw, 64px);
  border: 1px solid rgba(32, 27, 23, 0.16);
  background: var(--sc-white);
}

.sc-contact-form {
  gap: 25px;
}

.sc-contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sc-contact-form .contact-form-block {
  gap: 9px;
}

.sc-contact-form .contact-label {
  color: var(--sc-ink);
  font-family: var(--sc-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sc-contact-form input,
.sc-contact-form textarea,
.sc-contact-form select {
  width: 100%;
  border: 1px solid rgba(32, 27, 23, 0.32);
  border-radius: 0;
  outline: 0;
  background: #ffffff;
  color: var(--sc-ink);
  font-family: var(--sc-sans);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-contact-form input {
  min-height: 56px;
  padding: 14px 16px;
}

.sc-contact-form textarea {
  min-height: 190px;
  padding: 16px;
  resize: vertical;
}

.sc-contact-form input:focus,
.sc-contact-form textarea:focus,
.sc-contact-form select:focus {
  border-color: var(--sc-brown-dark);
  box-shadow: 0 0 0 1px var(--sc-brown-dark);
}

.sc-contact-form input::placeholder,
.sc-contact-form textarea::placeholder {
  color: rgba(32, 27, 23, 0.48);
  opacity: 1;
}

.sc-contact-submit {
  width: 100%;
  max-width: none;
  min-height: 58px;
  margin-top: 3px;
}

.sc-contact-form .recaptcha-note {
  color: rgba(32, 27, 23, 0.58);
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

.sc-contact-form .recaptcha-note p {
  margin: 0;
}

.sc-contact-form .recaptcha-note a {
  color: var(--sc-ink);
}

.sc-contact-success {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.sc-contact-success h3 {
  margin: 10px 0 18px;
  color: var(--sc-ink);
  font-family: var(--sc-serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
}

.sc-contact-success > p:not(.sc-eyebrow) {
  margin: 0 0 28px;
  color: rgba(32, 27, 23, 0.7);
}

.sc-contact-page .message-banner--errors {
  margin: 0 0 26px;
}

@media screen and (max-width: 900px) {
  .sc-contact-location {
    grid-template-columns: 1fr;
  }

  .sc-location-card {
    min-height: 530px;
  }

  .sc-location-map,
  .sc-location-map iframe {
    min-height: 500px;
  }

  .sc-contact-form-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sc-contact-form-copy {
    position: static;
  }
}

@media screen and (max-width: 640px) {
  .sc-contact-intro {
    padding-top: 70px;
    padding-bottom: 55px;
  }

  .sc-contact-intro h1 {
    font-size: clamp(50px, 17vw, 76px);
  }

  .sc-location-card {
    min-height: 500px;
    padding: 60px 24px;
  }

  .sc-location-map,
  .sc-location-map iframe {
    min-height: 400px;
  }

  .sc-contact-form-section {
    padding-top: 75px;
    padding-bottom: 85px;
  }

  .sc-contact-form-panel {
    padding: 30px 20px;
  }

  .sc-contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CLEAN EVENTS PAGE
   ========================================================= */
.sc-events-page {
  background: #f6f1e8;
  color: #2f241d;
}

.sc-events-hero {
  padding: clamp(76px, 9vw, 128px) 24px clamp(54px, 6vw, 86px);
}

.sc-events-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.sc-events-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #2f241d;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.sc-events-description {
  max-width: 760px;
  margin: 28px auto 0;
}

.sc-events-description p {
  margin: 0;
  color: #65574d;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
}

.sc-events-gallery-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px clamp(88px, 10vw, 140px);
}

.sc-events-gallery-heading {
  margin: 0 0 38px;
  text-align: left;
}

.sc-events-gallery-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #2f241d;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.sc-events-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sc-events-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 36, 29, 0.1);
  background: #e9e0d4;
}

.sc-events-gallery-item:first-child:last-child {
  grid-column: 1 / -1;
  width: min(100%, 720px);
  justify-self: center;
}

.sc-events-gallery-item img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.sc-events-gallery-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 34px;
  border: 1px solid rgba(47, 36, 29, 0.16);
  background: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.sc-events-gallery-empty p {
  max-width: 500px;
  margin: 0;
  color: #65574d;
  line-height: 1.7;
}

.sc-events-inquiry {
  padding: 0 28px clamp(88px, 10vw, 140px);
}

.sc-events-inquiry-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
  max-width: 1264px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 82px);
  background: #302117;
  color: #ffffff;
}

.sc-events-inquiry-copy h2,
.sc-events-inquiry-copy p,
.sc-events-inquiry-action p {
  color: #ffffff;
}

.sc-events-inquiry-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.sc-events-inquiry-copy > p:not(.sc-eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.75;
}

.sc-events-inquiry-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.sc-events-inquiry-action .sc-button {
  width: 100%;
  text-align: center;
}

.sc-events-inquiry-action p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.5;
}

@media screen and (max-width: 920px) {
  .sc-events-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-events-inquiry-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sc-events-inquiry-action {
    width: min(100%, 380px);
  }
}

@media screen and (max-width: 640px) {
  .sc-events-hero {
    padding: 66px 20px 52px;
  }

  .sc-events-gallery-section,
  .sc-events-inquiry {
    padding-right: 16px;
    padding-left: 16px;
  }

  .sc-events-gallery-heading {
    margin-bottom: 28px;
  }

  .sc-events-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sc-events-gallery-item:first-child:last-child {
    grid-column: auto;
    width: 100%;
  }

  .sc-events-inquiry-inner {
    padding: 42px 24px;
  }
}

/* Contact event-inquiry route header compatibility */
#sc-contact-form-section {
  scroll-margin-top: 110px;
}

/* Prevent legacy event inquiry mode from hiding the global site chrome. */
body.sc-event-contact-embed-mode {
  display: flex;
  min-height: 100%;
  background: var(--sc-cream);
}

body.sc-event-contact-embed-mode .sc-header-shell,
body.sc-event-contact-embed-mode .sc-footer {
  display: block !important;
}
