html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  color: #4b403b;
  line-height: 1.65;
}

/* IWE Coffee refinements: restrained, consistent styling across the site. */
:root {
  --iwe-espresso: #33211d;
  --iwe-coffee: #4b312b;
  --iwe-caramel: #da9f5b;

  /* Bootstrap 5.3 theme tokens aligned with the IWE Coffee palette. */
  --bs-primary: #da9f5b;
  --bs-primary-rgb: 218, 159, 91;
  --bs-secondary: #33211d;
  --bs-secondary-rgb: 51, 33, 29;
  --bs-light: #fffbf2;
  --bs-light-rgb: 255, 251, 242;
  --bs-dark: #111111;
  --bs-dark-rgb: 17, 17, 17;
  --bs-body-bg: #fffbf2;
  --bs-body-color: #4b403b;
  --bs-body-font-family: "Montserrat", sans-serif;
  --bs-link-color: #be792b;
  --bs-link-hover-color: #a85f1d;
}

a {
  text-decoration: none;
}

.btn-primary {
  --bs-btn-color: #33211d;
  --bs-btn-bg: #da9f5b;
  --bs-btn-border-color: #da9f5b;
  --bs-btn-hover-color: #33211d;
  --bs-btn-hover-bg: #c88a45;
  --bs-btn-hover-border-color: #bc7b35;
  --bs-btn-focus-shadow-rgb: 218, 159, 91;
  --bs-btn-active-color: #33211d;
  --bs-btn-active-bg: #bc7b35;
  --bs-btn-active-border-color: #b27230;
  --bs-btn-disabled-color: #33211d;
  --bs-btn-disabled-bg: #da9f5b;
  --bs-btn-disabled-border-color: #da9f5b;
}

.section-title h1,
.section-title h2 {
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.Principles-box {
  border: 1px solid rgba(73, 49, 43, 0.08);
  box-shadow: 0 10px 28px rgba(51, 33, 29, 0.07);
}

.btn {
  border-radius: 0.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(51, 33, 29, 0.12);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(218, 159, 91, 0.65);
  outline-offset: 2px;
}

.iwe-faq-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(73, 49, 43, 0.1);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 33, 29, 0.04);
}

.iwe-faq-card h3 {
  margin-bottom: 0.75rem;
  color: var(--iwe-coffee);
  font-size: 1.1rem;
  font-weight: 700;
}

#blog-carousel .carousel-caption h1 {
  max-width: 900px;
  line-height: 1.12;
  font-weight: 700;
}

#blog-carousel .carousel-caption .iwe-hero-copy {
  max-width: 900px;
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  #blog-carousel .carousel-caption h1 {
    font-size: clamp(2rem, 8vw, 3.1rem);
  }

  #blog-carousel .carousel-caption .iwe-hero-copy {
    font-size: 1rem !important;
  }

  .iwe-faq-card {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Consistent placement for the short introduction above coffee category cards. */
.iwe-product-intro {
  width: 100%;
  max-width: 760px;
  padding: 0 1rem;
  color: #6c625d;
}

.iwe-product-intro::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 auto 0.9rem;
  background: var(--iwe-caramel);
}

.iwe-product-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 767.98px) {
  .iwe-product-intro {
    padding: 0 0.75rem;
  }

  .iwe-product-intro p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}


/* IWE Coffee visual refinement: compact, consistent navigation and clearer product cards. */
.navbar .iwe-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: 1.25rem;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.navbar .iwe-brand img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.navbar .iwe-brand:hover,
.navbar .iwe-brand:focus {
  color: #fff;
  text-decoration: none;
}

.navbar .navbar-nav .nav-link {
  padding: 0.65rem 0.78rem;
  border-radius: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.navbar .navbar-nav .iwe-nav-cta {
  margin-left: 0.35rem;
  border: 1px solid rgba(218, 159, 91, 0.8);
  color: #fff;
}

.navbar .navbar-nav .iwe-nav-cta:hover,
.navbar .navbar-nav .iwe-nav-cta:focus {
  background: var(--iwe-caramel);
  color: var(--iwe-espresso);
}

.iwe-product-card {
  border: 1px solid rgba(73, 49, 43, 0.12);
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(51, 33, 29, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.iwe-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(51, 33, 29, 0.11);
}

.iwe-product-card > h2,
.iwe-product-card > h3 {
  line-height: 1.25;
  border-color: rgba(73, 49, 43, 0.14) !important;
}

.iwe-product-card img {
  width: 100%;
  height: 190px !important;
  object-fit: cover;
  object-position: center;
  border-radius: 0.7rem;
}

.iwe-product-card p {
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}

.iwe-product-card .btn {
  margin-top: 0.25rem;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .navbar .iwe-brand {
    gap: 0.45rem;
    margin-right: 0.5rem;
    font-size: 1.45rem;
  }

  .navbar .navbar-nav .nav-link {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .nav-bar .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.65rem;
    background: rgba(51, 33, 29, 0.97);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .nav-bar .navbar-nav {
    align-items: stretch;
  }

  .nav-bar .navbar-nav .nav-link {
    padding: 0.7rem 0.8rem;
  }

  .nav-bar .navbar-nav .iwe-nav-cta {
    margin: 0.35rem 0 0;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .navbar .iwe-brand {
    gap: 0.5rem;
    font-size: 1.4rem;
  }

  .navbar .iwe-brand img {
    width: 42px;
    height: 42px;
  }

  .iwe-product-card {
    padding: 1.15rem;
  }

  .iwe-product-card img {
    height: 175px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iwe-product-card,
  .iwe-product-card:hover {
    transition: none;
    transform: none;
  }
}


/* Bootstrap 5 back-to-top visibility state. */
.back-to-top.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* Self-hosted SVG icons: no remote icon font or third-party font request required. */
.iwe-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.Principles-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.Principles-icon .iwe-icon {
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: middle;
}
