:is(.vnh-imported-catalog-product,.vnh-imported-catalog-listing,.vnh-imported-catalog-directory,.vnh-commerce) {
    --vnh-ink: #183148;
    --vnh-muted: #42576a;
    --vnh-accent: #126659;
    --vnh-soft: #f3f7fa;
    --vnh-edge: #d9e3eb;
    --vnh-gutter: clamp(16px, 4vw, 44px);
}

.vnh-imported-catalog-product #main .ast-article-single.product {
    display: flow-root;
    box-sizing: border-box;
    width: 100%;
    max-width: 1220px;
    margin: clamp(20px, 4vw, 52px) auto 0;
    padding-inline: var(--vnh-gutter);
}
.vnh-imported-catalog-product #main .product .woocommerce-product-gallery {
    box-sizing: border-box;
    padding: clamp(12px, 2vw, 24px);
    background: var(--vnh-soft);
    border: 1px solid var(--vnh-edge);
    border-radius: 18px;
}
.vnh-imported-catalog-product #main .product .woocommerce-product-gallery__image > a { display: block; }
.vnh-imported-catalog-product #main .product .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
    position: static !important;
    display: block !important;
    width: 100%;
    height: auto !important;
    max-height: 570px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 10px;
}
.vnh-imported-catalog-product #main .product .summary {
    box-sizing: border-box;
    padding: clamp(14px, 2.4vw, 28px);
    border: 1px solid var(--vnh-edge);
    border-radius: 18px;
    color: var(--vnh-muted);
    background: #fff;
    overflow-wrap: anywhere;
}
.vnh-imported-catalog-product #main .product :is(.summary,.vnh-imported-product-heading) h1.product_title {
    display: block !important;
    margin: 0 0 12px;
    color: var(--vnh-ink) !important;
    font-size: clamp(1.45rem, 2.4vw, 2.05rem) !important;
    line-height: 1.2 !important;
    font-weight: 700;
}
.vnh-imported-catalog-product > .vira-sticky-cta { display: none !important; }
.vnh-imported-catalog-product #main .vnh-imported-product-heading {
    margin: 0 0 clamp(16px, 2vw, 26px);
}
.vnh-imported-catalog-product #main .vnh-imported-product-seller {
    margin: 0 0 6px;
    color: var(--vnh-accent);
    font-size: .9rem;
    font-weight: 700;
}
.vnh-imported-catalog-product #main .vnh-imported-product-affiliate {
    margin: 0 0 1em;
    color: var(--vnh-muted);
    font-size: .85rem;
}
.vnh-imported-catalog-product #main .product .summary .price {
    color: var(--vnh-accent);
    font-weight: 750;
}
.vnh-imported-catalog-product #main .product .summary .vnh-price-classification {
    display: block;
    margin-top: 3px;
    color: var(--vnh-muted);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.4;
}
.vnh-imported-catalog-no-merchant-category #main .product .summary :is(.woocommerce-breadcrumb,.single-product-category) {
    display: none;
}
.vnh-imported-catalog-product #main .product .summary .single_add_to_cart_button {
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    background: var(--vnh-accent);
    border-color: var(--vnh-accent);
    color: #fff;
    border-radius: 8px;
}
.vnh-imported-catalog-product #main .product .summary .single_add_to_cart_button:hover {
    background: #0b4e44;
    border-color: #0b4e44;
}
.vnh-imported-catalog-product #main .product .woocommerce-tabs {
    box-sizing: border-box;
    padding: clamp(12px, 2vw, 24px);
    border: 1px solid var(--vnh-edge);
    border-radius: 14px;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    .vnh-imported-catalog-product #main .ast-article-single.product {
        padding-inline: max(16px, env(safe-area-inset-left), env(safe-area-inset-right)) !important;
    }
    .vnh-imported-catalog-product #main .product .summary .single_add_to_cart_button {
        width: 100%;
    }
    .vnh-imported-catalog-product #main .product :is(.woocommerce-product-gallery,.summary) {
        float: none !important;
        width: 100% !important;
        margin: 0 0 16px !important;
    }
    .vnh-imported-catalog-product #main .product .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
        max-height: min(420px, 60vh);
    }
}

