/* hob/css/header.css */

/* ===================================================
   Base Styles
   =================================================== */

   /* Logo */
.logo-link {
  display: inline-block;
}

.site-logo {
  height: 40px !important;    /* force a fixed height */
  width: auto !important;
  display: block;
}




.site-header {
  position: relative;           /* for absolute cart icon positioning */
  background: #fffefa;          /* cream-tinted white */
  border-bottom: 1px solid #eee;
}
.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.branding {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Remove underline from branding links */
.branding a {
  text-decoration: none;
  color: inherit;    /* keep the same color as the surrounding text */
}

.branding a:hover {
  text-decoration: none;
  color: inherit;    /* or set your accent color if you prefer */
}

.site-title {
  font-size: 1.75rem;
  margin: 0;
  font-weight: bold;
  color: #333;
  line-height: 1;
}
.site-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-style: italic;
  color: #666;
  line-height: 1;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: #b08b4f; /* warm accent */
}

/* ===================================================
   Cart Icon & Counter
   =================================================== */
.cart-link-wrapper {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}
.cart-link {
  position: relative;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}
.cart-link:hover {
  color: #b08b4f;
}
.cart-count {
  position: absolute;
  top: -0.4rem;
  right: -0.6rem;
  background: #b08b4f;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.15rem 0.4rem;
  border-radius: 50%;
  line-height: 1;
}

/* ===================================================
   Mobile-first Adjustments
   =================================================== */
@media screen and (max-width: 767px) {
  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }
  .branding {
    align-items: center;
    margin-bottom: 0.75rem;
  }
  .site-title {
    font-size: 1.5rem;
  }
  .site-tagline {
    font-size: 0.75rem;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .site-nav a {
    display: block;
    padding: 0.5rem 0;
  }
  .cart-link {
    font-size: 1.25rem;
  }
  .cart-count {
    top: -0.3rem;
    right: -0.5rem;
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
  }
}

/* ===================================================
   Tablet / Small Desktop
   =================================================== */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .site-header .container {
    padding: 0.75rem 1rem;
  }
  .site-title {
    font-size: 1.6rem;
  }
  .site-tagline {
    font-size: 0.8rem;
  }
  .site-nav ul {
    gap: 1rem;
  }
}
