/* Nutella nav logo */

.header-sidebar-menu-wrapper ul > li > #nutella {
    background-image: url(/site/SCA/global/logo-nutella-nav.png);
    background-size: auto 20px;
    background-repeat: no-repeat;
    background-position: 19px 10px;
    color: transparent;
  }
  .header-sidebar-menu-wrapper ul > li > #nutella:hover,
  .header-sidebar-menu-wrapper ul > li > #nutella:focus {
    color: transparent;
  }
  
  .header-menu-secondary-nav ul > li > #nutella {
    background-image: url(/site/SCA/global/logo-nutella.svg);
    background-size: 82%;
    background-repeat: no-repeat;
    background-position: center 45%;
    color: transparent;
  }
  .header-menu-secondary-nav ul > li > #nutella:hover,
  .header-menu-secondary-nav ul > li > #nutella:focus {
    color: transparent !important;
  }
  
  /* PDP Quantity error */
  
  @media (min-width: 991px) {
    .product-details-quantity-options {
      position: relative;
    }
    .product-details-quantity-options p#quantity-error {
      display: block;
      position: absolute;
      width: max-content;
    }
  }
  
  /* PLP Removing stars */
  
  .facets-facet-browse-items .facets-item-cell-grid-rating,
  .facets-facet-browse-items .facets-item-cell-table-rating,
  .facets-facet-browse-items .facets-item-cell-list-rating {
    display: none !important;
  }
  
  /* PLP Removing Out of Stock message, Adding MORE INFO button, Aligning Item Name and Item Details */
  
  .facets-items-collection-view-row {
      display: flex;
      align-items: stretch;
  }
  .facets-item-cell-grid,
  .facets-item-cell-table,
  .facets-item-cell-list {
      position: relative;
      height: 100%;
      display: flex;
  }
  @media(max-width: 767px) {
      .facets-item-cell-grid,
      .facets-item-cell-table {
          flex-direction: column;
      }
  }
  .facets-item-cell-grid {
      flex-direction: column;
  }
  .facets-item-cell-grid-details,
  .facets-item-cell-table-content-wrapper,
  .facets-item-cell-list-right {
      display: flex;
      flex-direction: column;
      height: 100%;
      height: stretch;
      justify-content: space-between;
  }
  .facets-item-cell-table-content-wrapper,
  .facets-item-cell-list-right {
      position: relative;
      height: fit-content;
  }
  @media(max-width: 767px) {
      .facets-item-cell-table-content-wrapper {
          height: 100%;
          height: stretch;
      }
      .facets-item-cell-table .facets-item-cell-table-title {
          margin-bottom: auto;
      }
  }
  .facets-item-cell-grid-details .itembadges-container.itembadges-container-top-left {
      width: 70px;
  }
  .facets-item-cell-table-content-wrapper .itembadges-container.itembadges-container-top-left,
  .facets-item-cell-list-right .itembadges-container.itembadges-container-top-left {
      width: 70px;
      left: -70px;
      position: absolute;
  }
  .facets-item-cell-grid .facets-item-cell-grid-title {
      margin-bottom: auto;
      min-height: initial !important;
  }
  .facets-item-cell-table .facets-item-cell-table-title,
  .facets-item-cell-list .facets-item-cell-list-title {
      min-height: initial !important;
      -webkit-line-clamp: none;
      height: initial;
  }
  .facets-item-cell-grid .facets-item-cell-grid-title h3,
  .facets-item-cell-table .facets-item-cell-table-title h3,
  .facets-item-cell-list .facets-item-cell-list-title h3 {
      -webkit-line-clamp: none;
      height: initial;
      margin-bottom: 0;
      overflow: initial;
  }
  .facets-item-cell-grid:has(.product-line-stock-msg-out-text) .facets-item-cell-grid-title:after,
  .facets-item-cell-table:has(.product-line-stock-msg-out-text) .facets-item-cell-table-title:after,
  .facets-item-cell-list:has(.product-line-stock-msg-out-text) .facets-item-cell-list-title:after,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-grid-title:after,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-table-title:after,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-list-title:after {
      content: "More Info";
      position: absolute;
      box-sizing: border-box;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 42px;
      padding: 0 10px;
      border: 1px solid #ab764b;
      border-radius: 4px;
      background: #ab764b;
      color: #fff;
      font-family: "Open Sans", sans-serif;
      font-size: .75rem;
      font-weight: 500;
      text-transform: uppercase;
      text-align: center;
      text-decoration: none;
      line-height: 1;
      margin-bottom: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
  }
  .facets-item-cell-table:has(.product-line-stock-msg-out-text) .facets-item-cell-table-title:after
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-table-title:after {
      width: calc(100% - 10px);
      left: 10px;
  }
  @media(max-width: 767px) {
      .facets-item-cell-table:has(.product-line-stock-msg-out-text) .facets-item-cell-table-title:after,
      .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-table-title:after {
          width: 100%;
          left: 0;
      }
  }
  .facets-item-cell-list:has(.product-line-stock-msg-out-text) .facets-item-cell-list-title:after,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-list-title:after {
      max-width: 192px;
      left: 15px;
  }
  .facets-item-cell-grid:has(.product-line-stock-msg-out-text) .facets-item-cell-grid-title:hover:after,
  .facets-item-cell-table:has(.product-line-stock-msg-out-text) .facets-item-cell-table-title:hover:after,
  .facets-item-cell-list:has(.product-line-stock-msg-out-text) .facets-item-cell-list-title:hover:after,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-grid-title:hover:after,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-table-title:hover:after,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-list-title:hover:after {
      border: 1px solid #ff7335;
      background: #ff7335;
  }
  .facets-item-cell-grid:has(.product-line-stock-msg-out-text) .facets-item-cell-grid-stock,
  .facets-item-cell-table:has(.product-line-stock-msg-out-text) .facets-item-cell-table-stock,
  .facets-item-cell-list:has(.product-line-stock-msg-out-text) .facets-item-cell-list-stock,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-grid-stock,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-table-stock,
  .facets-facet-browse-items [data-item-id="5546"] .facets-item-cell-list-stock {
      height: 42px;
  }
  .facets-item-cell-grid:has(.product-line-stock-msg-out-text) .product-line-stock-msg-out,
  .facets-item-cell-table:has(.product-line-stock-msg-out-text) .product-line-stock-msg-out,
  .facets-item-cell-list:has(.product-line-stock-msg-out-text) .product-line-stock-msg-out,
  .facets-facet-browse-items [data-item-id="5546"] .product-line-stock-msg-out,
  .facets-facet-browse-items [data-item-id="5546"] .product-line-stock-msg-out,
  .facets-facet-browse-items [data-item-id="5546"] .product-line-stock-msg-out {
      display: none;
  }
  .facets-item-cell-grid:has(.product-line-stock-msg-out-text) .product-line-stock-msg-out-text,
  .facets-item-cell-table:has(.product-line-stock-msg-out-text) .product-line-stock-msg-out-text,
  .facets-item-cell-list:has(.product-line-stock-msg-out-text) .product-line-stock-msg-out-text,
  .facets-facet-browse-items [data-item-id="5546"] .product-line-stock-msg-out-text,
  .facets-facet-browse-items [data-item-id="5546"] .product-line-stock-msg-out-text,
  .facets-facet-browse-items [data-item-id="5546"] .product-line-stock-msg-out-text {
      font-size: 0;
  }
  .facets-item-cell-grid:has(.product-line-stock-msg-out-text) .cart-quickaddtocart-content,
  .facets-item-cell-table:has(.product-line-stock-msg-out-text) .cart-quickaddtocart-content,
  .facets-item-cell-list:has(.product-line-stock-msg-out-text) .cart-quickaddtocart-content,
  .facets-facet-browse-items [data-item-id="5546"] .cart-quickaddtocart-content,
  .facets-facet-browse-items [data-item-id="5546"] .cart-quickaddtocart-content,
  .facets-facet-browse-items [data-item-id="5546"] .cart-quickaddtocart-content {
      display: none;
  }
  
  /* PLP Removing Out of Stock message, Adding MORE INFO button, Aligning Item Name and Item Details  END*/
  
  /* Fixing item badge position (top left) */
  
  .facets-item-cell-table-content-wrapper .itembadges-container.itembadges-container-top-left {
      left: -100%;
      top: 0;
  }
  .facets-item-cell-list-right .itembadges-container.itembadges-container-top-left {
      left: calc(-30%);
      top: 0;
  }
  .facets-item-cell-grid-details .itembadges-container.itembadges-container-top-left {
      left: 0;
      top: 0;
  }
  @media (max-width: 767px) {
      .facets-item-cell-table-content-wrapper [data-view="ItemDetails.Options"] {
          display: block;
          width: 100%;
      }   
      .facets-item-cell-table .itembadges-container.itembadges-container-top-left {
          left: 0;
          top: 0;
          margin-top: -100%;
          width: 45px;
      }
  }
  
  /* Fixing item badge position (top left) END */