:is(.vnh-imported-catalog-listing,.vnh-imported-catalog-directory) #main .entry-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 44px) var(--vnh-gutter);
    color: var(--vnh-muted);
    overflow-wrap: anywhere;
}
:is(.vnh-imported-catalog-listing,.vnh-imported-catalog-directory) #main .entry-content h1 {
    color: var(--vnh-ink);
    font-size: clamp(1.65rem, 4vw, 2.65rem);
    line-height: 1.2;
    margin: 0 0 18px;
}
.vnh-imported-catalog-listing #main .entry-content a[rel~="sponsored"] {
    font-weight: 700;
    color: var(--vnh-accent);
    text-decoration: underline;
    text-underline-offset: .18em;
}
.vnh-imported-catalog-listing #main .entry-content figure img { max-width: 100%; height: auto; }
.vnh-imported-catalog-directory #main .vnh-nsis-directory .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr));
    gap: 14px;
    padding: 0;
    margin: 22px 0;
}
.vnh-imported-catalog-directory #main .vnh-nsis-directory .wp-block-post {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--vnh-edge);
    border-radius: 12px;
    background: var(--vnh-soft);
    list-style: none;
}
.vnh-imported-catalog-directory #main .vnh-nsis-directory .wp-block-post-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    line-height: 1.3;
}
.vnh-imported-catalog-directory #main .vnh-nsis-directory .wp-block-post-title a { color: var(--vnh-accent); }
.vnh-imported-catalog-directory #main .vnh-nsis-directory .wp-block-post-excerpt p { margin: 0; }
.vnh-imported-catalog-directory:has(.hero-title) #main .entry-content > h1.wp-block-heading:first-child {
    display: none;
}
.vnh-imported-directory-jump {
    box-sizing: border-box;
    width: min(calc(100% - 32px), 900px);
    margin: 1.5rem auto;
    padding: 16px 20px;
    border: 1px solid #d9e3eb;
    border-radius: 12px;
    background: #f3f7fa;
    color: #42576a;
}
.vnh-imported-directory-jump a { font-weight: 700; color: #126659; }
.vnh-imported-directory-jump p { margin: .25rem 0 0; }

.vnh-commerce #main .vnh-commerce-layout {
    box-sizing: border-box;
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: var(--vnh-gutter);
    grid-template-columns: minmax(0, 1fr);
}

.vnh-commerce #main .vnh-commerce-layout > *,
.vnh-commerce #main .vnh-grid-product-card {
    min-width: 0;
}

.vnh-commerce #main .vnh-commerce-layout:has(.vnh-commerce-directory) .vnh-commerce-highlight {
    display: none;
}

.vnh-commerce #main .vnh-commerce-highlight ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 12px;
}

.vnh-commerce #main :is(.vnh-commerce-card, .vnh-grid-product-card) {
    border-color: var(--vnh-edge);
    border-radius: 14px;
}

.vnh-commerce #main :is(.vnh-commerce-card h3, .vnh-grid-product-title) {
    color: var(--vnh-ink);
}

.vnh-commerce #main .vnh-grid-product-price {
    color: var(--vnh-accent);
}

.vnh-imported-catalog-listing #main :is(.vira-meta, .post-navigation, .entry-header .entry-title),
.vnh-imported-catalog-listing > .vira-sticky-cta {
    display: none !important;
}

.vnh-imported-catalog-listing #primary {
    margin-block: clamp(16px, 3vw, 38px);
}

.vnh-imported-catalog-listing #main .ast-article-single {
    box-sizing: border-box;
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding: 0 var(--vnh-gutter);
    background: transparent;
}

.vnh-imported-catalog-listing #main .entry-content {
    max-width: 100%;
    padding: 0;
}

.vnh-imported-listing-card {
    box-sizing: border-box;
    max-width: 100%;
    margin-block: clamp(12px, 3vw, 30px);
    padding: clamp(16px, 3vw, 34px);
    border: 1px solid var(--vnh-edge);
    border-radius: 16px;
    background: #fff;
    color: var(--vnh-muted);
    overflow-wrap: anywhere;
}

.vnh-imported-catalog-listing #main .vnh-imported-listing-title {
    display: block !important;
    margin: 0 0 clamp(14px, 2.5vw, 24px);
    color: var(--vnh-ink) !important;
    font-size: clamp(1.45rem, 2.4vw, 2.05rem) !important;
    line-height: 1.2 !important;
    text-align: start;
}

.vnh-imported-listing-card > :last-child {
    margin-bottom: 0;
}

.vnh-imported-listing-card > p:has(> a[href]) {
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid var(--vnh-edge);
    border-radius: 10px;
    background: var(--vnh-soft);
}

