/*
Theme Name: RKF Market
Theme URI: https://www.robertskosherfishmarket.com/
Description: Robert's Kosher Fish Market — branded child theme (call-in catalog).
Author: fishStore ops
Template: extendable
Version: 1.4.0
Text Domain: rkf-market
*/

:root {
  --rkf-blue: #1565b8;
  --rkf-blue-dark: #0d4a8a;
  --rkf-blue-light: #e8f2fc;
  --rkf-silver: #6b7c8f;
  --rkf-white: #ffffff;
  --rkf-text: #1a2430;
}

body {
  color: var(--rkf-text);
}

.rkf-topbar {
  background: linear-gradient(135deg, var(--rkf-blue-dark), var(--rkf-blue));
  color: var(--rkf-white);
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

.rkf-topbar a {
  color: var(--rkf-white);
  text-decoration: none;
}

.rkf-topbar a:hover {
  text-decoration: underline;
}

.rkf-topbar .rkf-facebook a {
  font-weight: 600;
}

.rkf-topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.rkf-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  justify-self: start;
  color: inherit;
  text-decoration: none;
}

.rkf-topbar-brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.rkf-topbar-brand:hover .rkf-topbar-tagline {
  text-decoration: underline;
}

.rkf-topbar-fish {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  /* Keep original black artwork */
  filter: none;
}

.rkf-topbar-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  line-height: 1.25;
  min-width: 0;
}

.rkf-topbar-tagline {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.rkf-topbar-hours {
  font-size: 0.9rem;
  opacity: 0.95;
  white-space: nowrap;
}

.rkf-topbar-center {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
  font-size: 1.05rem;
}

.rkf-topbar-call a {
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Address + Facebook on the right */
.rkf-topbar-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  justify-self: end;
  text-align: right;
  line-height: 1.3;
  min-width: 0;
}

.rkf-topbar-meta-item {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .rkf-topbar-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .rkf-topbar-brand,
  .rkf-topbar-center,
  .rkf-topbar-meta {
    justify-self: start;
    text-align: left;
    align-items: flex-start;
  }

  .rkf-topbar-center {
    padding-left: 3.9rem;
  }

  .rkf-topbar-meta {
    padding-left: 3.9rem;
  }

  .rkf-topbar-tagline,
  .rkf-topbar-hours,
  .rkf-topbar-meta-item,
  .rkf-topbar-center {
    white-space: normal;
  }
}

.rkf-social {
  margin-top: 0.5rem !important;
}

.rkf-facebook-link {
  color: var(--rkf-blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.rkf-facebook-link:hover {
  text-decoration: underline;
}

.rkf-notice a {
  color: inherit;
  font-weight: 600;
}

/* Intro strip (no large brand image) */
.rkf-hero {
  background: var(--rkf-blue-light);
  border-bottom: 4px solid var(--rkf-blue);
  padding: 0.85rem 0 1rem;
}

.rkf-hero-caption {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.35rem 1.25rem 0;
}

.rkf-hero-caption .tagline {
  color: var(--rkf-blue);
  font-weight: 600;
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.rkf-hero-caption p {
  margin: 0.25rem 0;
}

.rkf-notice {
  background: #fff8e6;
  border-left: 4px solid #d4a017;
  padding: 1rem 1.25rem;
  margin: 1.25rem auto 1.5rem;
  max-width: 1100px;
}

.woocommerce ul.products li.product .price .rkf-market-price {
  color: var(--rkf-blue-dark);
  font-weight: 700;
}

.rkf-call-banner {
  background: var(--rkf-blue);
  color: var(--rkf-white);
  text-align: center;
  padding: 1rem;
  margin: 2rem 0 0;
}

.rkf-call-banner a {
  color: var(--rkf-white);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Sticky class shortcuts under topbar */
.rkf-class-pills {
  background: var(--rkf-white);
  border-bottom: 1px solid rgba(21, 101, 184, 0.2);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(13, 74, 138, 0.06);
}

.rkf-class-pills-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  align-items: center;
}

.rkf-class-pills a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--rkf-blue-light);
  color: var(--rkf-blue-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.rkf-class-pills a:hover,
.rkf-class-pills a.is-active {
  background: var(--rkf-blue);
  color: var(--rkf-white);
}

@media (max-width: 700px) {
  .rkf-hero-caption {
    text-align: center;
  }
}
