:root {
  --cream-1: #f6f1e8;
  --cream-2: #f0e6d7;
  --sand: #ddc6ad;
  --taupe: #a48d75;
  --mocha: #6f5546;
  --espresso: #382a23;
  --olive: #45553f;
  --line: #d4c2ab;
  --card: #fffdf8;
}

body.coffee-body {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(circle at 8% 10%, #fdf9f2 0%, var(--cream-1) 45%, var(--cream-2) 100%);
  color: var(--espresso);
}

h1,
h2,
h3,
h4,
.brand-script {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.coffee-navbar {
  background-color: rgba(252, 247, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(111, 85, 70, 0.1);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-script {
  font-size: 2rem;
  letter-spacing: 0.03em;
  color: var(--espresso);
}

.brand-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(56, 42, 35, 0.78);
  padding-left: 0.2rem;
}

.coffee-navbar .nav-link {
  color: rgba(56, 42, 35, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.77rem;
  font-weight: 600;
}

.coffee-navbar .navbar-nav {
  gap: 0.35rem;
}

.coffee-navbar .nav-link:hover,
.coffee-navbar .nav-link:focus {
  color: var(--mocha);
}

.nav-search-form {
  gap: 0.4rem;
  align-items: center;
}

.nav-search-form .form-control {
  min-width: 180px;
  border-color: rgba(111, 85, 70, 0.28);
  background-color: #fffaf3;
}

.nav-search-form .form-control:focus {
  border-color: #8c745f;
  box-shadow: 0 0 0 0.2rem rgba(140, 116, 95, 0.15);
}

.nav-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.profile-pill-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e3d3bf;
  color: #3a2d25;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.profile-pill-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.dropdown-menu {
  border-radius: 0.85rem;
  border: 1px solid rgba(111, 85, 70, 0.14);
  background-color: #fffaf1;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background: linear-gradient(140deg, #f7f2e9, #f3eadf 52%, #f8f3e9);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 5.2rem;
  padding-bottom: 7rem;
  animation: rise-in 700ms ease-out;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  margin-bottom: 0.65rem;
  color: rgba(56, 42, 35, 0.72);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.94;
  margin-bottom: 0.95rem;
}

.hero-copy {
  max-width: 39ch;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: rgba(56, 42, 35, 0.72);
  margin-bottom: 1.5rem;
}

.hero-wave {
  position: absolute;
  left: -4%;
  width: 108%;
  border-radius: 46% 54% 0 0;
}

.hero-wave-top-1 {
  bottom: 164px;
  height: 298px;
  background-color: #b9b39f;
}

.hero-wave-top-2 {
  bottom: 94px;
  height: 287px;
  background-color: #98806b;
}

.hero-wave-top-3 {
  bottom: 0;
  height: 298px;
  background-color: #dcc4aa;
}

.featured-wrap {
  margin-top: 13px;
  position: relative;
  z-index: 4;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.section-title-row .line {
  height: 1px;
  background-color: var(--line);
  flex: 1;
}

.section-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: rgba(56, 42, 35, 0.72);
}

.featured-card {
  background-color: var(--card);
  border: 1px solid rgba(111, 85, 70, 0.12);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(62, 43, 32, 0.12);
  display: grid;
  grid-template-columns: 220px 1fr 250px;
}

.latest-review-card-wrap {
  margin-top: 0.4rem;
  margin-bottom: 1.4rem;
}

.featured-meta {
  background: linear-gradient(170deg, #32422f 0%, #4f6147 48%, #6e5a46 100%);
  color: #f6ead9;
  padding: 1.5rem 1.35rem;
}

.meta-block {
  margin-bottom: 1.2rem;
}

.meta-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  opacity: 0.85;
}

.meta-value {
  margin: 0.18rem 0 0;
  font-weight: 600;
  font-size: 1rem;
}

.featured-body {
  padding: 1.7rem 1.8rem;
}

.featured-body h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.15rem;
}

.featured-location {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: rgba(56, 42, 35, 0.84);
}

.featured-notes {
  border-top: 1px solid rgba(111, 85, 70, 0.22);
  padding-top: 0.9rem;
  color: rgba(56, 42, 35, 0.82);
  margin-bottom: 1rem;
}

.featured-rating-box {
  display: inline-block;
  border: 1px solid rgba(111, 85, 70, 0.35);
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
}

.featured-score {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
}

.featured-image-wrap {
  min-height: 260px;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-image-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #cab598, #927961);
  color: #fff6eb;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.rankings-shell {
  margin-top: 1.8rem;
}

.rankings-title {
  font-size: clamp(2rem, 4vw, 2.65rem);
}

.ranking-count {
  background-color: #d4c0a7;
  color: var(--espresso);
  font-weight: 600;
}

.section-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
}

.section-heading h3 {
  font-size: 1.8rem;
  margin-top: 0.1rem;
}

.section-count {
  background-color: #e8d9c6;
  color: var(--espresso);
}

.coffee-card {
  border-radius: 0.95rem;
  border: 1px solid rgba(111, 85, 70, 0.14);
  background-color: #fffdf9;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.coffee-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.coffee-card-link:hover {
  color: inherit;
}

.coffee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(56, 42, 35, 0.12) !important;
}

