/* UKB Shop 2.0: presentation only. Checkout and stock logic remain unchanged. */
.catalogue-section{padding:54px 0 64px}
.catalogue-section .catalogue-heading{margin-bottom:20px;align-items:center}
.catalogue-section .catalogue-heading h2{font-size:clamp(30px,4vw,46px)}
.catalogue-section .catalogue-heading p{font-size:13px;line-height:1.55}
.shop-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px}
.shop-filters[hidden]{display:none!important}
.shop-filter{font:800 12px Inter,Arial,sans-serif;cursor:pointer;min-height:40px;border:1px solid #cbdedf;border-radius:999px;background:#fff;color:#365459;padding:9px 15px;transition:background .16s,border-color .16s}
.shop-filter[aria-pressed="true"]{background:#0a7c86;color:#fff;border-color:#0a7c86}
.shop-filter:focus-visible,.shop-card__more:focus-visible,.shop-card__packs summary:focus-visible{outline:3px solid #db9c26;outline-offset:2px}
.shop-filter-count{font-size:11px;color:#587175;font-weight:700;margin-left:auto}
.catalogue-section .product-card.ukb-filter-hidden{display:none!important}
/* Always honour live stock, basket and pack-offer visibility flags. */
.catalogue-section .product-card [hidden]{display:none!important}
.catalogue-section .product-card[hidden]{display:none!important}
.catalogue-section .catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.catalogue-section .product-card{min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;border-radius:19px;box-shadow:0 5px 18px rgba(11,54,59,.045)}
.catalogue-section .product-card:hover{transform:none;box-shadow:0 9px 25px rgba(11,54,59,.07)}
.catalogue-section .product-card__image{grid-column:1;grid-row:1;min-height:0;height:184px;padding:11px 16px 2px}
.catalogue-section .product-card__image img{max-height:100%;max-width:100%;width:100%;height:100%;object-fit:contain}
.catalogue-section .product-card__body{display:contents}
.catalogue-section .shop-card__info{grid-column:1;grid-row:2;min-width:0;padding:14px 20px 17px;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.catalogue-section .product-card .featured-product-label{font-size:9px;padding:4px 8px;margin:0 0 5px}
.catalogue-section .product-card .stock-pill{max-width:100%;font-size:10px;line-height:1.25}
.catalogue-section .product-card__brand{margin:10px 0 4px;font-size:10px;line-height:1.25;letter-spacing:.05em}
.catalogue-section .product-card h3{font-size:clamp(18px,1.9vw,24px);line-height:1.2;margin:0 0 5px;letter-spacing:-.025em;overflow-wrap:anywhere}
.catalogue-section .product-card__format{font-size:12px;line-height:1.4;margin:0 0 7px;font-weight:700}
.catalogue-section .product-card__copy{display:none!important}
.catalogue-section .product-specs{display:none!important}
.catalogue-section .shop-card__more{display:inline-flex;align-items:center;font-size:12px;font-weight:800;color:#087783;text-decoration:underline;text-underline-offset:3px;padding:4px 0}
.catalogue-section .product-card .ukb-coa-card-button{font-size:10px;padding:7px 10px;margin:4px 0 0;min-height:30px}
.catalogue-section .hospira-allocation{font-size:11px;line-height:1.4}
.catalogue-section .product-card__footer,.catalogue-section .product-card__footer.preorder-footer{grid-column:1;grid-row:3;width:100%;min-width:0;margin:0;padding:14px 18px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-top:1px solid #edf2f2}
.catalogue-section .product-card__footer>strong{grid-column:1;grid-row:1;margin:0;font-size:22px;line-height:1.25}
.catalogue-section .product-card__footer .preorder-buy-stack,.catalogue-section .product-card__footer .product-buy-row{display:contents}
.catalogue-section .product-card__footer .card-qty{grid-column:2;grid-row:1;justify-self:end;max-width:126px;height:42px;grid-template-columns:34px 42px 34px}
.catalogue-section .product-card__footer .card-qty__input{width:42px}
.catalogue-section .product-card__footer .product-buy-row>.button{grid-column:1/-1;grid-row:2;width:100%;min-width:0;height:44px;min-height:44px;padding:8px 12px;white-space:normal;font-size:12px;line-height:1.25;box-shadow:none}
.catalogue-section .product-card__footer .out-of-stock-actions{grid-column:1/-1;width:100%}
.catalogue-section .product-card__footer .out-of-stock-actions .button{width:100%;min-height:42px}
.catalogue-section .product-card__footer .ukb-subscription-offer{grid-column:1/-1;width:100%}
.catalogue-section .shop-card__packs{grid-column:1/-1;min-width:0;border:1px solid #dae9e9;border-radius:11px;background:#f7fbfb;padding:0 11px}
.catalogue-section .shop-card__packs[hidden]{display:none!important}
.catalogue-section .shop-card__packs>summary{padding:10px 0;cursor:pointer;color:#087783;font-size:12px;line-height:1.3;font-weight:850}
.catalogue-section .shop-card__packs[open]{padding-bottom:9px}
.catalogue-section .shop-card__packs .preorder-offer{display:flex;max-width:100%;width:100%;margin:7px 0;gap:8px;align-items:center;justify-content:space-between;grid-column:auto;flex-wrap:wrap}
.catalogue-section .shop-card__packs .preorder-offer[hidden]{display:none!important}
.catalogue-section .shop-card__packs .preorder-offer .button{min-height:38px;font-size:11px;padding:7px 10px;white-space:normal}
@media(min-width:1160px){
  .catalogue-section .catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .catalogue-section .product-card__image{height:184px}
}
@media(max-width:760px){
  .catalogue-section{padding:43px 0 54px}
  .catalogue-section .catalogue-heading h2{font-size:clamp(29px,7vw,37px)}
  .catalogue-section .catalogue-heading p{font-size:12px}
  .catalogue-section .catalogue-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .shop-filters{gap:7px}
  .shop-filter{padding:9px 12px;min-height:38px;font-size:11px}
  .shop-filter-count{width:100%;margin:0 0 2px}
  .catalogue-section .product-card{grid-template-columns:130px minmax(0,1fr);grid-template-rows:auto auto;border-radius:18px}
  .catalogue-section .product-card__image{grid-column:1;grid-row:1;height:148px;min-height:0;padding:13px 8px 10px}
  .catalogue-section .shop-card__info{grid-column:2;grid-row:1;padding:14px 13px 12px 0;min-width:0}
  .catalogue-section .product-card__brand{margin:5px 0 2px;font-size:9px}
  .catalogue-section .product-card h3{font-size:18px;line-height:1.22}
  .catalogue-section .product-card__format{font-size:11px;line-height:1.35;margin:0 0 4px}
  .catalogue-section .product-card .featured-product-label{margin-bottom:4px;padding:3px 7px}
  .catalogue-section .product-card .stock-pill{font-size:9px}
  .catalogue-section .shop-card__more{font-size:11px;padding:2px 0}
  .catalogue-section .product-card .ukb-coa-card-button{font-size:10px;margin:3px 0 0;padding:5px 8px}
  .catalogue-section .product-card__footer,.catalogue-section .product-card__footer.preorder-footer{grid-column:1/-1;grid-row:2;padding:13px 15px 16px;gap:10px}
  .catalogue-section .product-card__footer>strong{font-size:20px}
  .catalogue-section .product-card__footer .product-buy-row>.button{font-size:13px}
  section[aria-labelledby="ukb-size-title"]{padding:32px 0!important}
}
@media(max-width:375px){
  .catalogue-section .product-card{grid-template-columns:112px minmax(0,1fr)}
  .catalogue-section .product-card__image{height:136px}
  .catalogue-section .product-card h3{font-size:17px}
  .catalogue-section .product-card__footer,.catalogue-section .product-card__footer.preorder-footer{padding-inline:10px}
}
@media(prefers-reduced-motion:reduce){.shop-filter,.catalogue-section .product-card{transition:none}}

/* Desktop catalogue: consistent purchase actions and calmer cards (mobile unchanged). */
@media(min-width:761px){
.catalogue-section .catalogue-grid{gap:18px}
.catalogue-section .product-card{border:1px solid #dbe8e8;background:#fff;box-shadow:0 4px 18px rgba(13,50,56,.045);transition:border-color .18s,box-shadow .18s}
.catalogue-section .product-card:hover{border-color:#b8d4d7;box-shadow:0 9px 26px rgba(13,50,56,.08)}
.catalogue-section .product-card--featured{border-color:#a9cfd1}
.catalogue-section .product-card--featured-pink{border-color:#dba9bc;background:#fff}
.catalogue-section .product-card--featured-pink:hover{border-color:#cc8cac;box-shadow:0 9px 26px rgba(160,61,107,.1)}
.catalogue-section .product-card__image{height:184px;padding:12px 18px 5px;background:linear-gradient(#fafcfd,#fff)}
.catalogue-section .shop-card__info{padding:15px 19px 19px}
.catalogue-section .product-card h3{font-size:clamp(18px,1.8vw,22px);line-height:1.22;min-height:2.44em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.catalogue-section .product-card__format{font-size:12px;line-height:1.35;min-height:2.7em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.catalogue-section .product-card__brand{margin:9px 0 5px}
.catalogue-section .shop-card__more{padding:5px 0}
.catalogue-section .product-card__footer,.catalogue-section .product-card__footer.preorder-footer{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px 44px minmax(40px,auto);column-gap:10px;row-gap:9px;padding:14px 18px 15px;align-content:end;background:#fff}
.catalogue-section .product-card__footer>strong{grid-column:1;grid-row:1;align-self:center}
.catalogue-section .product-card__footer .card-qty{grid-column:2;grid-row:1;align-self:center}
.catalogue-section .product-card__footer .product-buy-row>.button{grid-column:1/-1;grid-row:2;height:44px;min-height:44px;border-radius:10px;font-size:12px}
.catalogue-section .product-card__footer .out-of-stock-actions{grid-column:1/-1;grid-row:2;align-self:stretch}
.catalogue-section .product-card__footer .out-of-stock-actions .button{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
.catalogue-section .product-card__footer .shop-card__packs{grid-column:1/-1;grid-row:3;align-self:stretch;margin:0;border:1px solid #e1eaea;background:#f7fafa;border-radius:9px}
.catalogue-section .product-card__footer .shop-card__packs>summary{min-height:38px;display:flex;align-items:center;padding:8px 10px;font-size:11px;line-height:1.25;color:#146f78}
.catalogue-section .product-card__footer .ukb-subscription-offer{grid-column:1/-1;grid-row:4}
.catalogue-section #hospira-30ml .hospira-allocation{margin:9px 0 10px;padding:9px 11px 10px;border-radius:11px;background:#f8fbfb;border-color:#e1eaea}
.catalogue-section #hospira-30ml .hospira-allocation__eyebrow{font-size:9px;letter-spacing:.04em;margin:0 0 7px}
.catalogue-section #hospira-30ml .hospira-allocation__counts{gap:8px;margin-bottom:8px}
.catalogue-section #hospira-30ml .hospira-allocation__value{font-size:22px}
.catalogue-section #hospira-30ml .hospira-allocation__label{font-size:10px;line-height:1.25;margin-top:1px}
.catalogue-section #hospira-30ml .hospira-allocation__notice{padding:8px 10px;border-radius:8px;background:#eef4f4}
.catalogue-section #hospira-30ml .hospira-allocation__heading{font-size:11px;margin-bottom:2px}
.catalogue-section #hospira-30ml .hospira-allocation__cta{font-size:10px;line-height:1.35}
.catalogue-section #hospira-30ml .hospira-allocation__held{font-size:10px;margin:6px 0 0}
}


/* Visible pack offers: one full-width row per deal on every screen size.
   The catalogue footer uses display:contents for its buying stack, so each
   offer becomes a grid item. Explicitly span BOTH grid columns or 5-packs
   get squeezed beside 10-packs on phones. */
.catalogue-section .product-card__footer .preorder-offer{
  box-sizing:border-box;
  grid-column:1 / -1;
  grid-row:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) max-content;
  align-items:center;
  gap:12px;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
  padding:13px 14px;
  border:1px solid #cde2e1;
  border-radius:13px;
  background:#f4f9f8;
}
.catalogue-section .product-card__footer .preorder-offer__copy{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
  max-width:100%;
}
.catalogue-section .product-card__footer .preorder-offer__copy small{
  font-size:10px;
  line-height:1.25;
  letter-spacing:.04em;
}
.catalogue-section .product-card__footer .preorder-offer__copy strong{
  font-size:17px;
  line-height:1.2;
  overflow-wrap:normal;
}
.catalogue-section .product-card__footer .preorder-offer>.button{
  box-sizing:border-box;
  justify-self:end;
  width:auto;
  min-width:104px;
  max-width:138px;
  min-height:44px;
  padding:10px 13px;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  white-space:nowrap;
  text-align:center;
}
@media(max-width:760px){
  .catalogue-section .product-card__footer .preorder-offer{
    grid-column:1 / -1;
    min-width:0;
    padding:12px 13px;
    gap:10px;
  }
  .catalogue-section .product-card__footer .preorder-offer__copy strong{
    font-size:16px;
  }
  .catalogue-section .product-card__footer .preorder-offer>.button{
    min-width:102px;
    max-width:132px;
    padding:10px 11px;
    font-size:12px;
  }
}
@media(max-width:360px){
  .catalogue-section .product-card__footer .preorder-offer{
    padding:11px 10px;
    gap:8px;
  }
  .catalogue-section .product-card__footer .preorder-offer__copy strong{
    font-size:15px;
  }
  .catalogue-section .product-card__footer .preorder-offer>.button{
    min-width:96px;
    font-size:11px;
    padding:10px 8px;
  }
}
/* UKB10 restored to the same standard pack-row layout as other products. */

/* UKB10 unlabelled pack: no potentially misleading labelled-vial image in basket. */
.basket-item.basket-item--unlabelled{grid-template-columns:minmax(0,1fr) auto}
.basket-item--unlabelled .basket-item__sku{font-weight:800;color:#075965;margin-top:5px}
.ukb-unlabelled-disclosure[hidden]{display:none!important}
.ukb-unlabelled-disclosure{margin:12px 18px 20px;padding:16px 18px;background:#fff9eb;border:2px solid #d7a63b;border-radius:12px;color:#493b17;font-size:13px;line-height:1.55}
.ukb-unlabelled-disclosure>strong{display:block;font-size:15px;color:#684400;letter-spacing:.015em}
.ukb-unlabelled-disclosure p{margin:7px 0 12px}
.ukb-unlabelled-disclosure label{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #e1c985;padding:11px 12px;border-radius:9px;cursor:pointer;font-weight:750;color:#493b17}
.ukb-unlabelled-disclosure label input{margin:3px 0 0;flex:none;width:18px;height:18px;accent-color:#0a7c86}
@media(max-width:600px){.ukb-unlabelled-disclosure{margin:10px 12px 16px;padding:14px 13px}}


/* Desktop catalogue alignment pass (1 Nov 2026).
   Equal grid-card edges, shared image height and top-aligned buying controls.
   All mobile product and checkout layouts remain unchanged. */
@media(min-width:761px){
  .catalogue-section .product-card{min-width:0;align-self:stretch}
  .catalogue-section .product-card__footer,
  .catalogue-section .product-card__footer.preorder-footer{
    align-content:start;
    grid-template-rows:42px 44px;
    grid-auto-rows:auto;
    min-width:0;
  }
  .catalogue-section .product-card__footer .preorder-offer{
    min-height:70px;
    grid-template-columns:minmax(0,1fr) 138px;
    gap:12px;
  }
  .catalogue-section .product-card__footer .preorder-offer>.button{
    width:100%;
    max-width:none;
    min-width:0;
    white-space:normal;
    overflow-wrap:normal;
    line-height:1.25;
  }
  .catalogue-section .shop-card__info .shop-card__more{margin-top:auto}
}
@media(min-width:1000px){
  /* Two comfortable product cards per row, not three cramped columns. */
  .catalogue-section .catalogue-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:20px;
  }
  .catalogue-section .product-card,
  .catalogue-section .product-card.product-card--bulk-offers{
    position:relative;
    width:100%;
    height:100%;
    min-height:0;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:224px minmax(0,1fr) auto;
  }
  .catalogue-section .product-card__image{
    grid-column:1;
    grid-row:1;
    height:224px;
    min-height:0;
    padding:15px 22px 8px;
    box-sizing:border-box;
  }
  .catalogue-section .shop-card__info{
    grid-column:1;
    grid-row:2;
    box-sizing:border-box;
    width:100%;
    height:100%;
    min-height:248px;
    padding:18px 22px 20px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
  }
  .catalogue-section .shop-card__info .stock-pill,
  .catalogue-section .shop-card__info .status-badge-row{
    min-height:26px;
    box-sizing:border-box;
  }
  .catalogue-section .shop-card__info .product-card__brand{
    min-height:26px;
    display:flex;
    align-items:flex-end;
    margin:9px 0 6px;
  }
  .catalogue-section .shop-card__info .product-title-link{
    display:block;
    width:100%;
  }
  .catalogue-section .shop-card__info h3{min-height:2.44em}
  .catalogue-section .shop-card__info .shop-card__more{margin-top:auto}
  /* Keep the featured badge, without pushing that product's title down. */
  .catalogue-section .product-card .featured-product-label{
    position:absolute;
    z-index:2;
    top:12px;
    left:15px;
    max-width:calc(100% - 30px);
    margin:0;
  }
  .catalogue-section .product-card__footer,
  .catalogue-section .product-card__footer.preorder-footer{
    box-sizing:border-box;
    grid-column:1;
    grid-row:3;
    width:100%;
    height:100%;
    padding:16px 22px 20px;
    align-content:start;
  }

}
