.sv-specialty-page {
    --sv-ink: #102a43;
    --sv-muted: #52657a;
    --sv-line: #d9e5ee;
    --sv-soft: #f4f8f7;
    --sv-brand: var(--color-1st, #0787a8);
    --sv-green: #15803d;
    --sv-green-soft: #ecfdf3;
    background: #fff;
    color: var(--sv-ink);
}

.sv-specialty-page *,
.sv-specialty-page *::before,
.sv-specialty-page *::after { box-sizing: border-box; }

.sv-specialty-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 60px;
    border-bottom: 1px solid var(--sv-line);
    background:
        radial-gradient(circle at 88% 12%, rgba(7, 135, 168, .18), transparent 34%),
        linear-gradient(135deg, #f8fbfd 0%, #edf7f6 100%);
}

.sv-specialty-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 42, 67, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 42, 67, .035) 1px, transparent 1px);
    background-size: 32px 32px;
    content: '';
    pointer-events: none;
}

.sv-specialty-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
    gap: 48px;
    align-items: center;
}

.sv-specialty-eyebrow,
.sv-specialty-section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--sv-brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sv-specialty-hero h1 {
    max-width: 900px;
    margin: 0 0 20px;
    color: var(--sv-ink);
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.sv-specialty-lead {
    max-width: 780px;
    color: var(--sv-muted);
    font-size: 18px;
    line-height: 1.7;
}

.sv-specialty-lead > :last-child { margin-bottom: 0; }

.sv-specialty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.sv-specialty-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid var(--sv-brand);
    border-radius: 8px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.sv-specialty-button:hover { transform: translateY(-1px); }

.sv-specialty-button--primary {
    background: var(--sv-brand);
    box-shadow: 0 10px 24px rgba(7, 135, 168, .2);
    color: #fff !important;
}

.sv-specialty-button--secondary {
    background: #fff;
    color: var(--sv-brand) !important;
}

.sv-specialty-button--light {
    flex: 0 0 auto;
    border-color: #fff;
    background: #fff;
    color: var(--sv-ink) !important;
}

.sv-specialty-hero__panel,
.sv-specialty-contact-card {
    padding: 30px;
    border: 1px solid rgba(7, 135, 168, .24);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 55px rgba(16, 42, 67, .1);
}

.sv-specialty-panel__icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 12px;
    background: var(--sv-brand);
    color: #fff;
    font-size: 24px;
}

.sv-specialty-hero__panel h2,
.sv-specialty-contact-card h2 {
    margin: 0 0 12px;
    color: var(--sv-ink);
    font-size: 23px;
    line-height: 1.3;
}

.sv-specialty-hero__panel p,
.sv-specialty-contact-card p {
    margin: 0;
    color: var(--sv-muted);
    font-size: 15px;
    line-height: 1.7;
}

.sv-specialty-page .svkp {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.sv-specialty-page .svkp li {
    position: relative;
    margin: 0 0 11px;
    padding-left: 30px;
    color: #334e45;
    line-height: 1.6;
}

.sv-specialty-page .svkp li::before {
    position: absolute;
    top: .15em;
    left: 0;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--sv-green-soft);
    color: var(--sv-green);
    content: '✓';
    font-size: 12px;
    font-weight: 900;
}

.sv-specialty-trust {
    padding: 22px 0;
    border-bottom: 1px solid var(--sv-line);
    background: #fff;
}

.sv-specialty-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.sv-specialty-trust__item {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--sv-line);
    border-radius: 10px;
    background: var(--sv-soft);
    color: var(--sv-ink);
    font-size: 14px;
    font-weight: 650;
}

.sv-specialty-trust__item i {
    color: var(--sv-brand);
    font-size: 22px;
}

.sv-specialty-content { padding: 68px 0; }

.sv-specialty-content__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

.sv-specialty-content__article {
    min-width: 0;
    color: #334b63;
    font-size: 16px;
    line-height: 1.8;
}

.sv-specialty-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sv-specialty-copy-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--sv-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 42, 67, .07);
}

.sv-specialty-copy-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sv-brand), #45c7a5);
    content: '';
}