.coffee-carousel {
  border-top-left-radius: 0.95rem;
  border-top-right-radius: 0.95rem;
  overflow: hidden;
}

.coffee-photo {
  height: 210px;
  object-fit: cover;
}

.rank-badge {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(56, 42, 35, 0.68);
  font-weight: 700;
}

.rating-pill {
  background-color: #4a5a41;
  color: #f7ebdb;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-weight: 700;
}

.rating-pill small {
  opacity: 0.85;
  margin-left: 0.12rem;
}

.category-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.33rem 0.55rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(111, 85, 70, 0.15);
  background-color: #faf5ee;
}

.category-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(56, 42, 35, 0.75);
}

.category-score {
  font-size: 0.9rem;
  font-weight: 700;
}

.review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-column {
  border: 1px solid rgba(111, 85, 70, 0.14);
  border-radius: 0.75rem;
  padding: 0.7rem;
  background-color: #fbf6ef;
}

.review-column h4,
.review-column h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.review-ordered {
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
}

.review-metrics {
  margin-bottom: 0;
}

.review-metrics li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px dashed rgba(111, 85, 70, 0.16);
  padding: 0.23rem 0;
}

.review-metrics li span {
  font-weight: 700;
  color: #3d2f27;
}

.metric-score-with-beans {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mini-bean {
  width: 12px;
  height: 9px;
  border-radius: 50% / 58%;
  background: #d8c8b3;
  border: 1px solid rgba(111, 85, 70, 0.25);
  position: relative;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.mini-bean::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(111, 85, 70, 0.42);
  transform: rotate(14deg);
}

.mini-bean.active {
  background: #6d4d37;
  border-color: #5b402e;
}

.mini-bean.active::after {
  background: rgba(244, 231, 216, 0.55);
}

.community-summary {
  border-top: 1px solid rgba(111, 85, 70, 0.18);
  padding-top: 0.8rem;
}

.community-summary.big {
  border: 1px solid rgba(111, 85, 70, 0.2);
  border-radius: 0.75rem;
  padding: 0.9rem;
  background-color: #fcf7ef;
}

.community-score {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.review-stars {
  display: flex;
  gap: 0.18rem;
  color: #7e6248;
  line-height: 1;
}

.review-star {
  font-size: 0.95rem;
  opacity: 0.45;
}

.review-star.filled {
  opacity: 1;
}

.detail-shell {
  background-color: var(--card);
  border: 1px solid rgba(111, 85, 70, 0.15);
  border-radius: 1rem;
  padding: 1.2rem;
}

.detail-header {
  margin-bottom: 1rem;
}

.detail-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
}

.detail-critics-average {
  text-align: right;
}

.detail-critics-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(56, 42, 35, 0.75);
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 1rem;
}

