/*--------------------------------------------------------------
  Products page: hero search, category tabs, filters, product grid,
  quick-view modal, plus the form styles shared by the quote, contact,
  testimonials and legal pages (which also load this file).
  Palette: #2e3192 navy, #f4572e orange.
--------------------------------------------------------------*/

/* ---------- Hero with search ---------- */
.cat-hero {
  position: relative;
  padding: 64px 0 96px;
  color: #fff;
  /* a photo sits behind the blue; the blue is translucent so the picture shows through */
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(244, 87, 46, 0.22), transparent 60%),
    radial-gradient(900px 500px at 0% 120%, rgba(78, 82, 214, 0.4), transparent 60%),
    linear-gradient(135deg, rgba(20, 22, 92, 0.9) 0%, rgba(37, 40, 138, 0.82) 55%, rgba(46, 49, 146, 0.74) 100%),
    url('../images/photos/implant-tray-overhead.jpg') center / cover no-repeat;
  background-color: #14165c;
  overflow: hidden;
}
.cat-hero:before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 90%);
          mask-image: linear-gradient(90deg, transparent 10%, #000 90%);
  pointer-events: none;
}
.cat-hero .container { position: relative; }
.cat-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.cat-crumb a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.cat-crumb a:hover { color: #fff; }
.cat-crumb li + li:before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 0 2px; vertical-align: 0.12em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.5; }
.cat-hero-title { color: #fff; font-size: 52px; line-height: 1.1; letter-spacing: -0.015em; font-weight: 700; margin: 0 0 14px; text-transform: none; }
.cat-hero-lead { max-width: 640px; color: rgba(255, 255, 255, 0.82); font-size: 18px; line-height: 1.65; margin: 0 0 30px; }
.cat-hero-lead b { color: #fff; }

.cat-search { position: relative; max-width: 780px; }
.cat-search form {
  display: flex; align-items: center;
  height: 66px; padding: 0 8px 0 24px;
  background: #fff; border-radius: 60px;
  box-shadow: 0 16px 40px -14px rgba(8, 9, 50, 0.45);
}
.cat-search form:focus-within { box-shadow: 0 0 0 4px rgba(244, 87, 46, 0.35), 0 18px 50px rgba(8, 9, 50, 0.35); }
.cat-search .cat-search-ic { color: #2e3192; font-size: 18px; margin-right: 14px; }
.cat-search input[type="search"] {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent;
  font: 500 17px "Titillium Web", sans-serif; color: #171a4a;
  -webkit-appearance: none; appearance: none;
}
.cat-search input[type="search"]::placeholder { color: #8f98ad; font-weight: 400; }
.cat-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.cat-search .cat-clear { width: 36px; height: 36px; border-radius: 50%; color: #6b7488; font-size: 14px; cursor: pointer; flex: none; }
.cat-search .cat-clear:hover { background: #f1f3f9; color: #171a4a; }
.cat-search .cat-go {
  flex: none; height: 50px; padding: 0 28px; margin-left: 6px; border-radius: 40px; cursor: pointer;
  background: #f4572e; color: #fff; font: 700 15px "Titillium Web", sans-serif; transition: background 0.2s;
}
.cat-search .cat-go:hover { background: #2e3192; }
/* ---------- Layout ---------- */
.cat-main { padding: 34px 0 90px; }
.cat-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 34px; align-items: start; }
.cat-side { position: sticky; top: 112px; max-height: calc(100vh - 128px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.cat-side-head { display: none; }
.cat-side-foot { display: none; }

/* ---------- Filters ---------- */
.fgroup { margin: 0; padding: 0; border: 0; border-bottom: 1px solid #e5e8f1; min-width: 0; }
.fgroup legend { display: block; width: 100%; padding: 0; margin: 0; font-size: inherit; }
.fgroup-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 2px 12px; cursor: pointer; text-align: left;
  font: 700 14px "Titillium Web", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #171a4a;
}
.fgroup-toggle i { font-size: 11px; color: #6b7489; transition: transform 0.2s; }
.fgroup:not(.is-open) .fgroup-toggle i { transform: rotate(-90deg); }
.fgroup:not(.is-open) .fgroup-body { display: none; }
.fgroup-body { padding: 0 0 14px; }

.fopt { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 4px; border-radius: 8px; cursor: pointer; font-size: 14.5px; color: #3d465c; line-height: 1.3; }
.fopt:hover { background: #f3f5fb; }
.fopt input { position: absolute; opacity: 0; width: 0; height: 0; }
.fopt-box { flex: none; width: 18px; height: 18px; border: 1.6px solid #c3c9d9; border-radius: 5px; background: #fff; transition: background-color 0.15s, border-color 0.15s; position: relative; }
.fopt input:focus-visible + .fopt-box { outline: 2px solid #f4572e; outline-offset: 2px; }
.fopt input:checked + .fopt-box { background: #2e3192; border-color: #2e3192; }
.fopt input:checked + .fopt-box:after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fopt-label { flex: 1; min-width: 0; }
.fopt.is-on .fopt-label { color: #171a4a; font-weight: 600; }
.fopt-n { flex: none; font-size: 12px; color: #6b7489; font-variant-numeric: tabular-nums; }
.fopt.is-zero { opacity: 0.45; }
.fopt.is-extra { display: none; }
.show-all .fopt.is-extra { display: flex; }
.fgroup-more { margin: 6px 4px 0; font: 700 13px "Titillium Web", sans-serif; color: #2e3192; cursor: pointer; }
.fgroup-more:hover { color: #f4572e; }

/* ---------- Toolbar ---------- */
.cat-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.cat-count { font-size: 15px; color: #566074; }
.cat-count b { color: #171a4a; }
.cat-fix { display: block; margin-top: 2px; font-size: 13.5px; color: #b45309; }
.cat-controls { display: flex; align-items: center; gap: 12px; }
.cat-select {
  height: 42px; padding: 0 38px 0 14px; border: 1px solid #dfe3ee; border-radius: 10px; background: #fff;
  font: 600 14px "Titillium Web", sans-serif; color: #171a4a; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%232e3192' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.cat-select:focus-visible { outline: 2px solid #f4572e; outline-offset: 2px; }
.cat-views { display: inline-flex; padding: 3px; border: 1px solid #d7dce8; border-radius: var(--ort-r-sm, 8px); background: #fff; }
.cat-views button { width: 36px; height: 34px; border-radius: 7px; color: #6b7489; cursor: pointer; font-size: 14px; }
.cat-views button.is-active { background: #2e3192; color: #fff; }
.cat-filter-btn { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--ort-r-sm, 8px); background: #2e3192; color: #fff; font: 700 14px "Titillium Web", sans-serif; cursor: pointer; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-chips[hidden] { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 30px; cursor: pointer;
  background: #eef0fb; color: #2e3192; border: 1px solid #dfe3f7; font: 600 14px "Titillium Web", sans-serif; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip i { font-size: 11px; opacity: 0.7; }
.chip:hover { background: #2e3192; color: #fff; border-color: #2e3192; }
.chip-clear { background: transparent; border-color: transparent; color: #f4572e; }
.chip-clear:hover { background: #fff1ed; color: #f4572e; border-color: #fbd3c8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Grid (cards are defined in custom.css) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-grid[hidden] { display: none; }
.cat-grid.is-list { grid-template-columns: 1fr; gap: 14px; }
.cat-grid mark { background: rgba(244, 87, 46, 0.2); color: inherit; padding: 0 1px; border-radius: 3px; }

.cat-grid.is-loading .pcard { pointer-events: none; }
.sk { height: 360px; border-radius: var(--ort-r, 12px); border: 1px solid #e5e8f1; background: linear-gradient(100deg, #f3f5fa 30%, #fafbfe 50%, #f3f5fa 70%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.cat-more { display: flex; justify-content: center; margin-top: 36px; }
.cat-more[hidden] { display: none; }
.cat-more button {
  height: 54px; padding: 0 34px; border-radius: 40px; cursor: pointer;
  border: 1.5px solid #2e3192; color: #2e3192; background: #fff; font: 700 15px "Titillium Web", sans-serif; transition: background-color 0.2s, color 0.2s;
}
.cat-more button small { font-weight: 400; opacity: 0.75; margin-left: 4px; }
.cat-more button:hover { background: #2e3192; color: #fff; }

.cat-empty[hidden] { display: none; }
.cat-empty-card { text-align: center; padding: 56px 24px; border: 1px dashed #cfd5e6; border-radius: var(--ort-r, 12px); background: #fafbfe; }
.cat-empty-card > i { font-size: 34px; color: #2e3192; opacity: 0.35; margin-bottom: 14px; }
.cat-empty-card h3 { font-size: 24px; text-transform: none; margin-bottom: 8px; }
.cat-empty-card p { max-width: 460px; margin: 0 auto 18px; }
.cat-empty-tips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.cat-empty-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cat-error { padding: 40px; text-align: center; border: 1px solid #fbd3c8; background: #fff6f3; border-radius: var(--ort-r, 12px); }

/* backdrop for the mobile filter drawer */
.cat-backdrop { position: fixed; inset: 0; z-index: 1900; background: rgba(13, 14, 67, 0.55); }
.cat-backdrop[hidden] { display: none; }

/* ---------- Quick-view modal ---------- */
.pmodal { position: fixed; inset: 0; z-index: 3500; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pmodal[hidden] { display: none; }
.pmodal-backdrop { position: absolute; inset: 0; background: rgba(13, 14, 67, 0.62); opacity: 0; transition: opacity 0.22s; backdrop-filter: blur(3px); }
.pmodal.is-open .pmodal-backdrop { opacity: 1; }
.pmodal-dialog {
  position: relative; width: 100%; max-width: 1000px; max-height: calc(100vh - 48px); overflow: auto;
  background: #fff; border-radius: var(--ort-r-lg, 16px); box-shadow: 0 30px 80px -20px rgba(8, 9, 50, 0.55);
  transform: translateY(12px) scale(0.99); opacity: 0; transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.24s;
}
.pmodal-dialog:focus { outline: none; }
.pmodal.is-open .pmodal-dialog { transform: none; opacity: 1; }
.pmodal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #171a4a; font-size: 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(23, 26, 74, 0.18); }
.pmodal-close:hover { background: #f4572e; color: #fff; }
.pmodal-inner { display: grid; grid-template-columns: 42% 1fr; min-height: 520px; }
.pmodal-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 36px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 70%); border-right: 1px solid #eef0f6; }
.pmodal-media img { max-width: 100%; max-height: 380px; object-fit: contain; mix-blend-mode: multiply; }
.pmodal-sec { position: absolute; left: 24px; top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px; background: #fff; border: 1px solid #e5e8f1; font: 700 12px "Titillium Web", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #171a4a; }
.pmodal-sec i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pmodal-content { padding: 44px 44px 36px 40px; min-width: 0; }
.pmodal-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font: 700 12.5px "Titillium Web", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.pmodal-crumb a { color: var(--c); }
.pmodal-crumb i { font-size: 9px; color: #b3bacb; }
.pmodal-content h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 14px; text-transform: none; color: #171a4a; padding-right: 36px; }
.pmodal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { padding: 5px 12px; border-radius: 30px; font: 600 13px "Titillium Web", sans-serif; background: #eef0fb; color: #2e3192; border: 1px solid #dfe3f7; }
.tag:hover { background: #2e3192; color: #fff; }
.pmodal-desc { font-size: 16px; line-height: 1.7; color: #4b5469; margin-bottom: 20px; }
.pmodal-specs { margin: 0 0 24px; border-top: 1px solid #e9ecf4; }
.pmodal-specs > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid #e9ecf4; font-size: 15px; }
.pmodal-specs dt { font: 700 12.5px "Titillium Web", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #646d82; padding-top: 2px; }
.pmodal-specs dd { margin: 0; color: #2b3348; }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chips i { font-style: normal; padding: 3px 10px; border-radius: 6px; background: #f1f3f9; border: 1px solid #e3e7f1; font-weight: 600; font-size: 13px; color: #2b3348; }
.pmodal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.pmodal-actions .btn { height: 52px; min-width: 0; padding: 0 22px; }
.pmodal-actions .btn.is-added { background: #e9f7ef; color: #157347; }
.pmodal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 700 14px "Titillium Web", sans-serif; }
.pmodal-links i { margin: 0 2px; }
.pmodal-related { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e9ecf4; }
.pmodal-related h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: #646d82; margin-bottom: 12px; }
.pmodal-rel-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pmodal-rel-row a { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid #e9ecf4; border-radius: var(--ort-r-sm, 8px); color: #171a4a; font-size: 12.5px; line-height: 1.25; font-weight: 600; }
.pmodal-rel-row a:hover { border-color: #2e3192; box-shadow: 0 6px 18px rgba(23, 26, 74, 0.1); }
.pmodal-rel-row img { width: 100%; height: 64px; object-fit: contain; }
.pmodal-rel-row span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.pmodal-lock, html.cat-side-open, html.qdrawer-open { overflow: hidden; }

/* ---------- Product detail page ---------- */
.pd { padding: 56px 0 30px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.pd-media { position: sticky; top: 120px; min-width: 0; }
.pd-media.is-empty { display: flex; align-items: center; justify-content: center; min-height: 460px; padding: 44px; border-radius: var(--ort-r-lg, 16px); border: 1px solid #e5e8f1; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 70%); }
.pd-media .pmodal-sec { left: 22px; top: 20px; }
.pd-info h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.015em; text-transform: none; margin: 0 0 16px; color: var(--ort-ink, #2e3192); }
.pd-info .pmodal-crumb { margin-bottom: 14px; }
.pd-lead { font-size: 17px; line-height: 1.75; color: #4b5469; margin-bottom: 24px; }
.pd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.pd-note { padding: 16px 18px; margin: 22px 0 0; border-radius: var(--ort-r, 12px); background: #f5f7fb; font-size: 15px; line-height: 1.6; color: #566074; }
.pd-related { padding: 30px 0 90px; }
.pd-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* breadcrumb bar on product pages */
.pd-bar { background: var(--ort-soft, #f5f7fb); border-bottom: 1px solid #e9ecf4; }
.pd-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; }
.pd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 12px 0; list-style: none; font-size: 13.5px; color: #646d82; }
.pd-crumb a { color: #2e3192; font-weight: 600; }
.pd-crumb a:hover { color: #f4572e; }
.pd-crumb li + li:before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 0 2px; vertical-align: 0.12em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.45; }
.pd-crumb li[aria-current] { color: #171a4a; font-weight: 600; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-back { flex: none; font: 700 13.5px "Titillium Web", sans-serif; color: #2e3192; }
.pd-back[hidden] { display: none; }
.pd-back i { margin-right: 6px; font-size: 11px; }
.pd-back:hover { color: #f4572e; }
.pd-h { margin: 30px 0 10px; font: 700 13px "Titillium Web", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #646d82; }
.pd .pmodal-specs { margin-bottom: 4px; }

/* compact hero (not-found page) */
.cat-hero-compact { padding: 56px 0 64px; }
.cat-hero-compact .cat-hero-title { font-size: 40px; }
.cat-hero-compact .cat-hero-lead { margin-bottom: 26px; }

/* ---------- Request a quote ---------- */
.rq { padding-top: 56px !important; }
.rq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.rq-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.rq-card { position: relative; padding: 30px 32px 32px; background: #fff; border: 1px solid #e5e8f1; border-radius: var(--ort-r-lg, 16px); box-shadow: var(--ort-sh-sm); }
.rq-card[hidden] { display: none; }
.rq-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.rq-step { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #2e3192; color: #fff; font: 700 17px/40px "Titillium Web", sans-serif; text-align: center; }
.rq-head-text { flex: 1; min-width: 0; }
.rq-head h2, .rq-head h3 { margin: 0; font-size: 24px; text-transform: none; color: var(--ort-ink, #2e3192); }
.rq-head p { margin: 2px 0 0; font-size: 14px; color: #646d82; }
.rq-add { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 1.5px solid #d7dce8; border-radius: 30px; color: #2e3192; font: 700 14px "Titillium Web", sans-serif; transition: background-color 0.2s, border-color 0.2s; }
.rq-add i { font-size: 11px; }
.rq-add:hover { border-color: #2e3192; background: #f5f7fb; color: #2e3192; }
.rq-items .qlist { border-top: 1px solid #eef0f6; }
.rq-items .qitem:last-child { border-bottom: 0; }
.rq-empty { display: flex; gap: 22px; align-items: center; padding: 24px; border: 1.5px dashed #d6dbea; border-radius: var(--ort-r, 12px); background: #fafbfe; }
.rq-empty > i { font-size: 36px; color: #b3bacb; }
.rq-empty h3 { margin: 0 0 4px; font-size: 20px; text-transform: none; color: #171a4a; }
.rq-empty p { margin: 0 0 14px; font-size: 15px; }
.rq-empty .btn { height: 48px; min-width: 0; padding: 0 22px; }
.rq-empty-text { margin: 0; font-size: 15px; }
.rq-listfoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 14px; padding-top: 16px; border-top: 1px solid #eef0f6; }
.rq-listfoot[hidden] { display: none; }
.rq-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; color: #566074; font: 600 13.5px "Titillium Web", sans-serif; cursor: pointer; }
.rq-link:hover { color: #f4572e; }
.rq-link .fa-whatsapp { color: #25a244; font-size: 15px; }

.rq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.rq-field label, .rq-areas legend { display: block; width: auto; margin: 0 0 7px; padding: 0; border: 0; font: 700 13.5px "Titillium Web", sans-serif; letter-spacing: 0.02em; color: #171a4a; }
.rq-field small, .rq-areas legend small { font-weight: 500; color: #6b7489; }
.rq-field input, .rq-field select, .rq-field textarea {
  display: block; width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid #d7dce8; border-radius: var(--ort-r-sm, 8px); background: #fff;
  font: 400 16px "Roboto", sans-serif; color: #171a4a; transition: border-color 0.2s, box-shadow 0.2s;
}
.rq-field input::placeholder, .rq-field textarea::placeholder { color: #9aa3b8; }
.rq-field textarea { height: auto; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.rq-field select {
  padding-right: 42px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232e3192' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.rq-field input:focus, .rq-field select:focus, .rq-field textarea:focus { outline: 0; border-color: #2e3192; box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.12); }
.rq-field .is-invalid { border-color: #d93025; box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.1); }
.rq-areas { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.rq-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rq-chip { position: relative; margin: 0; cursor: pointer; }
.rq-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rq-chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid #d7dce8; border-radius: 30px; background: #fff; color: #2e3192; font: 600 14px "Titillium Web", sans-serif; transition: background-color 0.18s, border-color 0.18s, color 0.18s; }
.rq-chip:hover span { border-color: #2e3192; }
.rq-chip input:checked + span { background: #2e3192; border-color: #2e3192; color: #fff; }
.rq-chip input:focus-visible + span { outline: 2px solid #f4572e; outline-offset: 2px; }
.rq-notes { margin-top: 24px; }
.rq-check { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0 0; font: 400 15px/1.55 "Roboto", sans-serif; color: #566074; cursor: pointer; }
.rq-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: #2e3192; }
.rq-check input.is-invalid + span { color: #d93025; }
.rq-check a { color: #2e3192; text-decoration: underline; white-space: nowrap; }   /* a policy name stays on one line (with its asterisk) */
.rq-alert { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--ort-r-sm, 8px); background: #fff1ed; border: 1px solid #ffd3c6; color: #b3361b; font-size: 15px; }
.rq-alert[hidden] { display: none; }
.rq-submit { width: 100%; height: 60px; margin-top: 22px; }
.rq-submit[disabled] { opacity: 0.7; cursor: wait; }
.rq-fine { margin: 14px 0 0; text-align: center; font-size: 13px; color: #6b7489; }
.rq-fine i { margin-right: 6px; }
.rq-done { text-align: center; padding: 56px 32px; }
.rq-done-ic { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: #e9f7ef; color: #157347; font-size: 28px; }
.rq-done h2, .rq-done h3 { font-size: 30px; text-transform: none; color: #171a4a; margin-bottom: 10px; }
.rq-done p { max-width: 520px; margin: 0 auto 26px; }
.rq-done-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.rq-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.rq-box { padding: 26px 28px; background: #fff; border: 1px solid #e5e8f1; border-radius: var(--ort-r, 12px); }
.rq-box h2 { margin: 0 0 14px; font-size: 20px; text-transform: none; color: var(--ort-ink, #2e3192); }
.rq-steps { margin: 0; padding: 0; list-style: none; counter-reset: rq; }
.rq-steps li { position: relative; padding: 0 0 16px 40px; font-size: 15px; line-height: 1.55; counter-increment: rq; }
.rq-steps li:last-child { padding-bottom: 0; }
.rq-steps li:before { content: counter(rq); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #eef0fb; color: #2e3192; font: 700 14px/28px "Titillium Web", sans-serif; text-align: center; }
.rq-steps b { color: #171a4a; }
.rq-contact { margin: 0; padding: 0; list-style: none; }
.rq-contact li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-size: 15px; }
.rq-contact i { flex: none; width: 34px; height: 34px; border-radius: var(--ort-r-sm, 8px); background: #eef0fb; color: #2e3192; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.rq-contact .fa-whatsapp { color: #25a244; background: #e9f7ef; }
.rq-contact a { color: #171a4a; font-weight: 600; word-break: break-word; }
.rq-contact a:hover { color: #f4572e; }
.rq-pdf { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--ort-r, 12px); background: linear-gradient(135deg, #14165c, #2e3192); color: rgba(255, 255, 255, 0.85); font-size: 14px; line-height: 1.5; }
.rq-pdf:hover { color: #fff; }
.rq-pdf img { flex: none; width: 74px; height: auto; border-radius: 4px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.rq-pdf b { display: block; margin-bottom: 4px; color: #fff; font: 700 17px "Titillium Web", sans-serif; }
.rq-pdf em { display: block; margin-top: 8px; font: 700 13.5px "Titillium Web", sans-serif; font-style: normal; color: #ff9a7c; }
.rq-pdf em i { margin-left: 4px; font-size: 11px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .rq-grid { grid-template-columns: 1fr; }
  .rq-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rq-pdf { grid-column: 1 / -1; }
  .cat-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 26px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .cat-hero { padding: 44px 0 84px; }
  .cat-hero-title { font-size: 40px; }
  .cat-hero-lead { font-size: 17px; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-filter-btn { display: inline-flex; }
  .cat-side {
    position: fixed; z-index: 2000; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); max-height: none;
    padding: 0; background: #fff; transform: translateX(-102%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 60px rgba(13, 14, 67, 0.4); display: flex; flex-direction: column; overflow: hidden;
  }
  .cat-side.is-open { transform: none; }
  .cat-side-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #e5e8f1; }
  .cat-side-head h2 { margin: 0; font-size: 20px; text-transform: none; }
  .cat-side-head button { width: 38px; height: 38px; border-radius: 50%; background: #f1f3f9; color: #171a4a; cursor: pointer; }
  .cat-facets { flex: 1; overflow: auto; padding: 0 20px; }
  .cat-side-foot { display: block; padding: 14px 20px 18px; border-top: 1px solid #e5e8f1; background: #fff; }
  .cat-side-foot .btn { width: 100%; height: 52px; }
  .pd-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-media { position: relative; top: 0; }
  .pd-media.is-empty { min-height: 320px; }
  .pmodal-inner { grid-template-columns: 1fr; min-height: 0; }
  .pmodal-media { padding: 56px 24px 24px; border-right: 0; border-bottom: 1px solid #eef0f6; }
  .pmodal-media img { max-height: 240px; }
  .pmodal-content { padding: 26px 24px 28px; }
  .pmodal-content h2 { font-size: 26px; }
}
@media (max-width: 767px) {
  .rq { padding-top: 36px !important; }
  .rq-card { padding: 22px 18px 24px; border-radius: var(--ort-r, 12px); }
  .rq-head { flex-wrap: wrap; }
  .rq-head-text { flex: 1 1 calc(100% - 56px); }   /* title on its own line next to the step number */
  .rq-add { flex: 1 1 auto; justify-content: center; padding: 0 14px; }   /* the two links share a row under the title */
  .rq-fields { grid-template-columns: 1fr; }
  .rq-side { grid-template-columns: 1fr; }
  .rq-empty { flex-direction: column; text-align: center; }
  .cat-search form { height: 58px; padding-left: 18px; }
  .cat-search input[type="search"] { font-size: 16px; }
  .cat-search .cat-go { display: none; }
  .cat-grid { gap: 12px; }
  .pd-info h1 { font-size: 30px; }
  .pmodal { padding: 0; align-items: flex-end; }
  .pmodal-dialog { max-height: 94vh; border-radius: var(--ort-r-lg, 16px) var(--ort-r-lg, 16px) 0 0; }
  .pmodal-rel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmodal-specs > div { grid-template-columns: 96px 1fr; gap: 10px; }
}
@media (max-width: 575px) {
  .cat-hero-title { font-size: 34px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-controls { width: 100%; justify-content: space-between; }
  .cat-count { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard-media img, .pmodal-dialog, .qdrawer-panel, .cat-side { transition: none !important; }
  .sk { animation: none; }
}

/* ---------- Quick view: links row, title link ---------- */
.pmodal-fulllink { color: inherit; }
.pmodal-fulllink:hover { color: #f4572e; }
.pmodal-links { align-items: center; }
.pmodal-links a, .pmodal-links .linkbtn { color: #2e3192; }
.pmodal-links a:hover, .pmodal-links .linkbtn:hover { color: #f4572e; }
.linkbtn.is-added { color: #157347; }
.pmodal-actions .btn i { margin-right: 4px; }

/* ---------- Product page: videos & documents ---------- */
.pd-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.pd-jump a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #dfe3ef; background: #fff; color: #2e3192; font: 700 14px "Titillium Web", sans-serif; }
.pd-jump a:hover { border-color: #f4572e; color: #f4572e; }
.pd-jump a b { padding: 1px 8px; border-radius: 999px; background: #eef0fa; font-size: 12px; }
.pd-media-sec { padding: 54px 0 20px; scroll-margin-top: 90px; }
.pd-media-sec.is-alt { background: #f5f7fb; margin-top: 30px; padding-bottom: 60px; }
.pd-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.pd-video { margin: 0; border-radius: var(--ort-r, 12px); overflow: hidden; background: #fff; border: 1px solid #e5e8f1; }
.pd-video .ratio { position: relative; aspect-ratio: 16 / 9; background: #0f1233; }
.pd-video video, .pd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd-video figcaption { padding: 14px 18px; font: 600 16px "Titillium Web", sans-serif; color: #171a4a; }
.pd-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.pd-doc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--ort-r, 12px); background: #fff; border: 1px solid #e5e8f1; color: #171a4a; transition: border-color 0.2s, box-shadow 0.3s; }
.pd-doc:hover { border-color: #f4572e; box-shadow: var(--ort-sh); }
.pd-doc-ic { flex: none; display: grid; place-items: center; width: 46px; height: 54px; border-radius: 8px; background: #fdeeea; color: #f4572e; font-size: 20px; }
.pd-doc-t { display: flex; flex-direction: column; min-width: 0; }
.pd-doc-t b { font: 600 16px/1.3 "Titillium Web", sans-serif; }
.pd-doc-t span { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #646d82; }
.pd-doc > .fa-download, .pd-doc > .pd-doc-go { margin-left: auto; color: #2e3192; }

/* ---------- Request a quote: specifications for each product ---------- */
.qspec { margin-top: 12px; border: 1px solid var(--ort-line, #e3e6ef); border-radius: var(--ort-r, 12px); background: #fff; }
.qspec-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: 0; background: none; font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ort-ink, #0f1733); text-align: left; cursor: pointer; }
.qspec-toggle > span { flex: 1; }
.qspec-toggle > .fa-chevron-down { font-size: 11px; color: var(--ort-muted, #6b7489); transition: transform 0.2s; }
.qspec.is-open .qspec-toggle > .fa-chevron-down { transform: rotate(180deg); }
.qspec-st { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 20px; font-family: inherit; font-size: 11.5px; font-weight: 700; line-height: 18px; font-style: normal; white-space: nowrap; }
.qspec-st { background: #f1f3f8; color: #6b7489; }
.qspec-st.is-todo { background: #fff1ec; color: #c2410c; }
.qspec-st.is-ok { background: #e8f6ef; color: #12805c; }
.qspec-st i { font-size: 10px; }
.qspec-body { padding: 4px 14px 14px; border-top: 1px solid #eef0f6; }
.qspec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; padding-top: 12px; }
.qf { display: block; margin: 0; min-width: 0; }
.qf > span:first-child, .qf legend { display: block; margin-bottom: 5px; font-size: 12.5px; font-weight: 600; color: var(--ort-ink, #0f1733); }
.qf b { margin-left: 3px; color: #f4572e; }
.qf select, .qf input[type=text] { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #d9dde8; border-radius: var(--ort-r-sm, 8px); background: #fff; font-family: inherit; font-size: 14px; color: var(--ort-ink, #0f1733); }
.qf select:focus, .qf input[type=text]:focus { outline: 0; border-color: #2e3192; box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.12); }
.qf-in { position: relative; display: block; }
.qf-in i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; font-style: normal; color: var(--ort-muted, #6b7489); pointer-events: none; }
.qf-in input { padding-right: 40px !important; }
.qf-multi { grid-column: 1 / -1; padding: 0; border: 0; }
.qf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-chips label { margin: 0; cursor: pointer; }
.qf-chips input { position: absolute; opacity: 0; pointer-events: none; }
.qf-chips span { display: inline-block; padding: 7px 13px; border: 1px solid #d9dde8; border-radius: 20px; font-size: 13px; color: var(--ort-ink, #0f1733); transition: background 0.15s, border-color 0.15s; }
.qf-chips input:checked + span { border-color: #2e3192; background: #2e3192; color: #fff; }
.qf-chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.2); }
.qf .is-invalid, .qf.is-invalid select, select.is-invalid, input.is-invalid[data-spec] { border-color: #d64545 !important; box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12); }
.qf-multi.is-invalid legend { color: #d64545; }
.qspec-unsure { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; font-size: 13px; color: var(--ort-muted, #6b7489); cursor: pointer; }
.qspec-unsure input { width: 16px; height: 16px; accent-color: #2e3192; }
@media (max-width: 575px) { .qspec-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Product pictures: carousel and full-screen view (product page and quick view, assets/js/gallery.js) ---------- */
.gal { position: relative; min-width: 0; }
.gal-stage { position: relative; overflow: hidden; border-radius: var(--ort-r-lg, 16px); border: 1px solid #e5e8f1; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 70%); }
.gal-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline: 2px solid #f4572e; outline-offset: -2px; border-radius: var(--ort-r-lg, 16px); }
.gal-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; height: 480px; margin: 0; padding: 40px 44px; scroll-snap-align: center; scroll-snap-stop: always; cursor: zoom-in; }
.gal-slide img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; -webkit-user-select: none; user-select: none; }
.gal-btn, .gal-full { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #e5e8f1; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: #171a4a; font-size: 15px; cursor: pointer; box-shadow: 0 6px 18px rgba(23, 26, 74, 0.12); transition: opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
.gal-btn { top: 50%; margin-top: -22px; }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-full { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 14px; }
.gal-btn:hover, .gal-full:hover { background: #f4572e; border-color: #f4572e; color: #fff; }
.gal-btn[disabled] { opacity: 0; pointer-events: none; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 14px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumb { flex: 0 0 76px; height: 76px; padding: 6px; border: 1.5px solid #e5e8f1; border-radius: var(--ort-r-sm, 8px); background: #fff; cursor: pointer; transition: border-color 0.18s, box-shadow 0.18s; }
.gal-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gal-thumb:hover { border-color: #b9bfdc; }
.gal-thumb.is-on { border-color: #2e3192; box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.12); }
.gal-dots { display: flex; justify-content: center; margin-top: 10px; }
.gal-dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.gal-dot:before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 99px; background: #cfd4e4; transition: width 0.2s, margin 0.2s, background 0.2s; }
.gal-dot.is-on:before { width: 20px; margin-left: -10px; background: var(--c, #2e3192); }
/* quick view: the carousel sits in the coloured panel, with dots */
.pmodal-media.has-gal { display: block; padding: 46px 22px 18px; }
.gal.is-compact .gal-stage { border: 0; border-radius: 0; background: none; }
.gal.is-compact .gal-slide { height: 400px; padding: 8px 52px; }
.gal.is-compact .gal-full { top: 0; right: 0; }
@media (max-width: 991px) {
  .gal-slide { height: 380px; padding: 28px; }
  .gal.is-compact .gal-slide { height: 280px; padding: 4px 44px; }
  .gal.is-compact .gal-full { top: auto; bottom: 0; }   /* clear of the quick view's close button */
}
@media (max-width: 575px) {
  .gal-slide { height: 320px; padding: 22px 18px; }
  .gal-btn { width: 38px; height: 38px; margin-top: -19px; font-size: 13px; }
  .gal-prev { left: 8px; }
  .gal-next { right: 8px; }
  .gal-thumb { flex-basis: 62px; height: 62px; padding: 4px; border-radius: var(--ort-r-sm, 8px); }
  .gal.is-compact .gal-slide { height: 230px; padding: 4px 40px; }
}
/* full screen: the carousel is moved to <body> and fills the window */
.gal.is-full { position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; margin: 0; padding: 16px 16px 18px; background: #fff; }
.gal.is-full .gal-stage { flex: 1 1 auto; min-height: 0; border: 0; border-radius: 0; background: #fff; }
.gal.is-full .gal-track { height: 100%; }
.gal.is-full .gal-slide { height: 100%; padding: 12px 72px; cursor: default; }
.gal.is-full .gal-slide img { max-height: 100%; }
.gal.is-full .gal-full { top: 4px; right: 4px; }
.gal.is-full .gal-thumbs { flex: none; }
.gal.is-full .gal-thumb:first-child { margin-left: auto; }
.gal.is-full .gal-thumb:last-child { margin-right: auto; }
@media (max-width: 575px) {
  .gal.is-full { padding: 10px 8px 14px; }
  .gal.is-full .gal-slide { padding: 8px 6px; }
}
html.gal-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .gal-dot:before, .gal-thumb, .gal-btn { transition: none; } }
