/* Responsive storefront foundation. Load after assets/css/storefront.css. */
@media (max-width: 1399.98px) {
  .site-header .brand-copy strong {
    font-size: 1.2rem;
  }

  .site-header .brand-copy small {
    font-size: .72rem;
    letter-spacing: .22em;
  }

  .site-header .navbar-nav .nav-link {
    padding-right: .4rem;
    padding-left: .4rem;
    font-size: .8rem;
  }

  .site-header .header-utilities {
    gap: .3rem;
  }

  .site-header .header-icon-button {
    min-width: 40px;
    height: 40px;
  }

  .site-header .header-language-button {
    height: 40px;
    padding: 0 .55rem;
  }

  .site-header .btn-header-quote {
    min-height: 40px;
    padding: .6rem .7rem;
    font-size: .67rem;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    height: var(--header-height);
    min-height: var(--header-height);
    overflow: visible;
  }

  .site-header .header-main-nav {
    position: relative;
    height: var(--header-height);
    min-height: var(--header-height);
    padding: 0;
  }

  .site-header .header-main-nav > .container-xxl {
    position: relative;
    height: 100%;
    align-items: center;
    flex-wrap: wrap;
  }

  .header-mobile-tools {
    gap: .35rem;
  }

  .header-mobile-tools .header-icon-button,
  .header-mobile-tools .navbar-toggler {
    min-width: 43px;
    width: 43px;
    height: 43px;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .22rem;
  }

  .header-mobile-tools .header-icon-button:hover,
  .header-mobile-tools .navbar-toggler:hover,
  .header-mobile-tools .navbar-toggler:focus {
    color: var(--gold);
    background: rgba(255, 255, 255, .1);
    border-color: rgba(217, 166, 77, .65);
    box-shadow: none;
  }

  .header-mobile-tools .navbar-toggler-icon {
    display: none;
  }

  .navbar-toggler-bars {
    position: relative;
    display: block;
    width: 18px;
    height: 14px;
  }

  .navbar-toggler-bars span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .22s ease, opacity .18s ease, top .22s ease;
  }

  .navbar-toggler-bars span:nth-child(1) { top: 0; }
  .navbar-toggler-bars span:nth-child(2) { top: 6px; }
  .navbar-toggler-bars span:nth-child(3) { top: 12px; }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
  }

  .site-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1040;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    margin: 0;
    padding: .85rem 1rem 1.2rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--green-950);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    scrollbar-width: none;
  }

  .site-header .navbar-collapse::-webkit-scrollbar {
    display: none;
  }

  .header-mobile-menu {
    display: grid;
    gap: .85rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    overflow: visible;
  }

  .header-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
  }

  .header-mobile-actions .header-language-button,
  .header-mobile-action {
    width: 100%;
    height: 46px;
  }

  .header-mobile-actions .header-language-button {
    grid-column: 1 / -1;
    gap: .35rem;
    padding: 0 .45rem;
    font-size: .78rem;
    font-weight: 700;
  }

  .header-mobile-actions .header-language-button.dropdown-toggle::after {
    margin-left: .15rem;
  }

  .header-mobile-action {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0 .5rem;
    color: #fff;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .22rem;
    font-size: .78rem;
    font-weight: 700;
  }

  .header-mobile-action:hover {
    color: var(--gold);
  }

  .header-mobile-actions .language-menu,
  .header-mobile-actions .dropdown-menu.language-menu,
  .header-mobile-actions .language-menu.show {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    margin: 0;
    box-sizing: border-box;
  }

  .header-mobile-actions .language-menu .dropdown-item {
    width: 100%;
  }

  .header-mobile-menu > .btn-header-quote {
    width: 100%;
  }

  .header-mobile-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .header-mobile-phone {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
  }

  .header-mobile-phone > i {
    color: var(--gold);
    font-size: 1.15rem;
  }

  .header-mobile-phone span,
  .header-mobile-phone small {
    display: block;
  }

  .header-mobile-phone small {
    margin-top: .15rem;
    color: rgba(255, 255, 255, .62);
    font-size: .68rem;
    font-weight: 500;
  }
}

@media (max-width: 991.98px) {
  .site-footer .row {
    --bs-gutter-y: 1.75rem;
  }

  .site-footer .row > div {
    padding-top: 0;
  }

  .storefront-card-media,
  .storefront-card-media img {
    min-height: 220px;
    height: 220px;
  }
}

@media (max-width: 767.98px) {
  .footer-bottom,
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .site-header .brand-mark {
    width: 32px;
    flex-basis: 32px;
  }

  .site-header .brand-copy strong {
    font-size: 1.05rem;
  }

  .site-header .brand-copy small {
    margin-top: .3rem;
    padding-left: 0;
    font-size: .78rem;
    letter-spacing: .14em;
  }

  .header-mobile-tools .header-icon-button,
  .header-mobile-tools .navbar-toggler {
    min-width: 38px;
    width: 38px;
    height: 38px;
  }

  .header-mobile-actions {
    gap: .35rem;
  }

  .header-mobile-action,
  .header-mobile-actions .header-language-button {
    padding: 0 .25rem;
    font-size: .7rem;
  }

  .header-mobile-action span:not(.cart-count):not([data-current-language]) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-mobile-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .storefront-card-media,
  .storefront-card-media img {
    min-height: 250px;
    height: 250px;
  }
}
