/* NavFresh Application Styles
 * Brand-specific overrides and additions
 * 
 * Note: All component CSS files are loaded individually via stylesheet_link_tag 
 * in application.html.erb to ensure proper digest hash handling by Propshaft.
 * Do NOT use @import statements here as they cause 404 errors.
 */

/* NavFresh-specific overrides and additions */

:root {
  /* NavFresh brand colors - can override defaults here */
  --brand-primary: #7d9a4c; /* NavFresh green - matching the screenshot */
  --brand-secondary: #4A2C7C; /* NavFresh purple */
}

/* Any NavFresh-specific styles that differ from the base nv-frontend */
.navafresh-logo {
  /* Custom logo styles */
}

/* ===== Store Banner ===== */

.store-banner {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-primary, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.store-banner__container {
  max-width: var(--container-max-width, 1280px);
  margin: 0 auto;
}

.store-banner__link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-banner__link:hover {
  text-decoration: underline;
}

.store-banner__arrow {
  font-size: 16px;
}

/* Banner styles */
.store-banner--urgent {
  background-color: #f0f0f0;
  color: #1a1a1a;
}

.store-banner--info {
  background-color: #2563eb;
  color: #fff;
}

.store-banner--promo {
  background-color: var(--brand-primary, #7d9a4c);
  color: #fff;
}

/* ===== Recall Notice Page ===== */

.recall-notice {
  padding: 48px 16px;
}

.recall-notice__container {
  max-width: 800px;
  margin: 0 auto;
}

.recall-notice__header {
  margin-bottom: 32px;
  border-bottom: 2px solid #dc2626;
  padding-bottom: 24px;
}

.recall-notice__badge {
  display: inline-block;
  background-color: #dc2626;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.recall-notice__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.recall-notice__date {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.recall-notice__image {
  margin: 24px 0;
  text-align: center;
}

.recall-notice__image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.recall-notice__divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 32px 0;
}

.recall-notice__content h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: #1a1a1a;
}

.recall-notice__content ul,
.recall-notice__content ol {
  padding-left: 24px;
  margin: 0 0 16px;
}

.recall-notice__content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.recall-notice__content p {
  line-height: 1.6;
}

.recall-notice__content a {
  color: var(--brand-primary, #7d9a4c);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .store-banner {
    font-size: 13px;
    padding: 8px 12px;
  }

  .recall-notice {
    padding: 32px 16px;
  }

  .recall-notice__title {
    font-size: 22px;
  }
}