.sv-specialty-copy-card:first-child {
    background: linear-gradient(145deg, #f8fbfd, #f1faf7);
}

.sv-specialty-copy-card:first-child,
.sv-specialty-copy-card:nth-child(2),
.sv-specialty-copy-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.sv-specialty-copy-card h2:first-child,
.sv-specialty-copy-card h3:first-child { margin-top: 0; }

.sv-specialty-copy-card > :last-child { margin-bottom: 0; }

.sv-specialty-copy-card em {
    padding: 1px 5px;
    border-radius: 5px;
    background: #edf7fb;
    color: #0c6392;
    font-style: normal;
    font-weight: 650;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.sv-specialty-content__article h2,
.sv-specialty-content__article h3 {
    color: var(--sv-ink);
    line-height: 1.25;
}

.sv-specialty-content__article h2 {
    margin: 42px 0 16px;
    font-size: clamp(27px, 3vw, 35px);
    letter-spacing: -.015em;
}

.sv-specialty-content__article h2:first-child { margin-top: 0; }

.sv-specialty-copy-card h2 {
    margin-top: 0;
    font-size: clamp(24px, 2.4vw, 31px);
}

.sv-specialty-content__article h3 {
    margin: 28px 0 12px;
    font-size: 21px;
}

.sv-specialty-content__article p,
.sv-specialty-content__article ul { margin-bottom: 22px; }

.sv-specialty-content__article a:not(.ps-btn) {
    color: var(--sv-brand);
    font-weight: 700;
    text-decoration: none;
}

.sv-specialty-catalogue {
    margin-top: 48px;
    padding: 30px;
    border: 1px solid var(--sv-line);
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fbfd, #f2faf6);
    box-shadow: 0 12px 32px rgba(16, 42, 67, .06);
}

.sv-specialty-catalogue h2 { margin-top: 0; }

.sv-specialty-catalogue__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.sv-specialty-catalogue__card {
    position: relative;
    display: flex;
    min-height: 104px;
    flex-direction: column;
    justify-content: center;
    padding: 20px 46px 20px 20px;
    border: 1px solid var(--sv-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 42, 67, .04);
    text-decoration: none !important;
}

.sv-specialty-catalogue__card:hover {
    border-color: var(--sv-brand);
    box-shadow: 0 9px 24px rgba(7, 135, 168, .12);
}

.sv-specialty-catalogue__card span {
    margin-bottom: 6px;
    color: var(--sv-muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sv-specialty-catalogue__card strong {
    color: var(--sv-ink);
    font-size: 16px;
    line-height: 1.4;
}

.sv-specialty-catalogue__card i {
    position: absolute;
    top: 50%;
    right: 18px;
    color: var(--sv-brand);
    font-size: 22px;
    font-style: normal;
    transform: translateY(-50%);
}

.sv-specialty-catalogue__card--primary {
    border-color: rgba(21, 128, 61, .28);
    background: var(--sv-green-soft);
}

.sv-specialty-products {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--sv-line);
}

.sv-specialty-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sv-specialty-products__item {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff;
    color: var(--sv-ink) !important;
}

.sv-specialty-products__item i {
    color: var(--sv-brand);
    font-style: normal;
}

.sv-specialty-native-products {
    margin-top: 28px;
    padding: 30px;
    border: 1px solid var(--sv-line);
    border-radius: var(--sv-radius);
    background: linear-gradient(145deg, #f7fbfd, #f3faf7);
    box-shadow: 0 16px 38px rgba(16, 42, 67, .08);
}

.sv-specialty-native-products .ps-section__header {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sv-line);
}

.sv-specialty-native-products .ps-section__header h2 {
    margin: 0;
    color: var(--sv-ink);
    font-size: clamp(25px, 2.5vw, 34px);
}

.sv-specialty-native-products .ps-section__links {
    margin: 0;
}

.sv-specialty-native-products .ps-product {
    height: 100%;
}

.sv-specialty-native-products .ps-product--grid-compact {
    border: 1px solid rgba(7, 135, 168, .16);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 42, 67, .07);
}

.sv-specialty-native-products .owl-stage {
    display: flex;
}

.sv-specialty-native-products .owl-item {
    display: flex;
    padding: 4px 7px 14px;
}

/* Owl stretches a one-product carousel across the entire content column.
   Keep the card at normal catalogue scale without changing multi-item rows. */
.sv-specialty-native-products .single-item-carousel:has(.owl-stage > .owl-item:only-child) .owl-stage {
    width: 100% !important;
    transform: none !important;
}

.sv-specialty-native-products .single-item-carousel:has(.owl-stage > .owl-item:only-child) .owl-item {
    width: min(100%, 320px) !important;
    max-width: 320px;
    margin-right: 0 !important;
}

.sv-specialty-native-products .single-item-carousel:has(.owl-stage > .owl-item:only-child) .owl-nav,
.sv-specialty-native-products .single-item-carousel:has(.owl-stage > .owl-item:only-child) .owl-dots {
    display: none;
}

.sv-specialty-native-products .owl-item > .ps-product,
.sv-specialty-native-products article.ps-product {
    width: 100%;
    min-width: 0;
    height: 100%;
}

/* Keep embedded cards compact even when the Sets theme's broader catalogue
   rules are loaded later or a visitor changes themes with cached assets. */
.sv-specialty-native-products .ps-product__container,
.sv-specialty-native-products .ps-product__content {
    min-width: 0;
}

.sv-specialty-native-products .ps-product__title {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.sv-specialty-native-products .ps-product__shopping.compact .ps-btn {
    width: auto;
    max-width: 100%;
    padding: 5px 12px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
}

.sv-specialty-content__aside {
    position: sticky;
    top: 110px;
}

.sv-specialty-contact-card .svkp { margin-bottom: 20px; }

.sv-specialty-contact-card .sv-specialty-button {
    width: 100%;
    margin-top: 4px;
}

.sv-specialty-text-link,
.sv-specialty-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--sv-brand) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.sv-specialty-phone { color: var(--sv-ink) !important; }

.sv-specialty-cta {
    padding: 44px 0;
    background: linear-gradient(120deg, #0d3850, #075c6f);
    color: #fff;
}

.sv-specialty-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.sv-specialty-cta .sv-specialty-eyebrow { color: #7de3d2; }

.sv-specialty-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(27px, 3vw, 38px);
}

.sv-specialty-cta p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.sv-specialty-inquiry {
    padding: 72px 0 82px;
    border-top: 1px solid var(--sv-line);
    background: var(--sv-soft);
}

.sv-specialty-inquiry__layout {
    display: grid;
    grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
    gap: 48px;
    align-items: start;
}

.sv-specialty-inquiry__intro {
    position: sticky;
    top: 110px;
    padding-top: 18px;
}

.sv-specialty-inquiry__intro h2 {
    margin: 0 0 14px;
    color: var(--sv-ink);
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.15;
}

.sv-specialty-inquiry__intro p {
    color: var(--sv-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sv-specialty-inquiry__form {
    min-width: 0;
    padding: 34px;
    border: 1px solid var(--sv-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 42, 67, .08);
}

.sv-specialty-inquiry__form .quote-form-title,
.sv-specialty-inquiry__form .quote-form-description { display: none; }

.sv-specialty-inquiry__form .quote-form-row {
    margin-right: -10px;
    margin-left: -10px;
}

.sv-specialty-inquiry__form .quote-column-6,
.sv-specialty-inquiry__form .quote-column-12 {
    padding-right: 10px;
    padding-left: 10px;
}

.sv-specialty-inquiry__form .quote-form-group,
.sv-specialty-inquiry__form .quote-form-input-group {
    margin-bottom: 20px;
}

.sv-specialty-inquiry__form .quote-label {
    margin-bottom: 7px;
    color: var(--sv-ink);
    font-size: 14px;
    font-weight: 700;
}

.sv-specialty-inquiry__form .quote-form-input,
.sv-specialty-inquiry__form input:not([type='checkbox']):not([type='radio']),
.sv-specialty-inquiry__form select,
.sv-specialty-inquiry__form textarea {
    width: 100%;
    max-width: none;
    height: 46px;
    padding: 10px 12px;
    border: 1px solid #c9d7e2;
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
    color: var(--sv-ink);
    font-family: inherit;
    font-size: 15px;
}

.sv-specialty-inquiry__form textarea.quote-form-input,
.sv-specialty-inquiry__form textarea {
    min-height: 118px;
    resize: vertical;
}

.sv-specialty-inquiry__form .quote-form-input:focus,
.sv-specialty-inquiry__form input:focus,
.sv-specialty-inquiry__form select:focus,
.sv-specialty-inquiry__form textarea:focus {
    border-color: var(--sv-brand);
    box-shadow: 0 0 0 3px rgba(7, 135, 168, .12);
    outline: none;
}

.sv-specialty-inquiry__form .form-check,
.sv-specialty-inquiry__form label.form-check {
    display: flex;
    width: auto;
    height: auto;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 20px;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.sv-specialty-inquiry__form input[type='checkbox'],
.sv-specialty-inquiry__form input[type='radio'] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.sv-specialty-inquiry__form .quote-btn,
.sv-specialty-inquiry__form button[type='submit'] {
    min-height: 48px;
    padding: 13px 26px;
    border: 0;
    border-radius: 8px;
    background: var(--sv-brand);
    box-shadow: 0 10px 24px rgba(7, 135, 168, .18);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 750;
}

.sv-specialty-inquiry__form .quote-message {
    border-radius: 8px;
    padding: 14px 16px;
}

@media (max-width: 1199px) {
    .sv-specialty-copy-grid { grid-template-columns: 1fr; }
    .sv-specialty-copy-card { grid-column: auto !important; }
}

@media (max-width: 991px) {
    .sv-specialty-hero__inner,
    .sv-specialty-content__layout,
    .sv-specialty-inquiry__layout { grid-template-columns: 1fr; }

    .sv-specialty-hero__panel { max-width: 680px; }
    .sv-specialty-content__aside,
    .sv-specialty-inquiry__intro { position: static; }
    .sv-specialty-inquiry__layout { gap: 24px; }
}

@media (max-width: 767px) {
    .sv-specialty-hero { padding: 48px 0 40px; }

    .sv-specialty-hero__inner,
    .sv-specialty-content__layout { gap: 28px; }

    .sv-specialty-hero h1 { font-size: 38px; }
    .sv-specialty-lead { font-size: 16px; }

    .sv-specialty-actions,
    .sv-specialty-button { width: 100%; }

    .sv-specialty-content,
    .sv-specialty-inquiry { padding: 46px 0; }

    .sv-specialty-catalogue__grid,
    .sv-specialty-products__grid { grid-template-columns: 1fr; }

    .sv-specialty-cta__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-specialty-hero__panel,
    .sv-specialty-contact-card,
    .sv-specialty-inquiry__form,
    .sv-specialty-catalogue,
    .sv-specialty-copy-card {
        padding: 22px;
        border-radius: 12px;
    }

    .sv-specialty-inquiry__form .quote-column-6,
    .sv-specialty-inquiry__form .quote-column-12 {
        float: none;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sv-specialty-button { transition: none; }
}
