:root {
  --keto-green: #4CAF50;
  --keto-gray: #f5f6f7;
}

body {
  background-color: var(--keto-gray);
}

.card {
  border-radius: 8px;
}

.card .card-img-top {
  height: 180px;
  object-fit: cover;
}

.badge-keto {
  background-color: var(--keto-green);
}

.recipe-meta {
  font-size: .9rem;
  color: #666;
}

.search-highlight {
  background: rgba(76,175,80,0.12);
  padding: .2rem;
  border-radius: 4px;
}

.ads-placeholder {
  min-height: 90px;
  background: #fff;
  border: 1px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.product-card img {
  height: 80px;
  object-fit: cover;
}

.lang-btn {
  text-transform: uppercase;
  font-weight: 600;
}

.lang-btn.active {
  box-shadow: 0 0 0 0.15rem rgba(76,175,80,0.18);
}

.lang-btn .flag-icon {
  width: 18px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .card .card-img-top {
    height: 140px;
  }
}

h1 {
  font-family: 'Pacifico', cursive;
  margin-top: 0;
}

.card h1 {
  font-family: 'Pacifico', cursive;
  margin: 0;
}

h2,
h5,
.card .card-title {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  margin: 0;
  margin-bottom: 10px;
}

.keto-intro {
  font-size: 1rem;
  color: #666;
  margin-top: .5rem;
}

.breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}

.breadcrumb-custom .breadcrumb-item {
  margin: 0;
  padding: 0;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: #9aa0a6;
  padding: 0 0.45rem;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--keto-green);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: #333;
  font-weight: 600;
}

.position-relative.bg-dark {
  background: #000 !important;
}

.hero-dot-overlay {
  background-image: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0)), radial-gradient(rgba(0,0,0,0.22) 1px, rgba(0,0,0,0) 1px);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 6px 6px;
  pointer-events: none;
}

.hover-shadow {
  transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

a .card {
  transition: all 0.3s ease;
}

a:hover .card {
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2) !important;
}

a:hover .card-title {
  color: var(--keto-green) !important;
}

.position-absolute.top-0 h1 {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.position-absolute.top-0 .lead {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.h3.text-success,
.h5.text-success {
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.xsmall {
  font-size: 0.75rem !important;
}

.card.shadow-lg {
  box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}

.card.shadow-lg .form-control {
  background: rgba(255,255,255,0.95);
  border: none;
}

.card.shadow-lg .form-control-sm::placeholder {
  color: rgba(0,0,0,0.4);
}

.card.shadow-lg .btn-light {
  font-weight: 600;
}

.container,
.container-fluid {
  padding: 0 15px;
}

.bg-keto-green-light {
  background-color: rgba(76, 175, 80, 0.3);
}

@media (max-width: 576px) {
  .breadcrumb-custom {
    width: 100%;
    padding: .4rem .6rem;
  }
}
