:root {
  --cream: #fffcf9;
  --white: #ffffff;
  --soft-pink: #ffd1dc;
  --pink-grid: #f7dfe5;
  --peach: #ffd6ad;
  --lavender: #e5e5fa;
  --dark-lavender: #c3b1e1;
  --orange-pop: #ff9e78;
  --plum: #4b3c52;
  --text-main: #4a4a4a;
  --text-light: #707070;
  --shadow-soft: 0 10px 28px rgba(76, 51, 62, 0.08);
  --shadow-lift: 0 14px 32px rgba(76, 51, 62, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--cream); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, .brand, .btn, summary { font-family: 'Quicksand', sans-serif; }
h1, h2, h3 { line-height: 1.2; color: var(--text-main); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1120px, 90%); margin: 0 auto; }
.section { padding: 68px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 18px; z-index: 1000; padding: 10px 14px; border-radius: 8px; color: var(--plum); background: var(--white); box-shadow: var(--shadow-soft); }
.skip-link:focus { top: 16px; }

.announcement { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 35px; padding: 7px 16px; color: var(--white); background: var(--dark-lavender); font-size: .9rem; font-weight: 800; text-align: center; }
.announcement-dot { opacity: .65; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 249, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 180, 193, .30); }
.nav-wrap { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.brand { justify-self: start; display: flex; align-items: center; gap: 8px; color: var(--orange-pop); font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -.03em; }
.brand strong { font-weight: 800; }
.brand em { font-weight: 500; }
.brand-mark { font-size: .85em; color: var(--plum); }
.nav-links { display: flex; gap: 28px; font-weight: 800; }
.nav-links a { padding: 8px 2px; }
.nav-links a:hover, .text-link:hover { color: var(--orange-pop); }
.cart-button { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: transparent; color: var(--text-main); font-weight: 800; }
.snipcart-items-count { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--peach); color: var(--plum); font-size: .82rem; }

.hero { padding-top: 72px; padding-bottom: 42px; text-align: center; }
.hero-copy { max-width: 810px; }
.eyebrow { margin-bottom: 10px; color: var(--orange-pop); font-size: .76rem; font-weight: 900; letter-spacing: .13em; }
.hero h1 { max-width: 760px; margin: 0 auto 16px; font-size: clamp(2.45rem, 6vw, 4.1rem); letter-spacing: -.05em; }
.hero-text { max-width: 630px; margin: 0 auto; color: var(--text-light); font-size: clamp(1rem, 2vw, 1.12rem); }
.hero-actions { margin-top: 24px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; color: var(--text-light); font-size: .92rem; font-weight: 800; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 47px; padding: 11px 22px; border: 0; border-radius: 999px; background: var(--peach); color: var(--text-main); font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--orange-pop); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-inline { width: auto; }
.btn-white { background: var(--white); }

