/*  To be fixed in AHD-7091 */
  
  @media (max-width: 767.98px) {
    .brand-header .brand-header-logo {
      display: flex; 
      align-items: center;
    }

    .brand-header.fixedPosition {
      top: 0;
    }
    /*.brand-header-slot-container {
      z-index: 100000;
      position: relative;
    }*/
  }

  .upseller-inner .upseller-lede h4 {
    display: none;
  }

  /* To be fixed in AHD-7091 */
  .forgot-password {
    font-size: 15px;
  }


  .page:not(.js-webview) .app-show {
    display: none;
  }

  .page.js-webview .app-hide {
    display: none;
  }

  /* END OF To be fixed in AHD-7091 */


  /*.gift-registry-sidebar .gr-user-guest {
    display: none;
  }*/


  .product-rec .availability-badges,
  .product-rec .badge-container,
  .product-rec .wishlist,
  .product-rec .plp-quickview {
    display: none !important;
  }

  .custom-badge.custom-badge-price-drop {
    background: #ea0029;
  }

  .datedContent {
    display: none !important;
  }

  /* Global CTA Styles */
  .btn.cta {
    color: #707070;
    display: inline-flex;
    font-weight: 700;
    font-size: 0.94rem !important;
    padding: .2em .6em !important;
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
    border: 2px solid transparent;
    white-space: unset;
    height: auto !important;
    line-height: 1.2;
  }


  /* bogo dropdown style - SL 2022-05-17 */

  .promotions div.promo-wrap .content {
    color: black;
    font-size: 0.85rem;
  }

  .promotions div.promo-wrap button.callout {
    font-size: 1rem;
  }

  /* End bogo dropdown style */

  /* Variable Font Changes */
  @supports (font-variation-settings: normal) {
    header > .header, 
    .navbar-nav .item-level-1>a,
    .product .product-tile .tile-body {
      font-weight: 500;
    }
    .alert-danger {
      font-weight: 500;
    }
  }


  @media (min-width: 576px) {

    /* larger size for non-mobile */
    .btn.cta {
      font-size: 0.94rem;
    }
  }

  .btn.cta:hover {
    text-decoration: none;
  }

  .btn.cta .icon {
    width: 1em !important;
    height: 1em !important;
  }

  svg.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    stroke: currentColor;
  }

  svg.icon-stroke {
    width: 1em;
    height: 1em;
    stroke: currentColor;
  }

  .cta svg.icon {
    margin-left: .34rem;
    stroke-width: 0;
    /* 5px */
  }

  .cta.cta-dark {
    color: #003865;
  }

  .cta.cta-primary {
    color: #00A9CE;
  }

  .cta.cta-light {
    color: #fff;
  }

  .cta.cta-outline {
    border-color: currentColor;
  }

  .cta.cta-fill {
    background: #fff;
  }

  .cta.cta-light.cta-fill {
    background: #003865;
  }

  .cta.cta-icon-only .icon {
    margin: 0;
  }

  section.content-section {
    margin: 2rem 0;
  }

  @media (min-width: 544px) {
    section.content-section {
      margin: 3rem 0;
    }
  }

  section.content-section:first-child,
  section.content-section.first-section {
    margin: 0 0 2rem;
  }


  /*  SITE HEADER align left and right edges */

  .header.container>.row>.col-12 {
    padding-right: 0;
    padding-left: 0;
  }

  .home-categories .container,
  .home-categories .container-fluid,
  .home-categories.container {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
  }

  @media (max-width: 767.98px) {
    .home-categories .house-tiles {
      max-width: calc(100% - 2rem);
    }
  }

  .house-tiles {
    margin-top: 0;
    text-align: center;
  }

  .house-tiles .btn.cta {
    padding-left: 0;
    padding-right: 0;
  }

  @media (min-width: 768px) {
    .house-tiles-four {
      max-width: 80%;
    }
  }

  .house-tiles a {
    margin-top: 2rem;
    text-align: center;
  }

  .house-tiles img {
    max-width: 100%;
  }

  .house-tile-banner {
    position: relative;
    display: block;
    height: 22px;
    margin-top: -22px;
    width: 100%;
    background-color: #E61E2E;
    padding: 2px 2px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .content-row a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .content-row img {
    width: 100%;
  }

  .content-row.row {
    margin-left: -.5rem;
    margin-right: -.5rem;
    margin-top: -2rem;
  }

  .content-row>div {
    padding-left: .5rem;
    padding-right: .5rem;
    margin-top: 2rem;
  }

  .content-row .btn.cta {
    white-space: nowrap;
  }

  .level-2-content .content-asset {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .endcap-section {
    box-sizing: border-box;
    font-size: 15px;
    margin: .67em .67em 0;
    padding: .67em;
    text-align: left;
    color: #000;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .endcap-section:last-child {
    margin-bottom: .67em;
    flex-grow: 2;
  }

  .endcap-promo {
    display: none;
  }

  .menu-flyout .endcap-promo,
  .item-level-1.show .endcap-promo {
    display: block;
  }

  .endcap-promo a {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .endcap-promo-house {
    max-width: 90px;
  }

  .endcap-promo-copy {
    margin-left: .625rem;
  }

  .endcap-promo-copy strong {
    font-weight: bold;
    display: block;
  }

  .endcap-promo-copy p {
    letter-spacing: .9px;
    padding: 0;
    margin: 0;
  }

  .endcap-section .endcap-link-list,
  .endcap-section .endcap-link-list li a {
    font-size: .875rem;
    line-height: 1.3;
  }

  .endcap-link-list .endcap-list-title {
    font-weight: 700;
    text-transform: uppercase;
    margin: 1em 0 .3em;
  }

  .endcap-link-list:first-child .endcap-list-title {
    margin-top: 0
  }

  @media (min-width: 576px) and (max-width: 991.98px) {
    .endcap-promo {
      text-align: center;
    }

    .endcap-promo a {
      flex-direction: column;
    }

    .endcap-promo-copy {
      margin-top: .625rem;
      margin-left: 0;
    }
  }

  @media (max-width: 575.98px) {
    .endcap-special-links {
      display: none;
    }
  }


  /* Height overrides top nav dropdowns */

  .lv1-clearance .level-2-dropdown {
    height: 270px;
    margin-bottom: 110px;
  }

  /*
  .store-hours-header {
    display: none;
  }

  #checkout-main .shipping-content .store-hours {
    display: none;
  }

*/
  /* --- Temp Fixes --- */

  /* Product Inventory Call-out above cart */

  .product-highlights-container span.highlight-message {
    font-family: Ubuntu, sans-serif;
    font-size: 17px;
  }

  .primary-content .no-results-section .helpful-hints h4 {
    display: none;
  }

  .helpful-hints p:before {
    content: "Some Helpful Hints";
    display: block;
    font-size: 1rem;
    margin-bottom: .25rem;
    color: black;
  }


  /* Store Modal */

  .store-features-block {
    color: #717271;
    font-size: 13px;
    line-height: .9;
    margin-top: 16px;
  }

  .store-features-block-inner,
  .store-features-block-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .store-features-block-inner {
    column-gap: 10px;
  }

  .store-features-block-item {
    column-gap: 4px;
  }

  .store-temporarily-closed {
    display: none;
  }

  #store-current-location[data-store="Colorado-Johnstown"] .local-delivery-callout {
    display: none;
  }

  #findanotherstoreoverlay .fis-search {
    padding: 0 32px;
  }

  @media (max-width: 389px) {
    #findanotherstoreoverlay .fis-college-text {
      display: none;
    }
  }

  /* Move to backend */
  @media (min-width: 768px) and (max-width: 1139.98px) {
    .container {
      max-width: calc(100% - 24px);
    }
  }


  .product-rec .splide .splide__pagination {
    display: none;
  }

  /* Temp until Splide Upgrade */

  @media screen and (min-width: 662px) {
    .cpr-review-gallery-wrapper.cpr-slide-2 .splide__arrows {
      display: none;
    }
  }

  @media screen and (min-width: 1004.98px) {
    .cpr-review-gallery-wrapper.cpr-slide-3 .splide__arrows {
      display: none;
    }
  }

  @media screen and (min-width: 1199.98px) {
    .cpr-review-gallery-wrapper.cpr-slide-5 .splide__arrows {
      display: none;
    }
  }

  @media screen and (min-width: 850px) {
    .cpr-review-gallery-wrapper.cpr-slide-4 .splide__list {
      width: auto;
      justify-content: center;
    }

    .cpr-review-gallery-wrapper.cpr-slide-4 .splide__arrows {
      display: none;
    }

    .cpr-review-gallery-wrapper.cpr-slide-1 .cpr-title,
    .cpr-review-gallery-wrapper.cpr-slide-2 .cpr-title,
    .cpr-review-gallery-wrapper.cpr-slide-3 .cpr-title,
    .cpr-review-gallery-wrapper.cpr-slide-4 .cpr-title {
      text-align: center;
    }
  }

  /* Widen Site Test */

  body .container .breadcrumb .breadcrumb-item,
  header~.container .breadcrumb-item a,
  div[data-action=Search-Show] .container .breadcrumb a,
  .breadcrumb-item+.breadcrumb-item::before {
    color: #96999A
  }

  /* FIX - Credit Cards elongated on profile */
  .payment-row.profile-row .visual-credit-card {
    height: auto;
    aspect-ratio: calc(23/14.3);
  }


  /* Force hide the .below-header-slot on cart */
  .page[data-action="Cart-Show"] .below-header-slot {
    display: none;
  }

  @media screen and (min-width: 1200px) {
    #main>.row {
      margin-left: 0;
      margin-right: 0;
    }

    .container,
    .utility-nav,
    .brand-header,
    .main-menu,
    .pdp-heading-row {
      max-width: 1440px;
    }

    .main-menu .main-nav-lists.navbar .navbar-nav .item-level-1,
    .main-menu .main-nav-lists.navbar .navbar-nav .item-level-2>a,
    .main-menu .main-nav-lists.navbar .navbar-nav .accordion-menu .item-level-3 a {
      font-size: 1rem;
    }

    .main-menu .main-nav-lists.navbar .navbar-nav .item-level-1 .level-2-container .defaultColumn {
      max-height: 450px;
    }

    .footer-container {
      justify-content: center;
    }

    #primary {
      max-width: calc(100% - 300px);
    }

    .row.product-grid>.col-sm-4 {
      -ms-flex: 0 0 25%;
      flex: 0 0 25%;
      max-width: 25%;
    }

    .secondary-template .row.product-grid>.col-sm-4 {
      -ms-flex: 0 0 20%;
      flex: 0 0 20%;
      max-width: 20%;
    }

    #secondary:not(.secondary-active).col-md-3 {
      max-width: 300px;
    }

    .secondary-template #secondary.js-producttiles+#primary {
      max-width: 100%;
    }

    .house-tiles .row>.col-md-3,
    .row.house-tiles>.col-md-3 {
      -ms-flex: 0 0 20%;
      flex: 0 0 20%;
      max-width: 20%;
    }

    .clp-house-row .clp-house-tile {
      -ms-flex: 0 0 20%;
      flex: 0 0 20%;
      max-width: 20%;
    }

    .page[data-action=Cart-Show] #main .cart-page,
    .page[data-action=Cart-Show] #main .cart-header,
    .page[data-action=Cart-Show] #main .recommendations-container,
    .page[data-action=Checkout-Confirmation] #main,
    .checkout-header,
    .checkout-header+#maincontent {
      max-width: 1140px;
      margin: 0 auto;
    }
  }


  @media screen and (min-width: 1200px) and (max-width: 1440px) {
    .header {
      padding-right: 12px;
      padding-left: 12px;
    }
  }


  /* buy box styling */
  .fbx-sublabel-small-items {
    font-size: 1rem;
  }

  .test-separated .fbx-sublabel-small-items {
    font-size: 14px;
  }

  /* Tweak for Cart AB Test */
  html:not(.hide-bb) .cart-page .cart-col-container .cart-items .product-line-item .buybox-card>.ml-md-3 {
    margin-left: 0 !important;
  }

  html:not(.hide-bb) .cart-page .cart-col-container .cart-items .product-line-item .buybox-card .card-header {
    display: none !important;
  }

  html:not(.hide-bb) .cart-page .product-line-item .buybox-card.collapsible-xl .card-body {
    display: block !important;
  }


  /* Coming Soon: Dont's show stock status on product tiles on 2 categories */

  #coming-soon-callout {
    display: none;
  }

  .coming-soon-product.product-wrapper .add-to-cart-container,
  .coming-soon-product.product-wrapper .instore-only-oos {
    display: none !important;
  }

  .coming-soon-product.product-wrapper #coming-soon-callout {
    display: flex;
    flex-direction: column;
    background-color: #D8F4F9 !important;
    color: #003764;
    padding: 24px;
    border-radius: 8px;
  }

  .coming-soon-product.product-wrapper #coming-soon-callout:before {
    content: "Coming Soon!";
    font-size: 24px;
    font-weight: 500;
    display: block;
  }

  .coming-soon-product.product-wrapper #coming-soon-callout:after {
    content: "This fave (and so much more) will be arriving soon.";
    font-size: 16px;
    display: block;
  }

  .coming-soon-product.coming-soon-christmas.product-wrapper #coming-soon-callout:after {
    content: "This Christmas fave (and so much more) will be arriving soon.";
  }

  .coming-soon-product.coming-soon-halloween.product-wrapper #coming-soon-callout:after {
    content: "This Halloween fave (and so much more) will be creepin' in soon.";
  }

  .coming-soon-product.coming-soon-fall.product-wrapper #coming-soon-callout:after {
    content: "This Fall fave (and so much more) will be dropping in soon.";
  }

  .coming-soon-product.product-wrapper .view-full-details {
    margin-top: 12px;
  }

  /* Red Pricing Override */
  .product .product-tile .tile-body .product-standard-price {
    color: #707070;
    font-size: .85rem;
    font-weight: normal;
    text-decoration: line-through;
  }

  .product .product-tile .tile-body .product-pricing[data-price-type="regular"] .product-sales-price {
    color: black;
    font-size: 1rem;
  }

  @media (max-width: 767.98px) {
    .product .product-tile .tile-body .product-pricing .product-standard-price~span.product-sales-price {
      font-size: 1rem;
    }

    .product .product-tile .tile-body .product-pricing .product-standard-price {
      font-size: .85rem;
    }
  }

  .product .product-tile .tile-body .product-pricing[data-price-type="sale"] .product-standard-price~.product-sales-price,
  .product .product-tile .tile-body .product-pricing[data-price-type="clearance"] .product-standard-price~.product-sales-price,
  .product .product-tile .tile-body .product-pricing[data-price-type="regular"] .product-standard-price~.product-sales-price,
  .gr-product-card-wrapper .product-standard-price~.product-sales-price {
    color: #ea0029 !important;
    font-weight: 700;
  }

  /* Fix for Spec image warped */
  .spec-container .primary-detail-images img {
    height: 100%;
    width: auto;
  }

  /* Default Pre-Testing - Hide savings */
  .one-price .savings-percentage,
  .product-price-saving {
    display: none;
  }

  .store-locator-details .clp-footer .clp-description-content.truncate-description>p {
    display: inline;
  }

  .store-locator-details .clp-footer .clp-description-content>p {
    display: inline-block;
  }

  .store-locator-details .clp-footer .clp-description-content>p::after {
    margin-bottom: 8px;
    display: inline-block;
  }

  .store-locator-details .clp-footer .clp-description-content.truncate-description {
    max-height: 90px;
  }



  /* Show/Hide Filter Icons */
  /*body.test-refinement-icons .refinement-card-icon {
  display: inline !important;
}

body.test-refinement-icons .refinement-card-checkbox {
  display: none !important;
}

body.test-refinement-icons .refinement-default-checkbox {
  display: none !important;
} 
*/

  /* Availability Filters */
  /* Only allow one selection at a time */
  #availabilityRefinementUUID[value*="S"]~.refinement-card:not(.selected),
  .mobile-refinement-card[data-selected*="S"] .refinement-card:not(.selected) {
    display: none !important;
  }

  /* Hide the Available in Your Store only. */
  .refinement-card.AIMS {
    display: none !important;
  }

  #secondary .refinements .refinement-availability .refinement-card.SITM .refinement-subtitle {
    text-transform: lowercase;
  }

  .pdp-details-icon {
    background-color: #f1f1f1;
    color: #598000;
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
  }

  .product-brand-banner img {
    width: 100%;
  }

  body[data-action="Product-Show"] .bfredbanner {
    opacity: 0;
  }

  .abtest-test {
    display: none;
  }

  .abtest-control {
    visibility: hidden;
  }

  .abtest-control.show {
    visibility: visible;
  }

  .page[data-querystring^="cgid=patio-garden"] .refinement-categories .up-to-parent,
  .page[data-querystring^="cgid=patio-garden"] .refinement-categories .l2-cat:not(.is-current),
  .page[data-querystring^="cgid=clearance"] .refinement-categories .up-to-parent,
  .page[data-querystring^="cgid=clearance"] .refinement-categories .l2-cat:not(.is-current),
  .page[data-querystring^="cgid=patio-garden"] .refinement-categories .l2-cat.is-current .refinement-cat ~ .icon,
  .page[data-querystring^="cgid=clearance"] .refinement-categories .l2-cat.is-current .refinement-cat ~ .icon  {
    display: none;
  }

  .QV-btn-inner-wrapper .AB-test-Label-QV { display: none; }
