/* Aksim Surgical (aksimsurgical.co.uk) - custom CSS
   Loaded from Squarespace: Settings > Advanced > Code Injection > Header
   Migrated from Squarespace's Custom CSS panel + Code Injection footer <style> on 2026-11-17. */

/* Scope styles ONLY to the product details and lists to protect the header */
.sqs-product-quick-view .product-price, 
.pdp-details .product-price, 
.product-price-value {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 15px;
}

/* Specific targeting for the VAT rows to avoid affecting header elements */
.sale-price[data-vat-applied="true"], 
.original-price[data-vat-applied="true"] {
  display: flex !important;
  flex-direction: row;
  gap: 8px;
  text-decoration: none !important;
}

.original-price[data-vat-applied="true"] .price-number {
  text-decoration: line-through !important;
  opacity: 0.6;
}

.vat-row small {
  font-size: 0.72em;
  opacity: 0.7;
  margin-left: 3px;
  text-decoration: none !important;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile Tweak */
@media screen and (max-width: 768px) {
  .product-price-value {
    flex-direction: column !important;
    gap: 2px;
  }
}

/*START Search bar Styling*/

.sqs-block-search {
 padding-top:0 !important;
 padding-bottom:0 !important;
}
.cf li{
 vertical-align:middle;
}
.search-input {
 background-color: white !important;
 max-width:200px;

}
.search-input::-webkit-input-placeholder {
  color: black;
}

.search-input:-moz-placeholder { /* Firefox 18- */
  color: black;  
}

.search-input::-moz-placeholder {  /* Firefox 19+ */
  color: black;  
}

.search-input:-ms-input-placeholder {  
  color: black;  
}

/*END Search bar Styling*/

/*START Stacking shop categories on mobile*/

@media screen and (max-width: 575px) {

  .products.collection-content-wrapper .nested-category-children {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: hidden;
    padding-top: 10px;
  }

/*START Styling Categories on Mobile Only*/
.nested-category-breadcrumb-list-item,
.category-item {
border-radius: 3px;
color: #000000;
background-color: #ffffff;
border: 1px solid #000000 !important;
padding: 2px 10px !important;
margin: 3px !important;
}
/*END Styling Categories on Mobile Only*/

/*START Remove Shop Category Separator */

.products.collection-content-wrapper .breadcrumb-separator {
  display: none;
}
/*END Remove Shop Category Separator */

}
/*END Stacking shop categories on mobile*/

/*START Minimising Padding */

.ProductItem-nav {
  padding-bottom: 5px;
}
.products.collection-content-wrapper {
    padding-top: 2px;
    padding-bottom: 4vw;
}
.tweak-product-basic-item-content-alignment-top .ProductItem-details, .tweak-product-basic-item-gallery-design-stacked .ProductItem-details {
    padding-top: 10px;
}

@media screen and (max-width: 767px) {
       .ProductItem-gallery {
                padding-bottom: 5px;
               width: 100%;
        }
     .ProductItem-details h1.ProductItem-details-title {
            margin: 0 0 5px;
    }
      .ProductItem-details .ProductItem-product-price .product-price {
            margin-bottom: 5px;
}
}

/*END Minimising Padding */
/* Widen and clean up the search results dropdown */
.sqs-search-preview-ui {
  width: 420px !important;
  max-width: 90vw;
}

.sqs-search-preview-ui .search-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
}

.sqs-search-preview-ui .sqs-main-image-container {
  float: none !important;
  width: 60px !important;
  flex-shrink: 0;
  margin-left: 0 !important;
  box-shadow: none !important;
}

.sqs-search-preview-ui .sqs-search-ui-item {
  flex: 1;
  min-width: 0;
}

.sqs-search-preview-ui .sqs-title,
.sqs-search-preview-ui .sqs-content {
  white-space: normal;
  overflow-wrap: break-word;
}

/* ================================================================== *
 * Migrated from Squarespace Code Injection > FOOTER <style> block.
 * Kept LAST in this file: it used to load after the Custom CSS panel,
 * so its rules (e.g. .product-price-value column layout, .vat-row small)
 * must keep overriding the ones above.
 * ================================================================== */

/* Reset container */
.product-price-value {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.vat-row small {
  font-size: 0.7em;
  margin-left: 3px;
  opacity: 0.7;
}

/* Clean up SQSP defaults */
.product-price-value .visually-hidden { display: none !important; }

/* Search results: ex/inc VAT price added by site.js section 3 */
.search-vat-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-weight: bold;
  margin: 10px 0;
}

/*START Desktop header layout: logo | nav centred | wide search | Login Cart
  !important throughout: Squarespace header/search sheets load after this file. */
.header-display-desktop .header-title-nav-wrapper {
  flex: 1 1 auto !important;
  align-items: center !important;
}
.header-display-desktop .header-nav,
.header-display-desktop .header-nav-wrapper {
  flex: 1 1 auto !important;
  width: 100% !important;
}
.header-display-desktop .header-nav-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100% !important;
}
/* auto margins either side of the link group = centred between logo and search */
.header-display-desktop .header-nav-list > .header-nav-item:first-child {
  margin-left: auto !important;
}
.header-display-desktop .header-nav-list > .header-nav-item--external {
  flex: 0 1 45% !important;
  min-width: 220px !important;
  margin-left: auto !important;
  margin-right: 20px !important; /* breathing room before Login */
}
.header-display-desktop .header-nav-item--external .sqs-block-search,
.header-display-desktop .header-nav-item--external .sqs-block-content,
.header-display-desktop .header-nav-item--external .sqs-search-wrapper,
.header-display-desktop .header-nav-item--external .sqs-search-ui-text-input {
  width: 100% !important;
  max-width: none !important;
}
.header-display-desktop .header-nav-item--external .search-input {
  width: 100% !important;
  max-width: none !important;
}
/*END Desktop header layout*/

/*START Shop listing prices: centred under the centred product titles.
  Scoped to product grids only; the product page keeps its left-aligned layout.
  !important: Squarespace sheets load after this file. */
.product-list-item-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.product-list-item-price .sale-price[data-vat-applied="true"],
.product-list-item-price .original-price[data-vat-applied="true"] {
  justify-content: center !important;
  flex-wrap: wrap !important;
  column-gap: 8px !important;
  row-gap: 0 !important;
}
.product-list-item-price .vat-row {
  white-space: nowrap !important; /* keep "(ex VAT)" next to its price */
}
/*END Shop listing prices*/

/*START Smaller struck-through original price (product page, shop grid, You Might Also Like) */
.original-price[data-vat-applied="true"] {
  font-size: 0.8em !important;
}
/*END Smaller original price*/
