nav a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--cyan);text-underline-offset:.55em}
.catalog-hero{background:linear-gradient(90deg,rgb(8 26 53 / 90%),rgb(8 26 53 / 32%)),url("../img/Products.jpg") center top / cover no-repeat #081a35;color:white;padding:26px 0 30px}
.catalog-hero h1,.catalog-hero .catalog-banner-title{display:inline-block;font-weight:700;font-size:clamp(2.4rem,5vw,4rem);line-height:1.08;margin:0;border-bottom:3px solid var(--cyan);padding-bottom:8px}
.catalog-hero p:not(.catalog-banner-title){margin:9px 0 0}
main{background:#eaf2f8}.catalog-header{border-bottom:0;background:#081a35}
.catalog-layout{width:min(1380px,calc(100% - 40px));display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-areas:". sort" "categories products";gap:16px 24px;padding:32px 0 48px}
.category-panel,.product{background:white;border-radius:14px}
.category-panel{border:1px solid #d4e1ed}
.product{box-shadow:0 2px 8px rgb(19 39 70 / 10%);transition:box-shadow .2s ease}
@media(hover:hover){.product:hover{box-shadow:0 9px 24px rgb(19 39 70 / 23%)}}
.product:focus-within{box-shadow:0 9px 24px rgb(19 39 70 / 23%)}
@media(prefers-reduced-motion:reduce){.product{transition:none}}
.category-panel{padding:24px;align-self:start;grid-area:categories}
.category-panel h2,.product h2{font-size:1.25rem;margin:0 0 12px}
.category-panel h2{margin-bottom:22px}
#categories{display:grid;gap:6px}
#categories button{border:0;border-radius:6px;padding:11px 12px;text-align:left;background:white;color:var(--ink);font:inherit;cursor:pointer}
#categories button[aria-pressed="true"],#categories button:hover{background:#dcefdc}
#categories button[aria-pressed="true"]{box-shadow:inset 4px 0 #008f97}
.catalog-toolbar{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap;grid-area:sort}


.catalog-toolbar select,#detail-currency{padding:9px 16px;border-radius:8px;border:1px solid #8ca2b7;background:white;color:var(--ink);font:inherit;width:min(240px,100%);cursor:pointer}
#product-status:empty{display:none}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.product{overflow:hidden;display:flex;flex-direction:column}
.product[hidden]{display:none}
.product img{display:block;width:100%;height:215px;object-fit:contain;background:#f6f7fa}
.product-copy{padding:16px;display:flex;flex-direction:column;align-items:start;flex:1}
.product-copy p{margin:0 0 4px}
.product-detail{margin-top:auto;border:0;cursor:pointer;font:inherit;font-size:.875rem;font-weight:750;padding:6px 14px;min-height:36px}
dialog{width:min(92%,440px);border:0;border-radius:16px;padding:24px;color:var(--ink)}
dialog::backdrop{background:#081a35b3}
dialog img{display:block;width:100%;height:210px;object-fit:contain;margin-bottom:16px}
.dialog-close{display:block;margin-left:auto;border:0;background:#eaf2f8;border-radius:50%;font-size:1.5rem;width:38px;height:38px;cursor:pointer}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.catalog-layout{grid-template-columns:1fr;grid-template-areas:"categories" "sort" "products"}#categories{display:flex;flex-wrap:wrap}}
@media(max-width:430px){.product-grid{grid-template-columns:1fr}}

.catalog-products{grid-area:products;min-width:0}
.detail-page{padding:28px 0 60px}
.detail-page:has([data-product-id="ecg-machine"]){width:min(1320px,calc(100% - 36px))}
.detail-back{display:inline-block;margin-bottom:20px;font-weight:650}
.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.detail-layout[hidden]{display:none}
.detail-gallery,.detail-summary{background:white;border-radius:14px;box-shadow:0 2px 8px rgb(19 39 70 / 10%)}
.detail-gallery{overflow:hidden;border-radius:8px}
@media(min-width:721px){.detail-gallery:not([hidden]){align-self:stretch;position:relative}.detail-photo-frame{position:absolute;inset:24px;aspect-ratio:auto}}
.detail-gallery{background:#f6f7fa}.detail-photo-frame{display:flex;align-items:center;justify-content:center}@media(max-width:720px){.detail-photo-frame{aspect-ratio:4/3;margin:24px}}.detail-gallery img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;border-radius:8px}
.detail-summary{padding:clamp(22px,4vw,42px)}
.detail-summary h1{font-size:clamp(2rem,4.5vw,3.25rem);line-height:1.1;margin:0 0 18px}
#detail-category{color:#176b75;margin:0 0 8px;font-weight:700}
.detail-price{font-size:1.25rem;font-weight:750;margin:0}
.detail-description{border-top:1px solid #d4e1ed;margin-top:24px;padding-top:20px}
.detail-description h2{font-size:1.4rem;margin:0 0 8px}
.detail-description p{margin:0}
@media(max-width:720px){.detail-layout{grid-template-columns:1fr}}
#order-form{display:grid;gap:12px;margin-top:14px}
#order-form label{display:grid;gap:4px;font-weight:650}
#order-form input{padding:8px 10px;border:1px solid #8ca2b7;border-radius:8px;font:inherit;width:100%}
#order-form button{justify-self:start}
#order-status:empty{display:none}
.detail-stack{display:grid;gap:16px}
.detail-actions,.detail-stack .detail-description{background:white;border:0;border-radius:14px;box-shadow:0 2px 8px rgb(19 39 70 / 10%);padding:22px;margin:0}
.detail-buttons{display:grid;gap:14px;width:min(100%,300px);margin-inline:auto}.detail-buttons .btn{width:100%;text-align:center}
.detail-buttons #open-order,.detail-buttons #open-contact{background:#dcefdc;color:#153f29}
@media (hover: hover){.detail-buttons #open-order:hover,.detail-buttons #open-contact:hover{box-shadow:0 5px 14px rgb(19 39 70 / 30%)}}
#order-dialog{width:min(94vw,800px);max-height:90vh;padding:0;overflow:auto}
.order-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #d4e1ed}
.order-header h2{font-size:1.3rem;margin:0}
#order-form{padding:16px;margin:0;gap:14px}
.order-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#order-form fieldset{border:0;padding:0;margin:0;min-width:0}
#shipping-address:not([hidden]){display:grid;gap:14px}
#order-form select,#order-form textarea{width:100%;font:inherit;border:1px solid #8ca2b7;border-radius:8px;padding:8px 10px;background:white;color:var(--ink)}
#order-form .order-choices label,#order-form .order-opt-in{display:flex;align-items:center;gap:8px;font-weight:400}
#order-form input:is([type=radio],[type=checkbox]){width:auto;accent-color:#008690}
#order-form .order-submit,#order-form .order-back{width:100%;border:0;border-radius:7px;cursor:pointer;padding:9px;font:inherit}
#order-form .order-submit{background:#dcefdc;color:#153f29}
.order-back{background:#62707c;color:white}
.order-note{margin:0;font-size:.875rem}
@media(max-width:480px){.order-pair{grid-template-columns:1fr;gap:12px}}



.price-note{position:relative;width:fit-content;margin:14px 0 0;padding:8px 13px;border-radius:8px;background:#dcefdc;color:#215a38;font-size:.9rem}
.price-note::before{content:"";position:absolute;left:10px;bottom:100%;border:7px solid transparent;border-bottom-color:#dcefdc}
.detail-buttons .whatsapp-contact{background:#25d366;color:#082617}.detail-buttons .whatsapp-contact .whatsapp-icon{color:white}.whatsapp-contact:disabled{cursor:default}

.detail-buttons .whatsapp-contact{display:inline-flex;align-items:center;justify-content:center;gap:8px}.whatsapp-icon{flex:none}





.price-note{display:block;max-width:100%;padding-inline-start:10px;padding-inline-end:92px;text-align:left;line-height:1.65;list-style:disc outside}.price-note > li{display:list-item}

.catalog-image{position:relative}
.catalog-image>a{display:block}.catalog-image>a:focus-visible{outline:2px solid #008f97;outline-offset:-3px}.condition-badge{pointer-events:none}
.condition-badge{position:absolute;left:12px;bottom:12px;background:#eff5f4;color:var(--ink);border-radius:999px;padding:3px 10px;font-size:.75rem;font-weight:700}
.product-facts{width:100%;margin:4px 0 18px;font-size:.875rem}
.product-facts div{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:10px;padding:5px 0;border-bottom:1px solid #edf0f3}
.product-facts dt{color:#54657a;overflow-wrap:anywhere}
.product-facts dd{margin:0;overflow-wrap:anywhere}
.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;width:100%;margin-top:auto}
.product-copy .catalog-price{margin:0;font-weight:750;color:var(--ink)}
.product-bottom .product-detail{margin:0 0 0 auto;background:#dcefdc;color:#153f29}
@media (hover: hover){.product-bottom .product-detail:hover{box-shadow:0 5px 14px rgb(19 39 70 / 35%)}}

.scanner-description{grid-column:1/-1}.scanner-description :is(#scanner-heading,.product-description-heading){font-size:1rem}.scanner-description h3{margin-top:24px}.scanner-description li+li{margin-top:4px}.scanner-placeholder{display:grid;place-items:center;min-height:215px;background:#f6f7fa;color:#54657a}


[data-product-id="ecg-machine"] #detail-category{display:none}
[data-product-id="ecg-machine"] #detail-title{font-size:clamp(1.75rem,3.8vw,2.75rem)}

.detail-price-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#detail-currency{width:auto;padding-block:6px}
.spec-panel{margin-top:12px;border:1px solid #d4e1ed;border-radius:10px}
.spec-panel summary{display:flex;align-items:center;gap:10px;padding:12px 14px;font-weight:700;cursor:pointer;list-style:none}
.spec-panel summary::-webkit-details-marker{display:none}
.spec-panel summary::before{content:"+";font-size:1.3em;line-height:1;color:#176b75}
.spec-panel[open] summary::before{content:"−"}
.spec-content{padding:0 14px 12px}
:is([data-product-id="zeiss-axioscan-z1"],[data-product-id="olympus-ckx53"],[data-product-id="olympus-ckx53sf-2021"],[data-product-id="leica-dm-12000-m"],[data-product-id="leica-dmi8"],[data-product-id="nikon-ti2-u"],[data-product-id="tecan-infinite-200"],[data-product-id="tecan-infinite-200-2021"],[data-product-id="tecan-infinite-200-2019"],[data-product-id="tecan-infinite-200-m-nano"],[data-product-id="thermo-quantstudio-7-pro"],[data-product-id="thermo-quantstudio-7-flex-unit-5"],[data-product-id="thermo-quantstudio-7-pro-unit-4"],[data-product-id="thermo-quantstudio-7-pro-unit-3"]) .detail-summary{container-type:inline-size}
[data-product-id="zeiss-axioscan-z1"] #detail-title{white-space:nowrap;font-size:min(2rem,5.8cqi);letter-spacing:-.025em}

.product[data-category="Microscopy Equipment"] .condition-badge{inset:12px 12px auto auto}

.product-page {
  background: #e7eef0;
  background-image: linear-gradient(180deg, rgb(235 243 245 / 82%), #f4f7f6 760px),
    url("../img/medical-city.webp");
  background-size: 100% 100%, 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}
.product-page .detail-page { color: #152b3d; }
.product-delivery{padding-bottom:38px}
.product-delivery-panel{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:clamp(20px,4vw,36px);border-radius:22px;background:linear-gradient(90deg,rgb(8 26 53 / 94%),rgb(8 26 53 / 70%)),url("../img/medical-city.webp") center 55% / cover no-repeat #081a35;color:white}
.product-delivery-panel h2{font-size:clamp(1.4rem,3vw,2rem);margin:0 0 8px}
.product-delivery-panel p{margin:0;color:#e5edf6}



.configuration-button{background:#ffab50;color:#35200a;border:0;cursor:pointer;font:inherit;font-weight:750}.configuration-button:hover{background:#ffc17d}
.configuration-portraits{display:flex;align-items:center;margin-bottom:14px}.configuration-portraits img+img{margin-inline-start:-6px}.configuration-portraits img{display:block;flex:none;width:40px;height:40px;object-fit:contain;border:2px solid white;border-radius:50%}

.detail-price-amount{display:flex;align-items:baseline;gap:6px}.detail-vat{font-size:.75rem;color:#54657a}


dialog#order-dialog{width:min(96vw,1100px)}
.order-layout{display:grid;grid-template-columns:minmax(230px, .7fr) minmax(0,1.3fr)}
.order-product{display:grid;align-content:start;padding:clamp(24px,4vw,48px) clamp(20px,3vw,36px);background:radial-gradient(ellipse at 25% 15%,#f0f9d9,transparent 75%),linear-gradient(145deg,#dcefdc,#cce7d4)}
.order-product-card{min-height:320px;padding:22px 20px;background:#fbfdf9;border-radius:18px;box-shadow:0 18px 40px #153f2933;transform:rotate(-2deg)}
.order-product-heading{display:flex;align-items:center;gap:12px}
.order-product-card img:not([hidden]){display:block;flex:none;width:68px;height:68px;object-fit:contain;border-radius:12px;background:#edf3eb}
.order-product-card img[hidden]{display:none}
.order-product-card h3{margin:0;font-size:1.15rem}
.order-product-card p{margin:6px 0 0;color:#54657a}
.order-product-card ul{list-style:none;padding:0;margin:14px 0 0}
.order-product-card li{padding:10px 0;border-top:1px solid #edf0f3}
@media(max-width:700px){.order-layout{grid-template-columns:1fr}.order-product{padding:18px}.order-product-card{transform:none}}


.product-benefits{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:16px;list-style:none}
.product-benefits li{display:flex;align-items:center;gap:8px;font-size:.875rem;font-weight:650}
.product-benefits li span{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:8px;background:#dcefdc;color:#153f29}
@media(max-width:900px){.product-benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}}
.detail-gallery{position:relative}
.photo-zoom{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #dcefdc;border-radius:999px;background:#fbfdf9;color:var(--ink);font:inherit;font-size:.8rem;cursor:zoom-in;box-shadow:0 2px 8px #13274622}



.detail-photo-frame{position:relative;overflow:hidden}
@media(min-width:721px){.detail-gallery .detail-photo-frame{position:absolute}}
.detail-photo-frame img{cursor:zoom-in;transition:transform .2s ease}
.detail-photo-frame.is-zoomed img{transform:scale(2);cursor:zoom-out;transition:none}
.detail-photo-frame{flex-direction:column;gap:10px}
.detail-photo-frame img{min-height:0;max-height:calc(100% - 48px);object-fit:contain}
.detail-photo-frame .photo-zoom{position:relative;inset:auto;flex:none;z-index:1}
.detail-photo-frame.is-zoomed .photo-zoom{cursor:zoom-out}
.catalog-stock{display:inline-flex;align-items:center;gap:8px;align-self:flex-end;margin:0 0 8px;color:var(--ink);font-size:.8rem;font-weight:400}.catalog-stock::before{content:"";width:11px;height:11px;border-radius:2px;background:#94b92c}

[data-product-id="olympus-ckx53"] #detail-title{white-space:nowrap;font-size:min(2rem,5.3cqi);letter-spacing:-.025em}
.product-copy .catalog-subtitle{font-size:.875rem;color:#54657a;margin:0 0 10px}
[data-product-id="olympus-ckx53sf-2021"] #detail-title{white-space:nowrap;font-size:min(2rem,5.1cqi);letter-spacing:-.025em}
.product-facts .fluorescence-fact{grid-template-columns:max-content minmax(0,1fr);column-gap:14px}
[data-product-id="leica-dm-12000-m"] #detail-title{white-space:nowrap;font-size:min(2rem,4.35cqi);letter-spacing:-.025em}
[data-product-id="leica-dmi8"] #detail-title{white-space:nowrap;font-size:min(2rem,5.3cqi);letter-spacing:-.025em}
[data-product-id="nikon-ti2-u"] #detail-title{white-space:nowrap;font-size:min(2rem,5.5cqi);letter-spacing:-.025em}

.product[data-category="Laboratory Equipment"] .condition-badge{inset:12px 12px auto auto}
:is([data-product-id="tecan-infinite-200"],[data-product-id="tecan-infinite-200-2021"],[data-product-id="tecan-infinite-200-2019"],[data-product-id="tecan-infinite-200-m-nano"]) #detail-title{white-space:nowrap;font-size:min(2rem,4.6cqi);letter-spacing:-.025em}
[data-product-id="thermo-quantstudio-7-pro"] #detail-title{white-space:nowrap;font-size:min(2rem,4cqi);letter-spacing:-.025em}
[data-product-id="thermo-quantstudio-7-flex-unit-5"] #detail-title{white-space:nowrap;font-size:min(2rem,4.6cqi);letter-spacing:-.025em}
:is([data-product-id="thermo-quantstudio-7-pro-unit-4"],[data-product-id="thermo-quantstudio-7-pro-unit-3"]) #detail-title{white-space:nowrap;font-size:min(2rem,4.4cqi);letter-spacing:-.025em}

[data-product-id="tecan-freedom-evo-2-100-unit-3"] .detail-summary{container-type:inline-size}
[data-product-id="tecan-freedom-evo-2-100-unit-3"] #detail-title{white-space:nowrap;font-size:min(2rem,4.6cqi);letter-spacing:-.025em}

.product-detail-page, .catalog-page {
  background-image: linear-gradient(rgb(235 243 245 / 85%), rgb(235 243 245 / 85%)),
    url("../img/medical-city.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Keep the city visible on touch browsers that do not support fixed backgrounds reliably. */
@media (max-width: 850px), (hover: none) and (pointer: coarse) {
  .product-detail-page, .catalog-page {
    background-attachment: scroll;
    background-size: auto max(100vh, 58vw);
    background-position: center top;
    background-repeat: repeat-y;
  }
}
#product-contact-dialog{width:min(96vw,1100px);padding:0;max-height:90vh;overflow:auto}
#product-contact-dialog #contact-form{display:grid;gap:12px;padding:clamp(16px,4vw,26px)}
#product-contact-dialog #contact-form p{margin:0;font-size:.875rem}
#product-contact-dialog .btn{justify-self:start;border:0;cursor:pointer;background:#dcefdc;color:#153f29;font:inherit;font-weight:700}
#product-contact-dialog #contact-status:empty{display:none}

#product-contact-dialog #contact-form .return-fields{grid-template-columns:minmax(0,1fr);margin-bottom:0}
#order-form label{color:#15332f;font-size:.9rem;gap:8px}
#order-form :is(input:not([type=radio],[type=checkbox]),select,textarea){min-height:48px;padding:12px 16px;border:1px solid #dbe3de;background:linear-gradient(180deg,#eff3ef,#fbfcfb);box-shadow:inset 0 2px 4px #15332f0b;border-radius:999px}
#order-form textarea{border-radius:16px;min-height:128px;resize:vertical}
#order-form :is(input,select,textarea,button):focus-visible{outline:2px solid #427957;outline-offset:2px}

.category-toggle { display: none; }

@media (max-width: 720px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "categories" "sort" "products";
    padding-top: 20px;
  }

  .category-panel-enhanced { padding: 0; }
  .category-panel-enhanced > h2 { display: none; }

  .category-panel-enhanced > .category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .category-selection { display: block; font-size: .875rem; font-weight: 400; }
  .category-chevron {
    flex: 0 0 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .category-toggle[aria-expanded="true"] > .category-chevron { transform: rotate(225deg); }
  .category-panel-enhanced #categories { display: grid; padding: 0 12px 12px; }
  .category-panel-enhanced > .category-toggle[aria-expanded="false"] + #categories { display: none; }
}

html.product-dialog-scroll-locked { overflow: hidden; overscroll-behavior: none; }
html.product-dialog-scroll-locked body {
  position: fixed;
  inset: var(--product-dialog-scroll) 0 auto;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  dialog#order-dialog[open], dialog#product-contact-dialog[open] {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background: white;
    overflow: auto;
    overscroll-behavior: contain;
  }

  :is(#order-dialog, #product-contact-dialog) .order-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(#order-dialog, #product-contact-dialog) .order-product { order: 1; }
  :is(#order-dialog, #product-contact-dialog) .order-header {
    position: sticky;
    top: 0;
    z-index: 1;
    padding-top: max(14px, env(safe-area-inset-top));
    background: white;
  }

  :is(#order-dialog, #product-contact-dialog) .dialog-close {
    flex: 0 0 44px;
    height: 44px;
  }

  :is(#order-form, #product-contact-dialog #contact-form) :is(input, select, textarea) {
    font-size: 16px;
  }
}
