/* Modern Blue Theme Overrides */
:root {
  --fc-primary: #2563eb;
  --fc-primary-rgb: 37, 99, 235;
  --fc-primary-text-emphasis: #1e40af;
  --fc-primary-bg-subtle: #eff6ff;
  --fc-primary-border-subtle: #bfdbfe;
  --fc-dark-primary: #1e40af;
  --fc-dark-primary-text-emphasis: #dbeafe;
  --fc-dark-primary-bg-subtle: #1e3a8a;
  --fc-dark-primary-border-subtle: #3b82f6;
}

/* Modern Enhancements */
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--fc-primary-rgb), 0.3);
}

.card {
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.form-control {
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--fc-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--fc-primary-rgb), 0.15);
}

.badge {
  border-radius: 6px;
  font-weight: 500;
}

.alert {
  border-radius: 8px;
  border: none;
}

/* Navbar Enhancements */
.navbar-nav .nav-item {
  margin-right: 1rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--fc-primary) !important;
}

.dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--fc-primary-bg-subtle);
  color: var(--fc-primary-text-emphasis);
}

.featured-category-card {
  height: 170px;
}

.featured-category-thumb {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-category-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.product-thumb-btn {
  width: 64px;
  height: 64px;
  border: 1px solid var(--fc-gray-300);
  border-radius: 0.5rem;
  padding: 0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-thumb-btn img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 0.45rem;
}

.product-thumb-btn.is-active {
  border-color: var(--fc-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--fc-primary-rgb), 0.15);
}

.site-logo {
  display: block;
  width: auto !important;
  height: 80px !important;
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
}

.auth-logo {
  max-width: 96px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.offcanvas-header .site-logo {
  height: 56px !important;
  max-width: 140px;
  max-height: 56px;
}

.acdc-seo-section .seo-article {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}

.acdc-seo-section h2 {
  margin-bottom: 0.75rem;
}

.acdc-seo-section h3 {
  margin-bottom: 0.5rem;
}

.seo-highlight {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.9rem;
  background: #f8fafc;
}

.seo-highlight p,
.seo-more-body p {
  color: #6b7280;
}

.seo-more {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
}

.seo-more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--fc-primary);
}

.seo-more summary::marker {
  color: var(--fc-primary);
}

.seo-product-copy {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .site-logo {
    height: 54px !important;
    max-width: min(42vw, 120px);
    max-height: 54px;
  }

  .auth-logo {
    max-width: 82px;
    max-height: 38px;
  }

  .acdc-seo-section .seo-article {
    padding-top: 1.25rem;
  }
}
