.hub-main { background: #faf8fc; min-height: 75vh; }
.hub-hero { padding: 105px 0 56px; background: linear-gradient(120deg, #240043, #5a199b); color: white; }
.hub-breadcrumb { color: #ded0f3; font-size: var(--font-12); }
.hub-eyebrow { display: block; margin: 25px 0 10px; letter-spacing: 2px; font-size: var(--font-12); color: #d1c4e9; }
.hub-hero h1 { font-size: clamp(var(--font-32), 5vw, var(--font-48)); line-height: 1.15; margin-bottom: 15px; }
.hub-hero p { max-width: 650px; color: #eee5f8; line-height: 1.8; }
.hub-section { padding: 32px 0 80px; }
.hub-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hub-nav a { padding: 10px 18px; border: 1px solid #e2d7ee; background: white; border-radius: 30px; color: #5a199b; font-size: var(--font-12); }
.hub-nav a[aria-current], .hub-nav a:hover { color: white; background: #7b3fc0; }
.hub-notice { border: 1px solid #e5daef; background: #f1eaf9; padding: 15px 18px; border-radius: 12px; color: #635276; font-size: var(--font-12); line-height: 1.7; margin: 18px 0; }
.hub-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin: 28px 0 16px; }
.hub-toolbar label { display: grid; gap: 7px; font-size: var(--font-12); color: #514a71; min-width: 0; }
.hub-search { flex: 1; min-width: 210px !important; }
.hub-toolbar input, .hub-toolbar select { padding: 12px 14px; border: 1px solid #d9cce9; border-radius: 10px; font: inherit; background: white; color: #3d0075; min-height: 45px; max-width: 100%; }
.hub-status { font-size: var(--font-12); color: #6f7486; margin-bottom: 20px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hub-card { display: flex; flex-direction: column; align-items: start; padding: 28px; border: 1px solid #eee5f8; background: white; border-radius: 20px; box-shadow: 0 10px 30px #3d007506; min-width: 0; }
.hub-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: #f1eaf9; color: #7b3fc0; margin-bottom: 20px; flex-shrink: 0; }
.hub-icon svg { width: 34px; height: 34px; }
.hub-tag { display: inline-block; color: #8763af; font-size: var(--font-12); font-weight: var(--weight-600); letter-spacing: .6px; text-transform: uppercase; }
.hub-card h2 { color: #3d0075; font-size: var(--font-20); line-height: 1.4; margin: 12px 0; }
.hub-card p { font-size: var(--font-14); line-height: 1.8; color: #6f7486; margin-bottom: 12px; }
.hub-meta { font-size: var(--font-12) !important; color: #8c7a9e !important; }
.hub-price { color: #3d0075 !important; font-size: var(--font-24) !important; font-weight: var(--weight-600); margin: 16px 0; }
.hub-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 15px; }
.hub-button { display: inline-flex; justify-content: center; align-items: center; padding: 11px 17px; border: 1px solid #7b3fc0; border-radius: 10px; font: inherit; font-size: var(--font-12); font-weight: var(--weight-500); background: #7b3fc0; color: white; cursor: pointer; min-height: 43px; }
.hub-button:hover:not(:disabled) { background: #5a199b; color: white; }
.hub-secondary { background: white; color: #7b3fc0; border-color: #e0d2ef; }
.hub-button:disabled { opacity: .45; cursor: default; }
.hub-empty { text-align: center; padding: 50px; color: #6f7486; }
.hub-dialog { width: min(780px, calc(100% - 28px)); max-height: 88vh; max-height: 88dvh; margin: auto; padding: 0; border: 0; border-radius: 24px; background: white; color: #514a71; overflow: auto; overscroll-behavior: contain; }
.hub-dialog::backdrop { background: #180030b5; }
.hub-dialog-panel { position: relative; padding: 40px; }
.hub-dialog h2 { color: #3d0075; padding-right: 24px; margin-bottom: 24px; font-size: var(--font-24); }
.hub-dialog h3 { font-size: var(--font-16); color: #3d0075; }
.hub-dialog p { line-height: 1.8; margin: 14px 0; overflow-wrap: anywhere; }
.hub-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1eaf9; font-size: var(--font-24); color: #3d0075; cursor: pointer; }
.hub-link { display: block; margin: 15px 0; color: #7b3fc0; text-decoration: underline; overflow-wrap: anywhere; }
.hub-cart-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 18px 0; border-bottom: 1px solid #eee5f8; }
.hub-cart-row > div:first-child { flex: 1; min-width: 170px; }
.hub-cart-row p { font-size: var(--font-12); margin: 5px 0; }
.hub-quantity { display: flex; gap: 12px; align-items: center; }
.hub-quantity button { padding: 8px 13px; font-size: var(--font-18); }
.hub-toast { position: fixed; z-index: 9999; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 30px); width: max-content; padding: 14px 22px; border-radius: 12px; background: #3d0075; color: white; box-shadow: 0 8px 30px #18003030; font-size: var(--font-12); opacity: 0; pointer-events: none; }
.hub-toast.visible { opacity: 1; }
body.hub-modal-open { overflow: hidden; }
.hub-button:focus-visible, .hub-close:focus-visible, .hub-toolbar input:focus-visible, .hub-toolbar select:focus-visible, .hub-nav a:focus-visible { outline: 3px solid #b69cdb; outline-offset: 3px; }
@media (max-width: 950px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: minmax(0, 1fr); } .hub-hero { padding-top: 110px; } .hub-toolbar > label { flex: 1 1 100%; } .hub-toolbar input, .hub-toolbar select { width: 100%; } .hub-toolbar > button { width: 100%; } .hub-card { padding: 24px; } .hub-dialog-panel { padding: 45px 22px 25px; } .hub-nav a { font-size: var(--font-12); padding: 9px 12px; } }

/* Professional directory layout only. */
body[data-hub="contacts"] .hub-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.professional-card { align-items: center; text-align: center; padding: 26px 20px; }
.professional-photo { display: grid; place-items: center; position: relative; flex-shrink: 0; width: 100px; height: 100px; margin: 0 0 20px; border: 4px solid #f1eaf9; border-radius: 50%; overflow: hidden; background: #eee5f8; color: #7b3fc0; font-size: var(--font-28); font-weight: var(--weight-600); }
.professional-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.professional-card h2 { margin-top: 10px; }
.professional-address { min-height: 50px; }
.professional-rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 10px; font-size: var(--font-12); font-weight: var(--weight-600); color: #3d0075; }
.professional-stars { font-size: var(--font-20); letter-spacing: 1px; background: linear-gradient(90deg, #d79a27 var(--rating-fill, 0%), #e0d7e9 var(--rating-fill, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.professional-card .professional-feedback { font-size: var(--font-12); color: #8c7a9e; }
.professional-card .hub-card-actions { width: 100%; }
.professional-card .hub-card-actions button { width: 100%; }
@media (max-width: 1100px) { body[data-hub="contacts"] .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 850px) { body[data-hub="contacts"] .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) { body[data-hub="contacts"] .hub-grid { grid-template-columns: minmax(0, 1fr); } }