/* Fixing arrows in category slider */

@media (max-width: 767px) {
 .cms-content-selector-cct_netsuite_featuredcategorycct-887 .icon-chevron-left:before, .home .carousel+.controls [data-slide=prev]:before {
    margin-top: -200px !important;
 }

.cms-content-selector-cct_netsuite_featuredcategorycct-887 .icon-chevron-right:before, .home .carousel+.controls [data-slide=next]:before {
    margin-top: -200px !important;
}
}

/* Fixing arrows in category slider END */

/* Styling Write Your Review Preview */

.product-reviews-form-preview-actions {
    padding: 0 15px 20px 15px !important;
}

@media (min-width: 1300px) {
    .product-reviews-form-preview-actions {
        padding: 0 20px 15px 20px;
    }
}

/* Styling Write Your Review Preview END */

/* Fixing PLP Advertising width */

.facets-items-collection-view-cell-span12 .plp-advertising-ad {
    max-width: 23%;
}

@media(max-width: 768px) {
    .facets-items-collection-view-cell-span12 .plp-advertising-ad {
        max-width: 100%;
    }
}

.facets-items-collection-view-cell-span6 .plp-advertising-ad {
    max-width: 40%;
}

@media(max-width: 768px) {
    .facets-items-collection-view-cell-span6 .plp-advertising-ad {
        max-width: 100%;
    }
}

