/* ==========================================================================
   General Price Styles
   ========================================================================== */

.price {
    font-weight: 700;
    font-size: 2.8rem;
    font-family: 'ArchivoNarrow-Regular';
}

.cart-summary .price {
	font-size: 1.5rem;
	font-family: Arial;
    margin-right:18px;
}

.prices-tier .price,
.additional-attributes-wrapper .price {
	font-weight: normal;
        font-size: revert;
        font-family: Arial;
}

.prices-tier .price-wrapper.price-excluding-tax,
.prices-tier .price-wrapper.price-including-tax{
    display:inline-block;
}

.prices-tier .price-container .price-including-tax + .price-excluding-tax:last-child:after{
    content: revert;
}

/*.price-container .price {
  font-size: 1.4rem;
} */

.catalog-product-view .price-container .price {
/*  font-weight: normal;*/
}

.price-excluding-tax span.price {
  display: block;
}

.price-including-tax,
.price-excluding-tax {
/*  font-size: 1.8rem; */
  line-height: 1;
}

.minimal-price-link,
.price-excluding-tax,
.price-including-tax {
  display: block;
  white-space: nowrap;
}

/*.price-container .price-including-tax + .price-excluding-tax,
.price-container .weee {
  margin-top: -6px;
}*/

/* ==========================================================================
   Product Grid & Listing Styles
   ========================================================================== */

.custom-product-price {
/*   font-weight: 700; */

}

/* This container pushes the entire price block to the right */
.catalog-category-view .custom-product-price,
.catalogsearch-result-index .custom-product-price {
  display: inline-flex;
  justify-content: flex-end;
  margin-top: 1rem;
  vertical-align: bottom;
  width: 78%;
}



.product-item .price-box {
  margin: 10px 0 25px;
}

.product-item .price-box .price {
  white-space: nowrap;
}

.catalog-category-view .product-item .price-box,
.catalogsearch-result-index .product-item .price-box {
  margin: 0;
}

.products.wrapper.grid.products-grid li.item.product.product-item.custom-item .price {
  font-family: 'ArchivoNarrow-Regular' !important;
}

/* ==========================================================================
   Price Label Alignment Fix (VAT Label)
   ========================================================================== */

/* 1. Turn the price wrapper into a flex container */
.price-wrapper.price-including-tax,
.price-wrapper.price-excluding-tax {
  display: flex;
  align-items: baseline;
}

/* 2. Remove the old, problematic ::before pseudo-element */
.price-wrapper.price-including-tax::before,
.price-wrapper.price-excluding-tax::before,
.price-including-tax:before,
.price-excluding-tax:before,
.weee[data-label]:before {
  content: none !important;
  display: none !important;
}

/* 3. Create the ::after pseudo-element for the label */
/* This applies the common styles for both Inc and Exc VAT labels */
.price-wrapper[data-label="Inc Vat"]::after,
.price-wrapper[data-label="Exc Vat"]::after,
.price-wrapper[data-label="Incl. Tax"]::after,
.price-wrapper[data-label="Excl. Tax"]::after {
  white-space: pre-wrap; /* This allows the line break to work */
  font-weight: normal;
  margin-left: 0.5em;
  color: #575757;
  text-align: left; /* Ensures text aligns left after the line break */
  line-height: 1.1; /* Adjust line spacing if needed */
  position: relative;
  top: -1rem;
  width: 3rem;
}

.product-page-main .price-wrapper[data-label="Inc Vat"]::after,
.product-page-main .price-wrapper[data-label="Exc Vat"]::after,
.product-page-main .price-wrapper[data-label="Incl. Tax"]::after,
.product-page-main .price-wrapper[data-label="Excl. Tax"]::after{
    font-size: 1.2rem;
    white-space: pre;
    top: -1.3rem;
    position: relative;
    margin-left: .5rem;
}

/* 4. Set the specific content for each label with a line break (\A) */
.price-wrapper[data-label="Inc Vat"]::after,
.price-wrapper[data-label="Incl. Tax"]::after{
  content: 'INC\A VAT';
}

.price-wrapper[data-label="Exc Vat"]::after,
.price-wrapper[data-label="Excl. Tax"]::after{
  content: 'EXC\A VAT';
}


/* ==========================================================================
   Product Page & Component-Specific Styles
   ========================================================================== */

.product-info-main-2 .price-box.price-final_price .price-including-tax span.price,
.product-info-main-2 .price-box.price-final_price .price-excluding-tax span.price {
  color: #4D4D51;
  font-family: 'ArchivoNarrow-Regular' !important;
  font-size: 3.8rem;
  font-style: normal;
  font-weight: bold;
  line-height: 65px;
}

.product-info-main-2 .price-box.price-final_price .price-excluding-tax {
  margin: 0 !important;
  position: relative;
}

.product-options-bottom .price-box,
.product-info-price .price-box {
  color: #575757;
  display: table-cell;
  padding-bottom: 17px !important;
  vertical-align: top;
}

/* Styles for decimal/currency parts of the price in various locations */
.stickyCart .stickyChild .clSticky span.price span.price-last,
.product-info-main-2 .price-box.price-final_price span.price span.price-last,
.block.related .product-item-details span.price span.price-last,
.products.wrapper.grid.products-grid li.item.product.product-item.custom-item span.price span.price-last {
  display: inline-block;
/*  font-size: 30px !important; */
  vertical-align: top;
}

.stickyCart .stickyChild .clSticky span.price span.price-first,
.product-info-main-2 .price-box.price-final_price span.price span.price-first,
.block.related .product-item-details span.price span.price-first,
.products.wrapper.grid.products-grid li.item.product.product-item.custom-item span.price span.price-first {
  display: inline-block;
/*  font-size: 30px !important; */
/*  margin-right: 5px; */
  vertical-align: top;
}

.header.content .minicart-wrapper .price-including-tax span.price,
.header.content .minicart-wrapper .price-excluding-tax span.price {
  color: #1979C3 !important;
  display: block;
  font-family: 'ArchivoNarrow-Regular';
  font-size: 14px !important;
  font-weight: bold;
  margin-top: 1px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 769px),
print {
  .product-options-bottom .price-box .price-container,
  .product-info-price .price-box .price-container {
    font-size: 21px;
  }

  .product-options-bottom .price-box .price-container .price,
  .product-info-price .price-box .price-container .price {
    font-size: 36px;
    line-height: 36px;
  }

  .product-options-bottom .price-box .price-including-tax + .price-excluding-tax .price,
  .product-info-price .price-box .price-including-tax + .price-excluding-tax .price {
    font-size: 1.4rem;
    line-height: 16px;
  }
}

@media (max-width: 767.98px) {
    .catalog-category-view .custom-product-price,
    .catalogsearch-result-index .custom-product-price {
        margin-top: -4rem;
        z-index:-100;
    }
    .header.content .minicart-wrapper .price-excluding-tax span.price {
        margin-top: 7px;
    }
    .header.content .minicart-wrapper .price-including-tax span.price {
        margin-top: 7px;
    }
    .cms-index-index .header.content .minicart-wrapper .price-including-tax span.price {
        margin-top: 11px;
    }
    .cms-index-index .header.content .minicart-wrapper .price-excluding-tax span.price {
        margin-top: 11px;
    }
}
