.vn-category-section,
.vn-products-section,
.vn-brand-section {
    color: var(--vn-ink, #171a1c);
}
.vn-category-section {
    background: #f5f6f7;
    padding: clamp(20px, 2vw, 32px) 0 clamp(18px, 2vw, 30px);
}
.vn-products-section {
    padding: clamp(20px, 2vw, 32px) 0 clamp(15px, 1.8vw, 28px);
}
.vn-category-section h2,
.vn-products-section h2,
.vn-brand-section h2 {
    margin: 0;
    font-size: clamp(24px, 2.12vw, 34px);
    letter-spacing: -.045em;
    line-height: 1.13;
    font-weight: 700;
}
.vn-merch-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(12px, 1.1vw, 18px);
}
.vn-merch-heading .vn-merch-link {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: .48em;
    color: var(--vn-red, #df111d);
    font-size: clamp(12px, .95vw, 15px);
    line-height: 1.3;
    text-decoration: none;
    font-weight: 600;
}
.vn-merch-link .vn-icon { width: 1.1em; height: 1.1em; }
.vn-merch-link:hover { text-decoration: underline; }
.vn-category-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: clamp(10px, .85vw, 14px);
}
.vn-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e6e8;
    border-radius: 5px;
    color: inherit;
    background: #fff;
    text-decoration: none;
    transition: border-color .16s;
}
.vn-category-card:hover,
.vn-category-card:focus-visible { border-color: var(--vn-red, #df111d); }
.vn-category-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.6;
    object-fit: cover;
}
.vn-category-card > span {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    min-height: 3.55em;
    padding: .63em .66em;
    font-weight: 600;
    font-size: clamp(12px, .97vw, 15px);
    line-height: 1.17;
    overflow-wrap: anywhere;
}
.vn-category-card .vn-icon {
    width: .92em;
    height: .92em;
    color: var(--vn-red, #df111d);
    flex: none;
    align-self: flex-end;
    margin-bottom: .1em;
}
.vn-products-heading { column-gap: clamp(9px, 1.1vw, 18px); }
.vn-products-heading h2 { flex-shrink: 0; }
.vn-product-filters {
    display: flex;
    gap: clamp(4px, .4vw, 7px);
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
    padding: 2px;
}
.vn-product-filters::-webkit-scrollbar,
.vn-brand-track::-webkit-scrollbar { display: none; }
.vn-product-filters button {
    appearance: none;
    flex: none;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: .63em clamp(9px, 1vw, 16px);
    background: #f3f4f5;
    color: #282d30;
    font: inherit;
    font-size: clamp(11px, .8vw, 13px);
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
}
.vn-product-filters button[aria-pressed="true"],
.vn-product-actions .vn-product-buy,
.vn-product-badges b {
    background: var(--vn-red, #df111d);
    color: #fff;
}
.vn-product-filters button[aria-pressed="false"]:hover { background: #e4e7e9; }
.vn-shelf-controls {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.vn-shelf-controls button,
.vn-brands-next {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #eceef0;
    color: #252a2d;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}
.vn-shelf-controls button:disabled { opacity: .38; cursor: default; }
.vn-shelf-controls .vn-icon,
.vn-brands-next .vn-icon { width: 17px; height: 17px; }
.vn-products-track {
    --vn-product-gap: clamp(8px, .85vw, 14px);
    --vn-product-count: 5;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--vn-product-count) - 1) * var(--vn-product-gap)) / var(--vn-product-count));
    align-items: stretch;
    gap: var(--vn-product-gap);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #d8dbdf transparent;
    padding-bottom: 3px;
}
.vn-products-track[data-enhanced] { scrollbar-width: none; }
.vn-products-track[data-enhanced]::-webkit-scrollbar { display: none; }
.vn-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--vn-line, #e2e4e7);
    border-radius: 5px;
    background: #fff;
    scroll-snap-align: start;
}
.vn-product-image {
    position: relative;
    display: block;
    aspect-ratio: 1.67;
    padding: 6px 7px 0;
    color: inherit;
}
.vn-product-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.vn-product-badges {
    display: inline-flex;
    gap: 3px;
    position: absolute;
    inset-inline-start: 8px;
    inset-block-start: 8px;
}
.vn-product-badges b {
    padding: .3em .53em;
    border-radius: 3px;
    font-size: clamp(10px, .78vw, 13px);
    line-height: 1;
    font-weight: 600;
}
.vn-product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 8px clamp(8px, .76vw, 12px) clamp(8px, .8vw, 13px);
}
.vn-product-info h3 {
    margin: 0;
    color: inherit;
    font-size: clamp(13px, 1.02vw, 16px);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.27;
}
.vn-product-info h3 a { color: inherit; text-decoration: none; }
.vn-product-info h3 a:hover { color: var(--vn-red, #df111d); }
.vn-product-info dl {
    display: grid;
    gap: 2px;
    margin: 0 0 auto;
    color: #60666b;
    font-size: clamp(11px, .84vw, 13px);
    line-height: 1.4;
}
.vn-product-info dl div { display: flex; flex-wrap: wrap; column-gap: .33em; }
.vn-product-info dt,
.vn-product-info dd { margin: 0; font: inherit; }
.vn-product-info dt::after { content: ':'; }
.vn-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.vn-product-price strong {
    color: var(--vn-ink, #171a1c);
    font-size: clamp(15px, 1.19vw, 19px);
    line-height: 1.15;
    letter-spacing: -.025em;
}
.vn-product-price strong small { font-size: .77em; font-weight: 500; }
.vn-product-price del { color: #64686d; font-size: clamp(10px, .8vw, 13px); }
.vn-price-sale strong { color: var(--vn-red, #df111d); }
.vn-product-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 5px;
}
.vn-product-buy,
.vn-product-actions button {
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: 0 9px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: clamp(12px, .9vw, 14px);
    line-height: 1.15;
    text-decoration: none;
}
.vn-product-buy:hover { background: #bb0915; color: #fff; }
.vn-product-actions button { background: #f5f6f7; color: var(--vn-ink, #171a1c); }
.vn-product-actions button .vn-icon { width: 18px; height: 18px; }
.vn-product-actions button[aria-pressed="true"] { color: var(--vn-red, #df111d); background: #fff0f1; }
.vn-product-actions button[aria-pressed="true"] .vn-icon { fill: currentColor; }
.vn-brand-section { padding: clamp(12px, 1.25vw, 21px) 0 clamp(17px, 1.6vw, 26px); }
.vn-brand-strip { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.vn-brand-track {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 3px;
}
.vn-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 calc((100% - 96px) / 9);
    min-width: 82px;
    height: 44px;
    color: #26292b;
    text-decoration: none;
    scroll-snap-align: start;
    white-space: nowrap;
}
.vn-brand:hover { opacity: .77; }
.vn-brand img { width: 100%; max-width: 110px; height: 31px; object-fit: contain; }
.vn-brand-soton img { max-width: 88px; }
.vn-brand span { font-size: clamp(18px, 1.48vw, 24px); font-weight: 800; line-height: 1; letter-spacing: -.055em; }
.vn-brand-vox span { color: #dc172b; letter-spacing: -.09em; font-size: 1.8em; }
.vn-brand-bryza span { color: #174b74; letter-spacing: -.04em; font-style: italic; }
.vn-brand-rockwool span { color: #c72127; letter-spacing: -.045em; font-size: clamp(14px, 1.12vw, 18px); }
.vn-brand-velux span { padding: 4px 6px; color: #fff; background: #d91827; letter-spacing: -.02em; font-size: clamp(14px, 1.23vw, 20px); }
.vn-brand-roto span { color: #d51c28; letter-spacing: -.045em; }
.vn-brand-fakro span { color: #08783f; font-style: italic; }
.vn-brand-knauf span { color: #187cac; font-weight: 800; font-style: italic; }
.vn-brand-tegola span { color: #bd392d; }
.vn-brands-next { flex-shrink: 0; }
.vn-brands-next[data-at-end] .vn-icon { transform: rotate(180deg); }
.vn-products-section [hidden], .vn-brand-section [hidden] { display: none !important; }

@media (max-width: 1040px) {
    .vn-products-heading { flex-wrap: wrap; gap: 9px; }
    .vn-product-filters { order: 4; width: 100%; }
    .vn-products-track { --vn-product-count: 4; }
}
@media (min-width: 731px) and (max-width: 900px) {
    .vn-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
    .vn-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vn-category-card > span { font-size: 13px; min-height: 3.25em; }
    .vn-merch-heading { gap: 8px; }
    .vn-products-track { --vn-product-count: 2; --vn-product-gap: 8px; }
    .vn-product-info { gap: 7px; }
    .vn-product-info h3 { font-size: 14px; }
    .vn-product-actions button { width: 34px; }
    .vn-shelf-controls button, .vn-brands-next { width: 30px; height: 30px; }
    .vn-brand { min-width: 89px; }
}
@media (max-width: 420px) {
    .vn-products-heading .vn-merch-link { font-size: 11px; }
    .vn-shelf-controls { gap: 3px; }
    .vn-shelf-controls button { width: 27px; height: 27px; }
    .vn-product-info { padding-inline: 7px; }
    .vn-product-price strong { font-size: 15px; }
}
@media (max-width: 350px) {
    .vn-products-heading .vn-merch-link { order: 2; margin-inline-start: 0; }
    .vn-shelf-controls { margin-inline-start: auto; }
}