.vnh-imported-catalog-listing #main .vnh-imported-listing-card a[href] {
    color: var(--vnh-accent);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.vnh-imported-catalog-listing #main .vnh-imported-listing-card a[rel~="sponsored"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    margin-block: 4px;
    padding: 7px 13px;
    border-radius: 8px;
    background: var(--vnh-accent);
    color: #fff;
    text-decoration: none;
}

.vnh-imported-listing-card a:focus-visible,
.vnh-commerce #main :is(.vnh-commerce-card, .vnh-grid-product-link):focus-visible {
    outline: 2px solid var(--vnh-accent);
    outline-offset: 3px;
}

.vnh-imported-catalog-product #main .vnh-product-details {
    clear: both;
    display: grid;
    gap: 16px;
    padding-block: clamp(24px, 4vw, 48px);
}
.vnh-product-details nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.vnh-product-details nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 14px;
    border: 1px solid var(--vnh-edge);
    border-radius: 999px;
    background: var(--vnh-soft);
    color: var(--vnh-ink);
    font-weight: 650;
    text-decoration: none;
}
.vnh-product-details :is(a,summary):focus-visible {
    outline: 2px solid var(--vnh-accent);
    outline-offset: 3px;
}
.vnh-product-detail-panel {
    scroll-margin-top: 110px;
    min-width: 0;
    border: 1px solid var(--vnh-edge);
    border-radius: 14px;
    background: #fff;
    color: var(--vnh-muted);
    overflow-wrap: anywhere;
}
#main .vnh-product-detail-panel h2 {
    margin: 0;
    color: var(--vnh-ink);
    font-size: clamp(1.15rem, 2vw, 1.5rem) !important;
    line-height: 1.3;
    text-align: left;
}
#main section.vnh-product-detail-panel > h2,
.vnh-product-detail-panel > summary {
    padding: 15px clamp(14px, 3vw, 24px);
}
.vnh-product-detail-panel > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    list-style: none;
    cursor: pointer;
    min-height: 44px;
}
.vnh-product-detail-panel > summary::-webkit-details-marker { display: none; }
.vnh-product-detail-panel > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-inline: 5px;
    border: solid var(--vnh-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.vnh-product-detail-panel[open] > summary::after { transform: rotate(225deg); }
.vnh-product-detail-body { padding: 0 clamp(14px, 3vw, 24px) 20px; }
.vnh-product-detail-body > :last-child { margin-bottom: 0; }
.vnh-product-detail-body :is(img,video) { max-width: 100%; height: auto; }
.vnh-product-specifications { margin: 0; }
.vnh-product-specifications > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 12px;
    padding-block: 10px;
    border-top: 1px solid var(--vnh-edge);
}
.vnh-product-specifications dt { font-weight: 700; color: var(--vnh-ink); }
.vnh-product-specifications dd { margin: 0; }
.vnh-product-gallery-links, .vnh-product-related-cards {
    display: grid;
    gap: 12px;
}
.vnh-product-gallery-links { grid-template-columns: repeat(auto-fill,minmax(min(100%,90px),1fr)); }
.vnh-product-gallery-links a {
    display: grid;
    place-items: center;
    border: 1px solid var(--vnh-edge);
    background: var(--vnh-soft);
    border-radius: 10px;
    min-width: 0;
}
.vnh-product-gallery-links img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 10px;
}
.vnh-product-review {
    padding: 12px 0;
    border-top: 1px solid var(--vnh-edge);
}
.vnh-product-review > p { margin: 0 0 .4em; }
.vnh-product-review > p:first-child { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vnh-product-review > p:first-child > span { font-size: .85em; color: var(--vnh-accent); }
.vnh-product-related-cards { grid-template-columns: repeat(auto-fit,minmax(min(100%,145px),1fr)); }
.vnh-product-related-cards article { min-width: 0; }
.vnh-product-related-cards article > a {
    display: grid;
    gap: 6px;
    padding: 10px;
    height: 100%;
    border: 1px solid var(--vnh-edge);
    border-radius: 12px;
    color: var(--vnh-ink);
    text-decoration: none;
    background: var(--vnh-soft);
}
.vnh-product-related-cards img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
#main .vnh-product-related-cards h3 {
    margin: 0;
    font-size: 1rem !important;
    line-height: 1.35;
    color: var(--vnh-ink);
}
.vnh-product-related-price { color: var(--vnh-accent); font-weight: 750; }
.vnh-product-related-price .vnh-price-classification,
.vnh-product-related-seller { display: block; color: var(--vnh-muted); font-size: .82rem; font-weight: 500; }
@media (max-width: 460px) {
    .vnh-product-related-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .vnh-product-gallery-links { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
