/* Diagonal free delivery ribbon in the bottom-right corner */
.card-figure > .sbs-free-delivery-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  width: 110px;
  height: 110px;
  overflow: hidden;
  pointer-events: none; }

.sbs-free-delivery-badge > .sbs-free-delivery-label {
  position: absolute;
  top: 65px;
  left: 2px;
  width: 148px;
  background-color: #005f88;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-45deg); }

/* Enlarge the mobile header icons */
@media (max-width: 767px) {
  .header .navUser-action > .header-icon.search-icon,
  .header .navUser-action > .header-icon.account-icon,
  .header .navUser-action > .header-icon.gift-icon,
  .header .navUser-item-cartLabel > .header-icon.cart-icon {
    scale: 1.40; }
  .header .mobileMenu-toggle > .mobileMenu-toggleIcon {
    scale: 1.20; } }

/* Give the mobile search icon a little more breathing room. */
@media (max-width: 767px) {
  .header .navUser-action > .header-icon.search-icon {
    translate: -6px 0; } }

/* Hide the gift certificate icon in the mobile header */
@media (max-width: 767px) {
  .header .navUser-item.gift-certificates {
    display: none; } }

/* Make the SBS UK logo slightly larger on mobile */
@media (max-width: 767px) {
  .header .header-logo img {
    scale: 1.40; } }

/* Fit the top menu on one row on landscape phones. */
@media (orientation: landscape) and (max-width: 1000px) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .header .navPages-list.nav-page-list.two
> .navPages-item > .nav-page-list > .navPages-action {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
    white-space: nowrap; } }

/* Keep page-link labels on one line in Vault menus. */
.header .nav-page-list > .navPage-subMenu
> .navPage-subMenu-list > li > .navPage-subMenu-action {
  white-space: nowrap; }

/* Widen the desktop About us dropdown and align its right edge. */
@media (min-width: 768px) {
  .header .navPages-list.nav-page-list.two
> .navPages-item > .nav-page-list {
    position: relative; }
  .header .navPages-list.nav-page-list.two
> .navPages-item > .nav-page-list > .navPage-subMenu {
    min-width: 220px;
    left: auto;
    right: 0; } }

/* Match the mobile header icons to the desktop blue. */
@media (max-width: 767px) {
  .header svg.header-icon.search-icon,
  .header svg.header-icon.account-icon,
  .header svg.header-icon.cart-icon,
  .header svg.header-icon.search-icon use,
  .header svg.header-icon.account-icon use,
  .header svg.header-icon.cart-icon use {
    color: #006599 !important;
    fill: #006599 !important; }
  .header .mobileMenu-toggle:not(.is-open) > .mobileMenu-toggleIcon,
  .header .mobileMenu-toggle > .mobileMenu-toggleIcon::before,
  .header .mobileMenu-toggle > .mobileMenu-toggleIcon::after {
    background-color: #006599 !important; } }

/* Give the current sale price more emphasis. */
.productView-price .price-now-label {
  color: #b00020;
  font-size: 16px;
  font-weight: 700; }

.productView-price .price-now-label:not([style*="display: none"]):not([style*="display:none"])
~ [data-product-price-with-tax],
.productView-price .price-now-label:not([style*="display: none"]):not([style*="display:none"])
~ [data-product-price-without-tax] {
  color: #b00020;
  font-size: 28px;
  font-weight: 700; }

.productView-price .non-sale-price--withTax,
.productView-price .non-sale-price--withoutTax,
.productView-price .price--non-sale {
  font-size: 15px; }

/* Keep the mobile basket icon steady when the item count appears. */
@media (max-width: 767px) {
  .header a:has(> .navUser-item-cartLabel + .cart-quantity) {
    position: relative; }
  .header .navUser-item-cartLabel + .cart-quantity {
    position: absolute;
    top: calc(50% - 2px);
    right: 0;
    transform: translate(35%, -105%);
    margin: 0;
    white-space: nowrap;
    pointer-events: none; } }

/* Checkout red discount name. */
.sbs-automatic-discount {
  color: #b00020; }

/* Leave a small gap below the gold banner when the homepage carousel is empty. */
body.home > .body > .heroCarousel:not(:has([data-hero-slide])) {
  margin-bottom: 20px; }

/* Limit the width of the homepage slideshow when it contains slides. */
body.home > .body > .heroCarousel:has([data-hero-slide]) {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto; }
