﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Footer styles
-------------------------------------------------- */
.footer {
  width: 100%;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Mobile Header Responsive Fixes */

/* Logo image sizing */
.header-logo-img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  header .container-fluid {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
}

@media (max-width: 767px) {
  header .container-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  /* Logo sizing on mobile */
  .header-logo-img {
    height: 50px;
  }

  /* Logo section - flexible center */
  .header-logo {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }

  /* Compact cart icon */
  header .nav-icon {
    padding: 0.25rem !important;
  }

  header .nav-icon .material-icons {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  header .container-fluid {
    padding: 0.25rem 0.5rem;
  }

  /* Smaller logo on extra small screens */
  .header-logo-img {
    height: 40px;
  }

  /* Ensure cart badge is visible and properly sized */
  header .nav-icon.has-badge .badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    top: -5px;
    right: -5px;
  }
}