.shop-section { background-image: linear-gradient(to right, rgba(247, 202, 212, .48) 1px, transparent 1px), linear-gradient(to bottom, rgba(247, 202, 212, .48) 1px, transparent 1px); background-size: 28px 28px; }
.section-heading { display: inline-flex; margin-bottom: 34px; padding: 10px 27px; background: var(--white); border: 1px solid rgba(255, 189, 202, .55); border-radius: 999px; box-shadow: 0 5px 16px rgba(76, 51, 62, .04); }
.section-heading h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.centered { margin-left: auto; margin-right: auto; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.card { display: flex; flex-direction: column; overflow: hidden; padding: 20px; border: 1px solid rgba(255, 199, 210, .38); border-radius: 17px; background: var(--white); box-shadow: var(--shadow-soft); text-align: center; transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.product-image-link { display: block; }
.card-img { display: block; width: 100%; height: 250px; object-fit: cover; border: 1px solid rgba(255, 199, 210, .48); border-radius: 12px; background: var(--cream); }
.product-info { display: flex; flex: 1; flex-direction: column; align-items: center; padding-top: 15px; }
.tag { display: inline-flex; align-items: center; justify-content: center; width: fit-content; margin-bottom: 10px; padding: 5px 12px; border: 1px solid rgba(255, 180, 193, .65); border-radius: 999px; background: var(--cream); color: var(--text-light); font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
.product-info h3 { font-size: 1.16rem; }
.product-price { margin: 8px 0 9px; color: var(--plum); font-weight: 900; }
.product-specs { min-height: 49px; color: var(--text-light); font-size: .87rem; line-height: 1.5; }
.text-link { display: inline-flex; margin: 13px 0 2px; color: var(--plum); font-size: .9rem; font-weight: 900; }
.product-info .btn { margin-top: 16px; }

.coffee-run-art { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 250px; overflow: hidden; padding: 24px 18px; border: 1px solid rgba(255, 199, 210, .48); border-radius: 12px; background: linear-gradient(135deg, #fff7f9, #f9d8e6); color: var(--plum); isolation: isolate; }
.coffee-run-art::before { content: ''; position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(to right, rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.8) 1px, transparent 1px); background-size: 24px 24px; z-index: -1; }
.coffee-cup { margin-bottom: 8px; font-size: 4rem; filter: drop-shadow(0 7px 3px rgba(89, 48, 67, .1)); }
.coffee-title { color: #d96b99; font-family: 'Quicksand', sans-serif; font-size: 1.4rem; font-weight: 600; line-height: 1.1; text-align: center; }
.coffee-title b { color: var(--plum); }
.coffee-subtitle { margin-top: 9px; color: var(--plum); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.coffee-sparkle { position: absolute; color: #b88ae0; font-size: 1.45rem; }
.coffee-sparkle.one { top: 19%; left: 17%; }
.coffee-sparkle.two { right: 15%; bottom: 20%; color: var(--orange-pop); }
.coffee-run-card .product-specs { min-height: auto; }

.newsletter-card { justify-content: center; background: linear-gradient(145deg, #ffdce6, #f7d3ef); border: 0; }
.newsletter-icon { margin-bottom: 7px; font-size: 2.5rem; }
.newsletter-card h3 { margin-bottom: 9px; font-size: 1.35rem; }
.newsletter-card > p:not(.tag) { margin-bottom: 18px; color: var(--plum); }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-form input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.9); border-radius: 9px; outline: none; background: rgba(255,255,255,.88); color: var(--plum); }
.newsletter-form input:focus { border-color: var(--dark-lavender); box-shadow: 0 0 0 3px rgba(195,177,225,.28); }
.newsletter-note { min-height: 19px; color: var(--plum); font-size: .76rem; }

.about-section { padding: 76px 0; background: var(--white); }
.about-wrap { display: grid; grid-template-columns: 86px minmax(0, 650px); gap: 28px; justify-content: center; align-items: center; text-align: left; }
.about-star { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--lavender); color: var(--plum); font-size: 2.2rem; transform: rotate(8deg); }
.about-wrap h2 { margin-bottom: 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about-wrap p:last-child { max-width: 680px; color: var(--text-light); }

.faq-section { padding-top: 72px; padding-bottom: 76px; }
.faq-shell { max-width: 800px; }
.faq-shell h2 { margin-bottom: 30px; text-align: center; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.faq-list { display: grid; gap: 14px; }
details { padding: 17px 20px; border: 1px solid rgba(255, 199, 210, .38); border-radius: 13px; background: var(--white); box-shadow: var(--shadow-soft); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--text-main); font-size: 1.04rem; font-weight: 800; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--orange-pop); font-size: 1.4rem; }
details[open] summary::after { content: '−'; }
details p { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--soft-pink); color: var(--text-light); }
.site-footer { padding: 39px 0; background: var(--lavender); text-align: center; }
.site-footer .shell { display: grid; gap: 2px; color: var(--plum); font-size: .95rem; }

/* Product page */
.product-page { padding-top: 46px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: var(--text-light); font-size: .85rem; }
.breadcrumbs a:hover { color: var(--orange-pop); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(36px, 7vw, 84px); align-items: start; }
.gallery-main { overflow: hidden; border: 1px solid rgba(255, 199, 210, .5); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-soft); }
.gallery-main img { display: block; width: 100%; aspect-ratio: 5 / 6.4; object-fit: cover; }
.gallery-caption { margin: 12px 0 0; color: var(--text-light); font-size: .82rem; line-height: 1.45; text-align: center; }
.product-summary { padding-top: 16px; }
.product-summary h1 { max-width: 520px; margin-bottom: 12px; font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.045em; }
.product-page-price { margin-bottom: 12px; color: var(--plum); font-family: 'Quicksand', sans-serif; font-size: 1.4rem; font-weight: 800; }
.product-lede { margin-bottom: 20px; color: var(--text-light); font-size: 1.04rem; }
.product-details { display: grid; gap: 9px; margin: 20px 0 25px; padding: 20px; border: 1px solid rgba(255, 199, 210, .35); border-radius: 15px; background: #fffdfc; list-style: none; }
.product-details li { position: relative; padding-left: 18px; color: var(--text-light); }
.product-details li::before { content: '✦'; position: absolute; left: 0; color: var(--orange-pop); font-size: .7rem; }
.product-details strong { color: var(--text-main); }
.product-add { max-width: 440px; }
.product-note { margin-top: 13px; color: var(--text-light); font-size: .82rem; }
.related-section { padding-top: 16px; background: var(--white); }
.related-card { display: grid; grid-template-columns: 220px 1fr; gap: 25px; max-width: 670px; margin: 0 auto; padding: 16px; border: 1px solid rgba(255, 199, 210, .38); border-radius: 17px; background: var(--cream); box-shadow: var(--shadow-soft); }
.related-card .coffee-run-art { min-height: 180px; }
.coffee-run-art.small .coffee-cup { font-size: 3.3rem; }
.related-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.related-card p:not(.tag) { color: var(--text-light); }

.collection-note-section { min-height: 68vh; display: grid; align-items: center; }
.collection-note-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 8vw, 100px); align-items: center; }
.coffee-run-art.large { min-height: 400px; border-radius: 22px; }
.coffee-run-art.large .coffee-cup { font-size: 6rem; }
.coffee-run-art.large .coffee-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.collection-copy h1 { margin-bottom: 15px; font-size: clamp(2.2rem, 4.5vw, 3.5rem); letter-spacing: -.045em; }
.collection-copy p:not(.tag) { margin-bottom: 16px; color: var(--text-light); }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter-card { grid-column: span 2; }
  .newsletter-card .newsletter-form { max-width: 420px; width: 100%; margin: 0 auto; }
  .product-layout, .collection-note-wrap { grid-template-columns: 1fr; }
  .gallery { max-width: 650px; }
  .product-summary { padding-top: 0; }
}

@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .announcement { font-size: .76rem; gap: 7px; }
  .announcement-dot { display: none; }
  .nav-wrap { grid-template-columns: 1fr auto; min-height: 67px; }
  .nav-links { display: none; }
  .brand { font-size: 1.28rem; }
  .cart-button { font-size: .92rem; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 2.3rem; }
  .trust-row { gap: 6px 18px; font-size: .83rem; }
  .product-grid { grid-template-columns: 1fr; }
  .newsletter-card { grid-column: auto; }
  .card-img, .coffee-run-art { height: 315px; min-height: 315px; }
  .about-wrap { grid-template-columns: 1fr; text-align: center; }
  .about-star { margin: 0 auto; }
  .product-page { padding-top: 30px; }
  .gallery-main img { aspect-ratio: 5 / 6.2; }
  .related-card { grid-template-columns: 1fr; }
  .related-card .coffee-run-art { min-height: 220px; }
  .collection-note-section { min-height: auto; }
  .coffee-run-art.large { min-height: 320px; }
}
