/**
 * FSP Navigation Styles
 * Header navigation and logo styles
 *
 * @package Free_Style_Products
 */

 /* Cart icon link (header + product header) */
.fsp-cart-icon-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

/* The cart svg image */
.fsp-cart-icon{
  width: 32px;
  height: 32px;
  display: block;
}

/* Badge positioning when used with icon */
.fsp-cart-icon-link .fsp-cart-count{
  position: absolute;
  top: -6px;
  right: -8px;
}

.nav-cart {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  padding-left: 16px;
}
/* ==========================================================================
   Navigation
   ========================================================================== */

.headwear-nav {
    background-color: transparent;
    transition: var(--hw-transition);
    padding: 20px 0;
}

.headwear-nav.scrolled {
    background-color: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.headwear-nav.opened {
    background-color: rgba(15, 15, 15, 0.98) !important;
    backdrop-filter: blur(10px);
}

.headwear-nav .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hw-white) !important;
}

.headwear-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--hw-transition-fast);
}

.headwear-nav .nav-link:hover,
.headwear-nav .nav-link.active {
    color: var(--hw-primary) !important;
}

.headwear-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--hw-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.headwear-nav .nav-link:hover::after,
.headwear-nav .nav-link.active::after {
    transform: scaleX(1);
}

.headwear-nav .nav-cta .btn {
    margin-left: 10px;
}

/* Logo Styles */
.headwear-nav .brand-logo {
    height: 50px;
    width: auto;
    max-width: 220px;
}

/* Hero Brand Icon */
.hero-brand-icon {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    opacity: 0.15;
}

.hero-brand-icon .diamond-icon {
    width: 120px;
    height: auto;
}

@media (max-width: 767.98px) {
    .hero-brand-icon {
        bottom: 20px;
        right: 20px;
    }

    .hero-brand-icon .diamond-icon {
        width: 80px;
    }
}

@media (max-width: 991.98px) {
    .headwear-nav.scrolled {
        background-color: rgba(15, 15, 15, 0.98) !important;
    }
}

@media (max-width: 575.98px) {
    .headwear-nav {
        padding: 15px 0;
    }
}























/* ===== Static Header/Footer (Product) ===== */
:root{
  --fsp-header-h: 84px;   /* set your fixed header height */
  --fsp-footer-h: 72px;   /* set your fixed footer height */
  --fsp-max-w: 1200px;    /* optional: inner content max width */
}

.fsp-static-header,
.fsp-static-footer{
  width: 100%;
  background: #0f0f0f;
  color: #fff;
}

.fsp-static-header{
  height: var(--fsp-header-h);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fsp-static-footer{
  height: var(--fsp-footer-h);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Inner layout */
.fsp-static-header__inner,
.fsp-static-footer__inner{
  height: 100%;
  max-width: var(--fsp-max-w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo sizing stays stable */
.fsp-brand,
.fsp-brand:hover{
  color: inherit;
  text-decoration: none;
}

.fsp-brand__logo{
  height: 44px;   /* keeps header stable */
  width: auto;
  display: block;
}

/* Nav */
.fsp-static-nav{
  display: flex;
  align-items: center;
  gap: 14px;
}

.fsp-navlink{
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 600;
}

.fsp-navlink:hover{
  color: #fff;
  text-decoration: underline;
}

.fsp-navlink--cta{
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  text-decoration: none;
}
.fsp-navlink:visited,
.fsp-navlink--cta:visited {
  color: rgba(255,255,255,0.88);
}
.fsp-cart-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  margin-left: 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  background: rgba(255,255,255,0.18);
}

/* Footer */
.fsp-footer-link{
  color: rgba(255,255,255,0.80);
  text-decoration: none;
}
.fsp-footer-link:hover{ color:#fff; text-decoration: underline; }
.fsp-footer-sep{ margin: 0 10px; opacity: 0.5; }

/* Optional: make main content not flush against header/footer */
.fsp-product-shell .site-main{
  min-height: calc(100vh - var(--fsp-header-h) - var(--fsp-footer-h));
  padding: 18px 0;
}