﻿/* Shared service menu layout and default theme */
.svc-menu-open { display:inline-flex; align-items:center; justify-content:center; padding:14px 26px; background:#333; color:#fff; border-radius:4px; text-decoration:none; font-family:Arial,sans-serif; font-weight:700; }
#service-menu { box-sizing:border-box; width:min(1060px,calc(100% - 48px)); max-width:none; max-height:90vh; max-height:90dvh; padding:0; border:2px solid #ccc; border-radius:10px; background:#fff; background-clip:padding-box; color:#262626; font-family:Arial,sans-serif; overflow:hidden; }
#service-menu *, #service-menu *::before, #service-menu *::after { box-sizing:border-box; }
#service-menu::backdrop { background:rgba(0,0,0,.7); }
#service-menu[open] { display:flex; flex-direction:column; }

.svc-header { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-shrink:0; padding:22px 28px; background:#005369; color:#fff; }
.svc-brand { font-size:16px; letter-spacing:2px; margin-bottom:-4px; }
.svc-header h2 { font-family:inherit; font-size:32px; line-height:1.2; letter-spacing:0; color:inherit; font-weight:700; margin:0; }
.svc-close { display:inline-flex; align-items:center; justify-content:center; gap:8px; flex-shrink:0; min-height:44px; padding:8px 12px; border:1px solid #ccc; border-radius:4px; background:#fff; color:#262626; font-family:inherit; font-size:14px; cursor:pointer; }
.svc-scroll { overflow:auto; overscroll-behavior:contain; min-height:0; }

.svc-desktop { display:grid; grid-template-columns:300px minmax(0,1fr); }
.svc-nav { display:flex; flex-direction:column; gap:5px; padding:18px 12px; background:#f2f2f2; }
.svc-tab { display:flex; align-items:center; gap:11px; width:100%; min-height:46px; padding:13px 14px; border:0; border-radius:4px; background:transparent; color:#262626; text-align:left; font-family:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.svc-tab span { letter-spacing:.5px; font-size:16px; }
.svc-tab:hover { background:#e3e3e3; }
.svc-tab[aria-pressed="true"] { background:#005369; color:#fff; }
.svc-panel { padding:24px 30px; min-width:0; }

.svc-category { display:none; }
.svc-category.svc-active { display:block; }
.svc-category > summary { display:none; }
.svc-category-title { display:inline-block; font-family:inherit; font-size:26px; line-height:1.25; font-weight:700; letter-spacing:1px; color:#005369; padding:8px 24px 4px 20px; margin:-5px 0 0 -10px; background:rgba(255,255,255,.5); border:2px solid #005369; border-radius:6px; }
.svc-category-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 24px; width:24px; height:24px; color:inherit; }
.svc-category-icon svg { display:block; width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }

.svc-items { list-style:none; margin:0; padding:0; }
.svc-item { padding:17px 0; border-bottom:1px solid #ddd; overflow-wrap:anywhere; }
.svc-item:last-child { border-bottom:0; }
.svc-item-content { display:grid; grid-template-columns:minmax(0,1fr) fit-content(40%); column-gap:12px; row-gap:4px; }
.svc-item-content:has(> .svc-item-image) { grid-template-columns:56px minmax(0,1fr) fit-content(40%); }
.svc-item-copy, .svc-item-top { display:contents; }
.svc-item-image { display:block; grid-column:1; grid-row:1; width:56px; height:56px; object-fit:cover; border-radius:4px; }
.svc-name { grid-column:1; grid-row:1; align-self:end; font-family:Arial,sans-serif; font-weight:700; font-size:17px; line-height:1.25; color:#005369; margin:0; }
.svc-item-content:has(> .svc-item-image) .svc-name { grid-column:2; }
.svc-price { grid-column:-2 / -1; grid-row:1; align-self:start; justify-self:end; text-align:right; font-size:15px; font-weight:700; line-height:1.25; color:inherit; font-variant-numeric:tabular-nums; }
.svc-description { font-family:Arial,sans-serif; font-weight:400; font-size:14px; line-height:1.45; color:#555; margin:1px 0 0; padding-top:14px;}
.svc-item-copy > .svc-description { grid-column:1 / -1; grid-row:2; margin:0; }
.svc-description > :first-child { margin-top:0; }
.svc-description > :last-child { margin-bottom:0; }

.svc-items--two-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; }
.svc-items--two-columns .svc-item { min-width:0; padding:11px 0; border-bottom:1px solid #ddd; }
.svc-items--two-columns .svc-item:nth-last-child(-n+2) { border-bottom:0; }

.svc-category > .svc-description + .svc-items { margin-top:12px; }
.svc-category > .svc-description + .svc-items > .svc-item:first-child { padding-top:0; }
.svc-advisory { padding:18px 28px; border-top:1px solid #ddd; background:#262626; color:#fff; font-size:12px; font-weight:400; }
.svc-mobile { display:none; }
.svc-close:focus-visible, .svc-tab:focus-visible, .svc-category > summary:focus-visible, .svc-menu-open:focus-visible { outline:3px solid #555; outline-offset:3px; }

@media (max-width:767px) {
    #service-menu { width:100%; height:100%; height:100dvh; max-height:100%; max-height:100dvh; margin:0; border-radius:10px; }
    .svc-header { padding:18px 16px; }
    .svc-header h2 { font-size:24px; }
    .svc-desktop { display:block; }
    .svc-nav { display:none; }
    .svc-panel { padding:0; }
    .svc-category, .svc-category.svc-active { display:block; border-bottom:1px solid #ddd; }
    .svc-category-title { display:none; }
    .svc-category > summary { display:flex; align-items:center; gap:12px; min-height:58px; padding:17px 20px; font-family:Arial,sans-serif; font-weight:700; font-size:16px; line-height:1.4; color:#005369; list-style:none; cursor:pointer; }
    .svc-category > summary::-webkit-details-marker { display:none; }
    .svc-category > summary::after { content:'+'; margin-left:auto; font-size:22px; font-weight:400; }
    .svc-category[open] > summary, .svc-category[open] > .svc-description { background:rgb(0,83,105,.5); background:#e16a2c; color:#fff; }
    .svc-category[open] > summary::after { content:'−'; }
    .svc-category[open] > .svc-description { margin:0; padding:0 20px 16px; }
    .svc-category[open] > .svc-description * { color:inherit; }
    .svc-category[open] > .svc-items { background:#f2f2f2; padding:0 20px 6px; }
    .svc-category[open] > .svc-description + .svc-items { margin-top:0; }
    .svc-category[open] > .svc-description + .svc-items > .svc-item:first-child { padding-top:12px; }
    .svc-items--two-columns { column-gap:16px; }
    .svc-items--two-columns .svc-name { font-size:15px; }
    .svc-advisory { padding:18px 20px; }
    .svc-name {font-size:15px;}
}


#service-menu[open] { position:static; width:100%; height:auto; max-height:none; margin:0; }
#service-menu .svc-scroll { overflow:visible; }
#service-menu .svc-close { display:none; }