/* Progressive mobile browsing; desktop keeps its full catalogue layout. */
.mobile-quick-search,.mobile-category-strip,.mobile-filter-icon,.mobile-filter-label,.catalogue-filter-backdrop,.product-pricing-jump{display:none}
.product-image-link{display:block;color:inherit;text-decoration:none}
.product-card-body a.product-name{color:inherit;text-decoration:none}
.product-image-link:focus-visible,.product-card-body a.product-name:focus-visible{outline:3px solid #2563eb;outline-offset:-3px;border-radius:8px}
.product-photo-button{display:block;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in;border-radius:inherit;overflow:hidden}
.product-photo-button:focus-visible,.product-photo-close:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}
.product-photo-hint{position:absolute;right:20px;bottom:20px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fffffff0;color:#24549a;pointer-events:none;box-shadow:0 2px 7px #12345625}
.product-photo-dialog{width:min(94vw,780px);max-width:94vw;max-height:92dvh;padding:0;border:0;border-radius:16px;background:#fff;box-shadow:0 20px 60px #0004}
.product-photo-dialog::backdrop{background:#102037bd}
.product-photo-dialog-content{position:relative;padding:12px}
.product-photo-dialog img{display:block;width:100%;max-height:82dvh;object-fit:contain}
.product-photo-close{position:absolute;z-index:2;right:12px;top:12px;width:44px;height:44px;border:1px solid #ccd6e5;border-radius:50%;background:#fff;color:#183c70;box-shadow:0 3px 10px #10203725}
body.product-photo-open,body.mobile-filters-open{overflow:hidden}
.product-description-card summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none}
.product-description-card summary::-webkit-details-marker{display:none}
.product-description-card summary .product-section-title{margin:0;font-size:1rem}
.product-description-card summary i{transition:transform .2s;color:#345b91}
.product-description-card[open] summary i{transform:rotate(180deg)}
.product-description-card[open] .product-description-copy{margin-top:.7rem}
#product-pricing{scroll-margin-top:65px}

@media(max-width:991.98px){
  .catalogue-frontpage .catalogue-topbar{position:static}
  .catalogue-frontpage main.container{margin-top:0!important;padding-left:12px;padding-right:12px}
  .catalogue-frontpage #catalogue-mobile-sticky-wrap{position:sticky;top:0;right:auto;bottom:auto;z-index:1050;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 12px;padding:10px 0 6px;pointer-events:auto;background:#f6f9fe;border-bottom:1px solid #dce5f0}
  .mobile-quick-search{display:flex;align-items:center;gap:8px;min-width:0;margin:0;height:48px;padding-left:12px;border:1px solid #c4d5ec;border-radius:12px;background:#fff}
  .mobile-quick-search:focus-within{border-color:#3472ce;box-shadow:0 0 0 3px #3472ce18}
  .mobile-quick-search>i{color:#557399;font-size:16px;flex-shrink:0}
  .mobile-quick-search input{min-width:0;width:100%;height:46px;border:0;outline:0;background:transparent;color:#16375d;font:inherit;font-size:16px;padding:0}
  .mobile-quick-search input::placeholder{color:#61718a;font-size:14px}
  .mobile-quick-search input::-webkit-search-cancel-button{-webkit-appearance:none}
  #catalogue-clear-search{flex-shrink:0;width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:#41658c}
  #catalogue-clear-search[hidden]{display:none}
  .catalogue-frontpage .catalogue-mobile-search-toggle{width:auto;min-width:82px;height:48px;gap:7px;padding:0 12px;border-radius:12px;background:#e7f0ff;border-color:#c4d5ec;color:#204e90;box-shadow:none;font-size:13px;font-weight:700}
  .catalogue-frontpage .desktop-search-icon{display:none}
  .mobile-filter-icon,.mobile-filter-label{display:inline}
  .catalogue-frontpage .catalogue-sticky-searchbar.has-active-filters .catalogue-mobile-search-toggle::after{top:3px;right:4px;width:7px;height:7px}
  .mobile-category-strip{position:relative;grid-column:1/-1;display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;max-width:100%;padding:1px 0 3px}
  .mobile-category-strip::-webkit-scrollbar{display:none}
  .mobile-category-link{flex-shrink:0;display:inline-flex;align-items:center;min-height:44px;padding:0 13px;border-radius:10px;border:1px solid #d5e1f0;color:#496582;background:#fff;text-decoration:none;font-size:12px;font-weight:650;white-space:nowrap}
  .mobile-category-link.is-active{background:#2459b8;border-color:#2459b8;color:#fff}
  .mobile-category-link:focus-visible{outline:3px solid #7aa8e8;outline-offset:-3px}
  #catalogue-filter-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:1;border:0;background:#10203785;cursor:default}
  #catalogue-mobile-search-panel:not([hidden]){display:block;position:fixed;z-index:2;left:0!important;right:0;top:auto!important;bottom:0!important;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 28px)!important;height:auto!important;overflow-y:auto!important;overscroll-behavior:contain;padding:18px 16px max(16px,env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -12px 40px #14263e22;backdrop-filter:none}
  #catalogue-mobile-search-panel[hidden]{display:none!important}
  #catalogue-mobile-filter-form{display:flex;flex-direction:column;gap:16px;max-height:none;overflow:visible;padding:0}
  #catalogue-mobile-filter-form>.catalogue-search-field{display:none}
  .catalogue-filter-panel-heading{margin:0;padding:0}
  .catalogue-filter-panel-eyebrow{display:none}
  .catalogue-filter-panel-title{font-size:20px;font-weight:800;color:#15375e}
  .catalogue-filter-panel-close{width:44px;height:44px;flex-shrink:0;background:#edf3fc;border-radius:50%;border:0}
  .catalogue-filter-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:none;overflow:visible}
  .catalogue-filter-category-option span{height:100%;min-height:48px;padding:9px 10px;font-size:13px;line-height:1.4;border-radius:10px;white-space:normal}
  .catalogue-filter-storage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .catalogue-filter-storage-option span{min-height:44px;font-size:13px}
  .catalogue-filter-category-option input:focus-visible+span,.catalogue-filter-storage-option input:focus-visible+span{outline:3px solid #2563eb;outline-offset:1px}
  .catalogue-filter-group-title{font-size:14px;margin-bottom:9px}
  .catalogue-filter-actions{position:sticky;bottom:-1px;z-index:1;display:grid;grid-template-columns:1fr 1.5fr;gap:10px;padding:12px 0 0;background:#fff;border-top:1px solid #e3eaf4}
  .catalogue-filter-actions .btn{min-height:48px;border-radius:11px;font-size:15px}
  .catalogue-frontpage .catalogue-results-shell{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
  .catalogue-frontpage .catalogue-results-toolbar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;padding:0 0 10px}
  .catalogue-results-toolbar>.d-flex{flex-shrink:0;gap:6px!important}
  .catalogue-results-toolbar .catalogue-section-eyebrow{display:none}
  .catalogue-frontpage .catalogue-results-title{font-size:21px}
  .catalogue-count-pill{font-size:11px;padding:5px 8px}
  .catalogue-frontpage .catalogue-results-toolbar .btn{width:44px;height:44px;min-height:44px;padding:0;justify-content:center;border-radius:10px;background:#fff}
  .catalogue-results-toolbar .btn>span{display:none}
  .catalogue-frontpage .catalogue-active-filters{gap:5px;margin-top:4px}
  #catalogue-chip-category,#catalogue-chip-search{display:none}
  .catalogue-frontpage .catalogue-mini-chip{font-size:11px;padding:4px 7px}
  .catalogue-frontpage #catalogue-grid>.row{--bs-gutter-x:10px;--bs-gutter-y:12px}
  .catalogue-frontpage .product-card-modern{border-radius:13px}
  .catalogue-frontpage .product-card-body{padding:10px}
  .catalogue-frontpage .product-card-topline .category-chip{display:none}
  .catalogue-frontpage .product-card-topline .small{font-size:11px}
  .catalogue-frontpage .product-name{font-size:14px;line-height:1.4}
  .catalogue-frontpage .brand-chip,.catalogue-frontpage .case-chip{font-size:10.5px;padding:3px 5px}
  .catalogue-frontpage .product-card-prices>div[data-price-tier]{font-size:15px}
  .catalogue-frontpage .product-card-prices>div[data-price-tier] strong{font-size:11px}
  .catalogue-frontpage .product-card-prices .catalog-price-current{font-size:24px}
  .catalogue-frontpage .product-card-prices .catalog-price-before{font-size:11px}
  .catalogue-frontpage .product-card-prices .catalog-price-saving{font-size:10.5px}
  .catalogue-frontpage .product-card-body .btn{min-height:46px;font-size:13px}
  .catalogue-frontpage .pagination .page-link{min-width:44px;min-height:44px;display:grid;place-items:center}
}

@media(max-width:991.98px){
  .product-detail-view main.container{padding:0 14px;margin-top:0!important}
  .product-backbar{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:50px;background:#f8fafc;margin-top:0!important;border-bottom:1px solid #e3eaf4}
  .product-backlink{display:inline-flex;align-items:center;min-height:46px;font-size:13px}
  .product-pricing-jump{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border-radius:9px;background:#e7effe;color:#204e90;font-size:12px;font-weight:700;text-decoration:none}
  .product-detail-shell{margin:12px 0!important}
  .product-detail-card-premium{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}
  .product-detail-card-premium>.row{display:flex;flex-direction:column;align-items:stretch!important;gap:12px;margin:0}
  .product-detail-card-premium>.row>*{padding:0;margin:0;width:100%}
  .product-info-column,.product-info-top{display:contents}
  .product-heading-text{order:0}
  .product-media-column{order:1}
  .product-price-card-premium{order:2;margin:0}
  .product-order-card{order:3;margin:0}
  .product-badge-row{order:4;margin:0;padding:12px;display:flex;flex-wrap:wrap;gap:12px;background:#fff;border:1px solid #e0e8f3;border-radius:12px}
  .product-description-card{order:5;margin:0;padding:10px 14px;border-radius:12px;box-shadow:none}
  .product-eyebrow{display:none}
  .product-title-main{font-size:21px;line-height:1.3;margin:0;letter-spacing:-.02em}
  .product-heading-text .product-title-sub{font-size:12px;line-height:1.45;margin-top:4px!important;font-weight:500}
  .product-media-card{gap:8px}
  .product-media-frame{width:min(100%,240px);margin:0 auto;padding:0;border-radius:14px;box-shadow:none}
  .product-main-image-premium{object-fit:contain;border-radius:0}
  .product-media-frame>.catalog-promotion{top:8px;left:8px;max-width:calc(100% - 16px)}
  .product-media-frame .catalog-promotion-badge{font-size:11px;padding:5px 7px}
  .product-photo-hint{right:8px;bottom:8px;width:30px;height:30px}
  .product-quick-meta{justify-content:center;gap:6px}
  .product-meta-pill{min-height:28px;font-size:11px;padding:3px 8px}
  .product-price-card-premium{padding:10px;border-radius:13px}
  .product-pricing-heading{padding:0 0 7px}
  .product-price-table-premium tr{padding:9px 10px;gap:2px 7px}
  .product-price-table-premium th{font-size:14px}
  .product-price-table-premium .product-price-range{font-size:12px}
  .product-price-amount{font-size:17px}
  .product-price-amount .catalog-price-current{font-size:25px}
  .product-inline-meta{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
  .product-inline-label{font-size:11px}
  .product-inline-badge{font-size:12px;min-height:30px;padding:5px 9px;line-height:1.4}
  .product-inline-badge--brand-link{min-height:44px}
  .product-description-copy{font-size:14px;line-height:1.7}
  .product-order-grid{display:flex;flex-direction:column;gap:12px}
  .product-qty-btn{min-width:48px;min-height:48px}
  .product-qty-input{min-height:48px;font-size:18px}
}
@media(min-width:768px) and (max-width:991.98px){
  .product-detail-card-premium>.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
  .product-heading-text,.product-order-card,.product-badge-row,.product-description-card{grid-column:1/-1}
  .product-media-frame{width:min(100%,300px)}
}
@media(max-width:359.98px){
  .mobile-quick-search{gap:5px;padding-left:9px}
  .mobile-quick-search input::placeholder{font-size:12px}
  .catalogue-frontpage .catalogue-mobile-search-toggle{min-width:74px;padding:0 8px;font-size:12px}
  .catalogue-frontpage .product-card-img-wrapper{aspect-ratio:4/3}
  .catalogue-frontpage .catalogue-results-title{font-size:19px}
  .catalogue-count-pill{font-size:10px}
}
@media print{
  .mobile-quick-search,.mobile-category-strip,.catalogue-filter-backdrop,.product-pricing-jump,.product-photo-hint,.product-photo-dialog{display:none!important}
}

/* A continuous header surface and an explicit cue for the swipeable categories. */
.mobile-category-browser{display:none}
@media screen and (max-width:991.98px){
  .catalogue-frontpage .catalogue-topbar{background:#fff!important;border-bottom:0;box-shadow:none;backdrop-filter:none}
  .catalogue-frontpage main.container{max-width:none}
  .catalogue-frontpage #catalogue-mobile-sticky-wrap{margin:0 -12px 14px;padding:8px 12px 10px;background:#fff;border-bottom:1px solid #dce5f0;box-shadow:0 4px 12px #183c6509}
  .mobile-category-browser{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:6px;min-width:0}
  .mobile-category-strip{grid-column:auto;padding:1px 0;scroll-snap-type:x proximity;scroll-behavior:smooth;mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 14px),transparent 100%)}
  .mobile-category-link{scroll-snap-align:start;scroll-margin:0;min-height:44px}
  .mobile-category-next{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d5e1f0;border-radius:10px;background:#f1f6ff;color:#2459b8;font-size:17px;box-shadow:-8px 0 12px #fff}
  .mobile-category-next:disabled{color:#aab8ca;background:#f8fafc;box-shadow:none}
  .mobile-category-next:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}
  .mobile-category-next[hidden]{display:none}
  .mobile-category-browser:has(.mobile-category-next[hidden]){grid-template-columns:minmax(0,1fr)}
}

/* Cards share their image, information, price and action tracks within each row.
   Subgrid adapts to longer translations and missing bulk prices without fixed heights. */
@media screen{
  .catalogue-frontpage #catalogue-grid>.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
  .catalogue-frontpage #catalogue-grid>.row>.col-6{width:auto;max-width:none;min-width:0;margin:0;padding:0}
  .catalogue-frontpage #catalogue-grid>.row .product-card-modern{height:100%}
  .catalogue-frontpage #catalogue-grid>.row .product-card-body{flex-grow:1}
  .catalogue-frontpage #catalogue-grid>.row .product-card-body>.mt-auto{margin-top:auto!important}
  @supports(grid-template-rows:subgrid){
    .catalogue-frontpage #catalogue-grid>.row>.col-6{display:grid;grid-template-rows:subgrid;grid-row:span 6;row-gap:0}
    .catalogue-frontpage #catalogue-grid>.row .product-card-modern{display:grid;grid-template-rows:subgrid;grid-row:span 6;row-gap:0}
    .catalogue-frontpage #catalogue-grid>.row .product-card-body{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0;align-items:stretch}
    .catalogue-frontpage #catalogue-grid>.row .product-card-topline{align-content:start;align-items:start}
    .catalogue-frontpage #catalogue-grid>.row .product-card-chip-row{align-content:start;align-items:start}
    .catalogue-frontpage #catalogue-grid>.row .product-card-prices{grid-template-rows:subgrid;grid-row:span 2;row-gap:1px}
    .catalogue-frontpage #catalogue-grid>.row .product-card-prices>div[data-price-tier="retail"]{grid-row:1;justify-content:flex-start}
    .catalogue-frontpage #catalogue-grid>.row .product-card-prices>div[data-price-tier="half"],
    .catalogue-frontpage #catalogue-grid>.row .product-card-prices>div[data-price-tier="whole"]{grid-row:2}
    .catalogue-frontpage #catalogue-grid>.row .product-card-prices:not(:has([data-price-tier="half"],[data-price-tier="whole"]))>div[data-price-tier="retail"]{grid-row:1/span 2}
    .catalogue-frontpage #catalogue-grid>.row .product-card-body>.mt-auto{margin-top:0!important}
  }
}
@media screen and (min-width:768px){.catalogue-frontpage #catalogue-grid>.row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media screen and (min-width:1200px){.catalogue-frontpage #catalogue-grid>.row{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media screen and (max-width:991.98px){.catalogue-frontpage #catalogue-grid>.row{gap:12px 10px}}
@media screen and (max-width:359.98px){.catalogue-frontpage #catalogue-grid>.row{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.mobile-category-strip{scroll-behavior:auto}}
@media print{.mobile-category-browser{display:none!important}}

@media screen and (max-width:991.98px){.mobile-category-strip.is-at-end{mask-image:none}}


/* Image corners carry the brand and quantity, keeping the information area compact. */
.product-card-image-top,.product-card-image-bottom{position:absolute;z-index:3;left:8px;right:8px;display:flex;justify-content:space-between;align-items:flex-start;gap:5px;pointer-events:none}
.product-card-image-top{top:8px}
.product-card-image-bottom{bottom:8px;align-items:flex-end}
.catalogue-frontpage .product-card-image-top>.catalog-promotion{position:static;min-width:0;max-width:calc(55% - 3px);margin:0;flex:0 1 auto}
.catalogue-frontpage .product-card-image-top>.catalog-promotion:only-child{max-width:100%}
.catalogue-frontpage .product-card-media .product-image-brand{flex:0 1 auto;min-width:0;max-width:50%;margin-left:auto;padding:5px 7px;background:#fffffff5;border:1px solid #b8cde8;border-radius:7px;color:#173f78;font-size:11px;font-weight:800;line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 6px #163c6a24}
.catalogue-frontpage .product-card-media .product-image-quantity{min-width:0;max-width:100%;padding:5px 7px;background:#176649;border:1px solid #ffffffe6;border-radius:6px;color:#fff;font-size:11px;font-weight:800;line-height:1.25;text-align:left;white-space:normal;box-shadow:0 2px 6px #153c5c33}
.catalogue-frontpage .product-card-image-bottom .catalogue-cool-flag{position:static;min-height:0;flex-shrink:0;margin-left:auto;padding:5px 6px;line-height:1.25;letter-spacing:0;font-size:10px;white-space:nowrap}
.catalogue-frontpage #catalogue-grid>.row .product-card-topline{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px;align-items:center}
.catalogue-frontpage .product-card-topline .small{white-space:nowrap}
.catalogue-frontpage .product-card-topline .category-chip{display:block;justify-self:end;max-width:100%;text-align:right;white-space:normal;overflow-wrap:anywhere}
.catalogue-frontpage .product-card-chip-row .brand-chip{background:#fff6df;border-color:#f1dfb1;color:#8b6019}
@media(max-width:991.98px){
  .catalogue-frontpage .product-card-topline .small{font-size:10px}
  .catalogue-frontpage .product-card-topline .category-chip{font-size:9.5px;line-height:1.3;padding:3px 4px}
  .catalogue-frontpage .product-card-chip-row{margin:5px 0 7px!important}
}
@media(max-width:575.98px){
  .product-card-image-top,.product-card-image-bottom{left:6px;right:6px;gap:4px}
  .product-card-image-top{top:6px}
  .product-card-image-bottom{bottom:6px}
  .catalogue-frontpage .product-card-media .product-image-brand{padding:4px 5px;font-size:10px;border-radius:6px}
  .catalogue-frontpage .product-card-media .product-image-quantity{padding:4px 6px;font-size:10.5px}
  .catalogue-frontpage .product-card-image-top .catalog-promotion-badge{padding:4px 5px;font-size:9.5px}
}

.catalogue-frontpage .product-card-media .product-image-brand{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalogue-frontpage #catalogue-grid>.row .product-card-title-block{margin-bottom:8px!important}