.detail-photo {
  border-radius: 0.9rem;
  overflow: hidden;
  min-height: 250px;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-list {
  display: grid;
  gap: 0.7rem;
}

.community-item {
  border: 1px solid rgba(111, 85, 70, 0.14);
  border-radius: 0.7rem;
  padding: 0.75rem;
  background-color: #fbf7f0;
}

.community-review-form-card .bean-grid {
  grid-template-columns: 1fr;
}

.community-review-form-card .bean-btn {
  width: 20px;
  height: 20px;
}

.community-review-form-card .bean-dot {
  width: 13px;
  height: 10px;
}

.community-profile-link {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.86rem;
  color: #4a5a41;
  text-decoration: none;
}

.community-profile-link:hover,
.community-profile-link:focus {
  color: #36472f;
  text-decoration: underline;
}

.about-band {
  background: linear-gradient(180deg, #efe3d3, #e9dbc7);
  border-top: 1px solid rgba(111, 85, 70, 0.12);
  border-bottom: 1px solid rgba(111, 85, 70, 0.12);
}

.about-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.about-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(111, 85, 70, 0.4);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.about-item h3 {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.about-item p {
  margin: 0;
  color: rgba(56, 42, 35, 0.8);
}

.info-page-shell {
  max-width: 880px;
  margin: 0 auto;
}

.info-page-card {
  background-color: var(--card);
  border: 1px solid rgba(111, 85, 70, 0.14);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 12px 28px rgba(56, 42, 35, 0.08);
}

.info-page-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 0.65rem;
}

.info-page-card .lede {
  color: rgba(56, 42, 35, 0.78);
  margin-bottom: 1.2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-list li {
  border: 1px solid rgba(111, 85, 70, 0.16);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background-color: #fbf6ef;
}

.contact-message {
  line-height: 1;
}

.contact-message textarea {
    margin-top: 10px;
}

.submit-hero {
  background: linear-gradient(160deg, #e8dccd, #efe5d8 56%, #f5eee3 100%);
  border-bottom: 1px solid rgba(111, 85, 70, 0.16);
}

.submit-page-wrap {
  max-width: 1100px;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

.submit-form-card {
  border-radius: 1rem;
  border: 1px solid rgba(111, 85, 70, 0.16);
}

.review-block {
  border: 1px solid rgba(111, 85, 70, 0.16);
  border-radius: 0.9rem;
  padding: 1rem;
  background-color: #fcf8f1;
}

.bean-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.bean-rating {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.bean-rating-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.12rem;
  white-space: nowrap;
}

.bean-btn {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
}

.bean-dot {
  width: 16px;
  height: 12px;
  border-radius: 50% / 58%;
  background: #d8c8b3;
  border: 1px solid rgba(111, 85, 70, 0.25);
  position: relative;
  transition: transform 120ms ease, background-color 120ms ease;
}

.bean-dot::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 50%;
  width: 1px;
  background: rgba(111, 85, 70, 0.42);
  transform: rotate(14deg);
}

.bean-btn.active .bean-dot {
  background: #6d4d37;
  border-color: #5b402e;
}

.bean-btn.half .bean-dot {
  border-color: #5b402e;
  background: linear-gradient(90deg, #6d4d37 50%, #d8c8b3 50%);
}

.bean-btn.active .bean-dot::after {
  background: rgba(244, 231, 216, 0.55);
}

.bean-btn.half .bean-dot::after {
  background: rgba(244, 231, 216, 0.55);
}

.bean-btn:hover .bean-dot,
.bean-btn:focus-visible .bean-dot {
  transform: translateY(-1px);
  background: #8f7059;
}

.bean-rating-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(56, 42, 35, 0.82);
}

.submit-actions {
  border-top: 1px solid rgba(111, 85, 70, 0.14);
  padding-top: 1rem;
}

.profile-page {
  max-width: 980px;
}

.profile-shell {
  background-color: #f4eadc;
  border: 1px solid rgba(111, 85, 70, 0.14);
  border-radius: 0.65rem;
  padding: 1.15rem;
}

.profile-header-card {
  border: 1px solid rgba(111, 85, 70, 0.2);
  border-radius: 0.8rem;
  background: #f6f0e7;
  padding: 1rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.9rem;
  align-items: center;
}

.profile-avatar-wrap {
  display: flex;
  justify-content: center;
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(111, 85, 70, 0.35);
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #4a3b31;
  background-color: #ece0cf;
}

.profile-headline h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.1rem;
}

.profile-headline p {
  margin: 0;
  color: rgba(56, 42, 35, 0.84);
}

.profile-meta-row {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  border: 1px solid rgba(111, 85, 70, 0.2);
  border-radius: 0.8rem;
  background: #f6f0e7;
  padding: 0.8rem;
}

.profile-meta-item {
  border-right: 1px solid rgba(111, 85, 70, 0.18);
  padding-right: 0.7rem;
}

.profile-meta-item:last-child {
  border-right: 0;
}

.profile-column-card {
  border: 1px solid rgba(111, 85, 70, 0.2);
  border-radius: 0.8rem;
  background: #f8f3ec;
  padding: 0.9rem;
  min-height: 250px;
}

.profile-column-card h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.recent-review-item {
  border: 1px solid rgba(111, 85, 70, 0.18);
  border-radius: 0.6rem;
  padding: 0.55rem;
  margin-bottom: 0.55rem;
}

.recent-review-title {
  margin: 0;
  font-weight: 600;
}

.recent-review-title span {
  float: right;
}

.recent-review-date {
  margin: 0;
  color: rgba(56, 42, 35, 0.72);
  font-size: 0.82rem;
}

.profile-edit-lower {
  border: 1px solid rgba(111, 85, 70, 0.2);
  border-radius: 0.8rem;
  background: #f8f3ec;
  padding: 0.9rem;
}

.coffee-footer {
  background: linear-gradient(120deg, #4a3227, #6d4d37);
  color: #f7ebd9;
  letter-spacing: 0.06em;
}

.btn-primary {
  --bs-btn-bg: #98806b;
  --bs-btn-border-color: #98806b;
  --bs-btn-hover-bg: #856b55;
  --bs-btn-hover-border-color: #856b55;
  --bs-btn-active-bg: #856b55;
  --bs-btn-active-border-color: #856b55;
  --bs-btn-color: #fffaf2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;

}

.btn-outline-secondary {
  --bs-btn-color: #5f4b3f;
  --bs-btn-border-color: #9c856f;
  --bs-btn-hover-bg: #e7d7c1;
  --bs-btn-hover-border-color: #8c745f;
  --bs-btn-hover-color: #3a2d25;
}

.edit-thumb {
  position: relative;
  width: 70px;
  height: 70px;
}

.edit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.45rem;
}

.thumb-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  padding: 0;
  line-height: 1;
  border: none;
  border-radius: 50%;
  background-color: #b44f4f;
  color: #fff;
  font-size: 0.75rem;
}

.profile-theme-toggle {
  border: 1px solid rgba(111, 85, 70, 0.2);
  border-radius: 0.8rem;
  background: #f6f0e7;
  padding: 0.8rem;
}

.theme-status {
  font-size: 0.82rem;
  color: rgba(56, 42, 35, 0.78);
}

body.coffee-body.theme-dark {
  background: radial-gradient(circle at 8% 10%, #2c211b 0%, #1f1612 45%, #140f0c 100%);
  color: #f6efe7;
}

body.coffee-body.theme-dark .coffee-navbar {
  background-color: rgba(24, 17, 13, 0.94);
  border-bottom-color: rgba(214, 177, 142, 0.2);
}

body.coffee-body.theme-dark .brand-script,
body.coffee-body.theme-dark .brand-subtitle,
body.coffee-body.theme-dark .coffee-navbar .nav-link,
body.coffee-body.theme-dark .hero-kicker,
body.coffee-body.theme-dark .hero-copy,
body.coffee-body.theme-dark .section-title,
body.coffee-body.theme-dark .featured-location,
body.coffee-body.theme-dark .featured-notes,
body.coffee-body.theme-dark .about-item p,
body.coffee-body.theme-dark .info-page-card .lede,
body.coffee-body.theme-dark .category-label,
body.coffee-body.theme-dark .bean-rating-value,
body.coffee-body.theme-dark .recent-review-date,
body.coffee-body.theme-dark .text-body-secondary,
body.coffee-body.theme-dark .theme-status {
  color: #e7d9cb !important;
}

body.coffee-body.theme-dark .landing-hero,
body.coffee-body.theme-dark .about-band,
body.coffee-body.theme-dark .submit-hero {
  background: linear-gradient(160deg, #2f231d, #281d18 56%, #1b1411 100%);
  border-color: rgba(214, 177, 142, 0.2);
}

body.coffee-body.theme-dark .hero-wave-top-1 {
  background-color: #4a352b;
}

body.coffee-body.theme-dark .hero-wave-top-2 {
  background-color: #3d2c23;
}

body.coffee-body.theme-dark .hero-wave-top-3 {
  background-color: #31231c;
}

body.coffee-body.theme-dark .featured-card,
body.coffee-body.theme-dark .coffee-card,
body.coffee-body.theme-dark .detail-shell,
body.coffee-body.theme-dark .community-item,
body.coffee-body.theme-dark .review-column,
body.coffee-body.theme-dark .community-summary.big,
body.coffee-body.theme-dark .info-page-card,
body.coffee-body.theme-dark .contact-list li,
body.coffee-body.theme-dark .submit-form-card,
body.coffee-body.theme-dark .review-block,
body.coffee-body.theme-dark .profile-shell,
body.coffee-body.theme-dark .profile-header-card,
body.coffee-body.theme-dark .profile-meta-row,
body.coffee-body.theme-dark .profile-column-card,
body.coffee-body.theme-dark .profile-edit-lower,
body.coffee-body.theme-dark .profile-theme-toggle,
body.coffee-body.theme-dark .card {
  background-color: #2a201b;
  border-color: rgba(214, 177, 142, 0.25);
  color: #f6efe7;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

body.coffee-body.theme-dark .featured-meta,
body.coffee-body.theme-dark .featured-image-placeholder,
body.coffee-body.theme-dark .coffee-footer {
  background: linear-gradient(140deg, #372a23, #2f241e 55%, #261c17 100%);
  color: #f6efe7;
}

body.coffee-body.theme-dark .section-title-row .line,
body.coffee-body.theme-dark .section-heading,
body.coffee-body.theme-dark .community-summary,
body.coffee-body.theme-dark .submit-actions,
body.coffee-body.theme-dark .featured-notes,
body.coffee-body.theme-dark .profile-meta-item,
body.coffee-body.theme-dark .review-metrics li {
  border-color: rgba(214, 177, 142, 0.26);
}

body.coffee-body.theme-dark .profile-headline h1,
body.coffee-body.theme-dark .profile-column-card h2,
body.coffee-body.theme-dark .profile-headline p {
  color: #fff8ef;
}

body.coffee-body.theme-dark .detail-critics-label {
  color: #e7d9cb !important;
}

body.coffee-body.theme-dark .rank-badge {
  color: #e7d9cb;
}

body.coffee-body.theme-dark .category-rating {
  background-color: #3a2d26;
  border-color: rgba(214, 177, 142, 0.28);
}

body.coffee-body.theme-dark .category-score,
body.coffee-body.theme-dark .review-metrics li span {
  color: #fff8ef;
}

body.coffee-body.theme-dark .form-control,
body.coffee-body.theme-dark .form-select,
body.coffee-body.theme-dark textarea.form-control {
  background-color: #3a2d26;
  color: #fff8ef;
  border-color: rgba(214, 177, 142, 0.34);
}

body.coffee-body.theme-dark .form-control::placeholder,
body.coffee-body.theme-dark textarea.form-control::placeholder {
  color: #cdb39a;
}

body.coffee-body.theme-dark .form-control:focus,
body.coffee-body.theme-dark .form-select:focus,
body.coffee-body.theme-dark textarea.form-control:focus {
  background-color: #3f312a;
  color: #fff8ef;
  border-color: #e0b88f;
  box-shadow: 0 0 0 0.2rem rgba(224, 184, 143, 0.2);
}

body.coffee-body.theme-dark .nav-search-form .form-control {
  background-color: #3a2d26;
  border-color: rgba(214, 177, 142, 0.34);
}

body.coffee-body.theme-dark .btn-outline-secondary {
  --bs-btn-color: #f0d5bc;
  --bs-btn-border-color: rgba(214, 177, 142, 0.52);
  --bs-btn-hover-bg: #4b382d;
  --bs-btn-hover-border-color: #e0b88f;
  --bs-btn-hover-color: #fff8ef;
}

body.coffee-body.theme-dark .alert-danger {
  background-color: rgba(160, 41, 41, 0.28);
  color: #ffdede;
  border-color: rgba(255, 139, 139, 0.4);
}

body.coffee-body.theme-dark a {
  color: #f0d5bc;
}

body.coffee-body.theme-dark a:hover,
body.coffee-body.theme-dark a:focus {
  color: #ffe9d1;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .featured-card {
    grid-template-columns: 190px 1fr 210px;
  }
}

@media (max-width: 991px) {
  .brand-script {
    font-size: 1.65rem;
  }

  .featured-wrap {
    margin-top: 13px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .meta-block {
    margin-bottom: 0;
  }

  .featured-image-wrap {
    min-height: 220px;
  }

  .about-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-search-form {
    margin: 0.6rem 0 0.35rem;
  }

  .nav-search-form .form-control {
    min-width: 0;
  }

  .bean-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-critics-average {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .hero-content {
    padding-top: 4.25rem;
    padding-bottom: 5.8rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-copy {
    font-size: 0.82rem;
  }

  .hero-wave-top-1 {
    bottom: 120px;
  }

  .hero-wave-top-2 {
    bottom: 58px;
  }

  .coffee-navbar .btn {
    width: 100%;
  }

  .review-columns {
    grid-template-columns: 1fr;
  }

  .profile-header-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-meta-row {
    grid-template-columns: 1fr;
  }

  .profile-meta-item {
    border-right: 0;
    border-bottom: 1px solid rgba(111, 85, 70, 0.18);
    padding-bottom: 0.6rem;
  }

  .profile-meta-item:last-child {
    border-bottom: 0;
  }
}