.facets-items-collection-view-cell-span3 .plp-advertising-ad {
    max-width: 100%;
}

/* Fixing PLP Advertising width END */


/* Fixing PDP Stock Messages */

.product-details-full .order-description.shipping-info:has(.countdown:empty) {
    display: none !important;
}

.product-details-full [data-view="Product.Stock.Info"] {
    flex-wrap: wrap;
    margin-top: 15px;
}

.product-details-full [data-view="Product.Stock.Info"] > div:has(.inventoryavailabelwarning-info-card) {
    width: 100%;
}

/* Fixing PDP Stock Messages END */


/* Production Cold Packs card */
body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package {
  --cold-pack-control-width: 20px;
  --cold-pack-control-gap: 10px;
  --cold-pack-indent: calc(var(--cold-pack-control-width) + var(--cold-pack-control-gap));
  margin: 14px 0 18px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: #006eae;
  color: #fff;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package:focus-within {
  outline: 3px solid #202020;
  outline-offset: 3px;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-label {
  display: grid;
  grid-template-columns: var(--cold-pack-control-width) minmax(0, 1fr);
  gap: var(--cold-pack-control-gap);
  align-items: center;
  width: 100%;
  margin: 0;
  color: inherit;
  cursor: pointer;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-checkbox {
  width: var(--cold-pack-control-width);
  height: var(--cold-pack-control-width);
  margin: 0;
  accent-color: #073b5a;
  cursor: pointer;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-checkbox:disabled {
  cursor: wait;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-icon {
  color: inherit;
  font-size: 1.45rem;
  line-height: 1;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-message {
  margin: 5px 0 0 var(--cold-pack-indent);
  color: #fff !important;
  line-height: 1.35;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 9px 0 0 var(--cold-pack-indent);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1.35;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-line-label,
body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-qty,
body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-line-amount {
  color: inherit;
}

body:has(.header-logo-image[src^="https://www.cfw.co.uk/"]) .cart-summary-container [data-view="CartSummary.AfterSubtotal"] .temperature-control-package-line-amount {
  margin-inline-start: auto;
  font-weight: 700;
  white-space: nowrap;
}
