/*
 * Victor Scientific Co. homepage — Ryans-inspired ecommerce structure.
 * Original implementation for Victor Scientific Co.; no third-party branding/assets.
 */
:root {
    --vsc-red: var(--site-primary, #073c63);
    --vsc-red-dark: var(--site-secondary, #0f6f8f);
    --vsc-navy: var(--site-secondary, #0f6f8f);
    --vsc-ink: #202636;
    --vsc-muted: #697386;
    --vsc-line: #e3e7ed;
    --vsc-soft: #f5f6f8;
    --vsc-green: #149447;
    --vsc-secondary: var(--site-secondary, #0f6f8f);
}

body.victor-homepage {
    --vsc-red: var(--site-primary, #073c63);
    --vsc-red-dark: var(--site-secondary, #0f6f8f);
    --vsc-navy: var(--site-secondary, #0f6f8f);
    --vsc-ink: #202636;
    --vsc-muted: #697386;
    --vsc-line: #e3e7ed;
    --vsc-soft: #f5f6f8;
    --vsc-green: #149447;
    --vsc-secondary: var(--site-secondary, #0f6f8f);
    background: #f5f6f8;
    color: var(--vsc-ink);
}
body.victor-homepage #content {
    margin: 0 !important;
    padding-top: 0 !important;
    background: #f5f6f8;
}
body.victor-homepage header#navbar_top,
body.victor-homepage .main-header,
body.victor-homepage .menu-area { margin-bottom: 0 !important; }
body.victor-homepage .container { width: 100%; max-width: 1340px; }
body.victor-homepage footer { margin-top: 0; }
body.victor-homepage .float { left: auto; right: 28px; bottom: 28px; }

/* Homepage utility/header treatment */
.vsc-topline {
    position: relative;
    z-index: 101;
    background: var(--vsc-secondary, var(--vsc-red-dark));
    color: #fff;
    font-size: 12px;
}
.vsc-topline__inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.vsc-topline__message,
.vsc-topline__links { display: flex; align-items: center; gap: 18px; }
.vsc-topline__message i { color: #fff; }
.vsc-topline a { color: #fff !important; font-weight: 600; }
.vsc-topline a:hover { text-decoration: underline; }

body.victor-homepage header#navbar_top {
    position: relative;
    z-index: 100;
    background: #fff;
    box-shadow: 0 7px 22px rgba(26, 34, 48, .09);
}
body.victor-homepage .main-header .logo-area { padding: 16px 0; background: #fff; }
body.victor-homepage .logo-header { display: grid; grid-template-columns: 220px minmax(330px, 1fr) auto; align-items: center; gap: 28px; }
body.victor-homepage .main-logo { width: 220px; }
body.victor-homepage .main-logo img { width: 100%; max-height: 64px; object-fit: contain; object-position: left center; }
body.victor-homepage .main-search { width: 100%; }
body.victor-homepage .main-search form {
    display: grid;
    grid-template-columns: 1fr 62px;
    overflow: hidden;
    height: 52px;
    border: 2px solid var(--vsc-red);
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
}
body.victor-homepage .main-search form input {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border: 0 !important;
    outline: 0;
    background: #fff;
    color: #1d2535;
    font-size: 14px;
}
body.victor-homepage .main-search form button {
    display: grid;
    width: 62px;
    height: 50px;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: var(--vsc-red);
    color: #fff;
    font-size: 18px;
}
body.victor-homepage .header-list-items > ul { display: flex; align-items: center; gap: 9px; margin: 0; }
body.victor-homepage .header-list-items > ul > li { margin: 0; }
body.victor-homepage .header-list-items .track_btn > a,
body.victor-homepage .header-list-items .quote_btn > a,
body.victor-homepage .cart-dialog > a {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #e2e5ea;
    border-radius: 7px;
    color: #273043 !important;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
body.victor-homepage .header-list-items .quote_btn > a { border-color: var(--vsc-red); color: var(--vsc-red) !important; }
body.victor-homepage .header-list-items i { color: var(--vsc-red); font-size: 16px; }
body.victor-homepage .cart-dialog .margin-shopping { position: relative; margin: 0; }
body.victor-homepage .cart-dialog .margin-shopping span {
    position: absolute;
    top: -14px;
    right: -16px;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    background: var(--vsc-red);
    color: #fff;
    font-size: 9px;
}
body.victor-homepage .menu-area { background: var(--vsc-navy); border: 0; }
body.victor-homepage .catagory_menu { min-height: 48px; }
body.victor-homepage .heder__category { display: flex; min-height: 48px; align-items: center; gap: 3px; }
body.victor-homepage .heder__category > div > li > a,
body.victor-homepage .heder__category .for_order a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 17px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
body.victor-homepage .heder__category > div > li > a:hover { background: rgba(255,255,255,.08); }
body.victor-homepage .heder__category > div:first-child { margin-right: 0; }
body.victor-homepage .heder__category .all__category__list > a { min-width: 235px; justify-content: space-between; background: var(--vsc-red); }
body.victor-homepage .vsc-home-category-menu {
    flex: 0 0 252px;
    align-self: stretch;
    position: relative;
    z-index: 30;
}
body.victor-homepage .vsc-home-category-heading { width: 100%; height: 100%; }
body.victor-homepage .vsc-home-category-heading > a {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0 !important;
    height: 48px;
    align-items: center;
    justify-content: center !important;
    padding: 0 46px !important;
    overflow: hidden;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: var(--vsc-red) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: .015em;
    text-align: center;
    box-shadow: none;
}
body.victor-homepage .vsc-home-category-heading > a::before { content: none; }
body.victor-homepage .vsc-home-category-heading__label {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.victor-homepage .vsc-home-category-heading__icon,
body.victor-homepage .vsc-home-category-heading__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
}
body.victor-homepage .vsc-home-category-heading__icon {
    left: 20px;
    display: inline-flex;
    width: 18px;
    height: 14px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    line-height: 0;
}
body.victor-homepage .vsc-home-category-heading__icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
body.victor-homepage .vsc-home-category-heading__icon span:nth-child(1) { width: 18px; }
body.victor-homepage .vsc-home-category-heading__icon span:nth-child(2) { width: 14px; }
body.victor-homepage .vsc-home-category-heading__icon span:nth-child(3) { width: 10px; }
body.victor-homepage .vsc-home-category-heading__arrow { right: 20px; font-size: 10px; opacity: .9; }

/* Dedicated transition space between the category utility and the main navigation. */
body.victor-homepage .vsc-home-nav-separator {
    position: relative;
    flex: 0 0 42px;
    align-self: stretch;
    min-height: 48px;
    pointer-events: none;
}
body.victor-homepage .vsc-home-nav-separator::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 20px;
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,.24);
}
body.victor-homepage .vsc-home-nav-separator::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 17px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--vsc-navy);
    border-radius: 50%;
    background: rgba(255,255,255,.42);
}

/* Home starts the main-menu flow and intentionally uses the same geometry as
   Shop/Offers, with a restrained active-state marker instead of a second block. */
body.victor-homepage .vsc-home-primary-link {
    position: relative;
    flex: 0 0 auto;
    margin-right: 2px;
}
body.victor-homepage .vsc-home-primary-link > li > a {
    position: relative;
    min-height: 48px !important;
    margin: 0;
    padding: 0 19px !important;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255,255,255,.055);
    box-shadow: none;
}
body.victor-homepage .vsc-home-primary-link > li > a::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--vsc-red);
}
body.victor-homepage .vsc-home-primary-link > li > a:hover { background: rgba(255,255,255,.1) !important; }
body.victor-homepage .vsc-home-primary-link > li > a span { line-height: 1; }
body.victor-homepage .right__menu__top { margin-left: auto; }
body.victor-homepage .right__menu__top .for_order p { margin: 0; }
body.victor-homepage .mobile-header,
body.victor-homepage .mobile-search { background: #fff; }
body.victor-homepage .mobile-search form { overflow: hidden; border: 2px solid var(--vsc-red); border-radius: 7px; }
body.victor-homepage .mobile-search button { background: var(--vsc-red); }

/* Homepage base */
.vsc-home,
.vsc-home * { box-sizing: border-box; }
.vsc-home { overflow: hidden; font-family: "Poppins", "Noto Sans Bengali", Arial, sans-serif; }
.vsc-home img { display: block; max-width: 100%; }
.vsc-home a { text-decoration: none; }
.vsc-home ul { margin: 0; padding: 0; list-style: none; }
.vsc-home button,
.vsc-home input,
.vsc-home textarea { font: inherit; }
.vsc-empty-state { grid-column: 1 / -1; padding: 35px; border: 1px dashed #ccd2db; border-radius: 8px; color: var(--vsc-muted); text-align: center; background: #fff; }

/* Storefront: category + wide slider */
.vsc-storefront { padding: 0; background: #f5f6f8; }
.vsc-storefront-grid {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}
.vsc-category-panel,
.vsc-main-slider { height: 396px; min-height: 396px; }
.vsc-category-panel {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow: visible;
    border: 1px solid var(--vsc-line);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(30, 37, 52, .07);
}
.vsc-category-panel__title {
    display: flex;
    height: 50px;
    align-items: center;
    gap: 11px;
    padding: 0 17px;
    border-bottom: 1px solid #e9ebef;
    color: #202636;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.vsc-category-panel__title i { color: var(--vsc-red); }
.vsc-category-panel > ul {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    padding: 5px 0;
}
.vsc-category-panel > ul > li { position: relative; flex: 1 1 0; min-height: 0; }
.vsc-category-panel > ul > li > a {
    display: grid;
    grid-template-columns: 30px 1fr 12px;
    height: 100%;
    min-height: 0;
    align-items: center;
    gap: 8px;
    padding: 1px 14px;
    color: #394154 !important;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
}
.vsc-category-panel > ul > li > a > span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.vsc-category-panel > ul > li > a:hover { color: var(--vsc-red) !important; background: var(--site-primary-soft, #f5f6f8); }
.vsc-category-panel__icon { display: grid; width: 27px; height: 27px; place-items: center; overflow: hidden; border-radius: 5px; background: #f4f5f7; color: var(--vsc-red); }
.vsc-category-panel__icon img { width: 23px; height: 23px; object-fit: contain; }
.vsc-category-panel > ul > li > a > i { color: #abb1bc; font-size: 9px; }
.vsc-category-panel__all {
    position: relative;
    display: flex;
    flex: 0 0 40px;
    width: 100%;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-top: 1px solid #eceef2;
    border-radius: 0 0 7px 7px;
    color: var(--vsc-red) !important;
    background: #fafbfc;
    font-size: 11.5px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease;
}
.vsc-category-panel__all:hover { color: #fff !important; background: var(--vsc-red); }
.vsc-category-panel__empty { padding: 20px; color: var(--vsc-muted); font-size: 11px; }
.vsc-category-flyout {
    position: absolute;
    top: -6px;
    left: calc(100% + 7px);
    z-index: 60;
    display: none;
    width: 370px;
    min-height: 170px;
    padding: 20px;
    border: 1px solid var(--vsc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(25, 34, 50, .18);
}
.vsc-category-panel li:hover > .vsc-category-flyout { display: block; }
.vsc-category-flyout > strong { display: block; margin-bottom: 13px; color: #1f2738; font-size: 15px; }
.vsc-category-flyout > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.vsc-category-flyout a { color: #5b6474 !important; font-size: 11px; }
.vsc-category-flyout a:hover { color: var(--vsc-red) !important; }

.vsc-main-slider { position: relative; overflow: hidden; border-radius: 8px; background: #dfe3e8; box-shadow: 0 4px 15px rgba(30, 37, 52, .07); }
.vsc-slider-stage { position: relative; width: 100%; height: 396px; min-height: 396px; overflow: hidden; border-radius: inherit; background: #dfe3e8; }
.vsc-slide { position: absolute; inset: 0; z-index: 0; display: block; overflow: hidden; line-height: 0; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
.vsc-slide.is-active { z-index: 2; opacity: 1; visibility: visible; }
.vsc-slide > img { width: 100%; height: 396px; object-fit: contain; object-position: center; background: transparent; }
.vsc-slide--image::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: 0;
    background-image: var(--vsc-slide-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(16px);
    opacity: .32;
    transform: scale(1.05);
    pointer-events: none;
}
.vsc-slide--image > img { position: relative; z-index: 1; }
.vsc-slide--fallback {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    padding: 46px;
    background: radial-gradient(circle at 92% 20%, rgba(255,255,255,.18), transparent 27%), linear-gradient(135deg, var(--vsc-red-dark), var(--vsc-red));
    color: #fff;
}
.vsc-slide--fallback > div { position: relative; z-index: 2; }
.vsc-slide--fallback > div > span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vsc-slide--fallback h1 { margin: 13px 0 14px; color: #fff; font-size: clamp(31px, 3.5vw, 48px); line-height: 1.13; font-weight: 800; }
.vsc-slide--fallback p { max-width: 570px; color: #ffe8ea; font-size: 13px; line-height: 1.7; }
.vsc-slide--fallback > img { width: 100%; height: 290px; object-fit: contain; filter: drop-shadow(0 20px 22px rgba(0,0,0,.22)); }
.vsc-slide-actions { display: flex; gap: 10px; margin-top: 24px; }
.vsc-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: grid;
    width: 37px;
    height: 50px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    background: rgba(15, 20, 31, .55);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: .2s ease;
}
.vsc-main-slider:hover .vsc-slider-arrow { opacity: 1; }
.vsc-slider-arrow--prev { left: 0; border-radius: 0 5px 5px 0; }
.vsc-slider-arrow--next { right: 0; border-radius: 5px 0 0 5px; }
.vsc-slider-dots { position: absolute; z-index: 7; right: 0; bottom: 15px; left: 0; display: flex; justify-content: center; gap: 7px; }
.vsc-slider-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.vsc-slider-dots button.is-active { width: 25px; border-radius: 8px; background: #fff; }

.vsc-quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
    border: 1px solid var(--vsc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(30, 37, 52, .04);
}
.vsc-quick-links > a { display: flex; min-height: 77px; align-items: center; gap: 12px; padding: 14px 20px; border-right: 1px solid var(--vsc-line); color: #30384a !important; }
.vsc-quick-links > a:last-child { border-right: 0; }
.vsc-quick-links > a > i { display: grid; flex: 0 0 39px; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: var(--site-primary-soft, #f5f6f8); color: var(--vsc-red); font-size: 15px; }
.vsc-quick-links strong,
.vsc-quick-links small { display: block; }
.vsc-quick-links strong { font-size: 12px; }
.vsc-quick-links small { margin-top: 3px; color: #89909d; font-size: 9.5px; }

/* Shared sections */
.vsc-section { padding: 44px 0; background: #fff; }
.vsc-section--compact { padding-top: 30px; }
.vsc-section--soft { background: #f5f6f8; }
.vsc-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.vsc-section-head > div > span,
.vsc-quote-info > span,
.vsc-info-layout > div:first-child > span { color: var(--vsc-red); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.vsc-section-head h2,
.vsc-quote-info h2,
.vsc-info-layout h2 { margin: 6px 0 0; color: #1d2535; font-size: clamp(25px, 2.5vw, 35px); line-height: 1.22; font-weight: 800; }
.vsc-info-layout > div:first-child > span { font-size: 15px; letter-spacing: .08em; line-height: 1.35; }
.vsc-section-head p { margin: 7px 0 0; color: #7b8493; font-size: 12px; }
.vsc-section-head > a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--vsc-red); color: var(--vsc-red) !important; font-size: 11px; font-weight: 800; white-space: nowrap; }
.vsc-primary-btn,
.vsc-secondary-btn {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.vsc-primary-btn { border-color: var(--vsc-red); background: var(--vsc-red); color: #fff !important; }
.vsc-primary-btn:hover { background: var(--vsc-red-dark); }
.vsc-primary-btn--block { width: 100%; }
.vsc-secondary-btn { border-color: #fff; background: #fff; color: var(--vsc-red) !important; }

/* Category cards */
.vsc-featured-categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.vsc-featured-category {
    display: grid;
    min-height: 177px;
    place-items: center;
    align-content: center;
    padding: 18px 12px;
    border: 1px solid var(--vsc-line);
    border-radius: 8px;
    color: #273043 !important;
    background: #fff;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vsc-featured-category:hover { transform: translateY(-4px); border-color: var(--site-primary-line, var(--vsc-red)); box-shadow: 0 12px 28px rgba(28, 36, 51, .08); }
.vsc-featured-category > span { display: grid; width: 91px; height: 91px; place-items: center; overflow: hidden; margin-bottom: 12px; border-radius: 50%; background: #f5f6f8; color: var(--vsc-red); font-size: 30px; }
.vsc-featured-category img { width: 76px; height: 76px; object-fit: contain; }
.vsc-featured-category strong { min-height: 34px; font-size: 12px; line-height: 1.4; }
.vsc-featured-category small { margin-top: 3px; color: #9097a4; font-size: 9px; }

/* Promo banners */
.vsc-promo-banner { padding: 0 0 30px; background: #fff; }
.vsc-promo-banner a { display: block; overflow: hidden; border-radius: 8px; background: #eceff2; }
.vsc-promo-banner img { width: 100%; max-height: 265px; object-fit: cover; }
.vsc-corporate-banner { padding: 0 0 40px; background: #f5f6f8; }
.vsc-corporate-banner__inner {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 180px;
    padding: 32px 38px;
    overflow: hidden;
    border-radius: 9px;
    background: radial-gradient(circle at 86% 0%, rgba(255,255,255,.13), transparent 28%), linear-gradient(135deg, var(--vsc-navy), var(--vsc-red-dark));
    color: #fff;
}
.vsc-corporate-banner__icon { display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 30px; }
.vsc-corporate-banner span { color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vsc-corporate-banner h2 { max-width: 850px; margin: 7px 0 5px; color: #fff; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.25; }
.vsc-corporate-banner p { margin: 0; color: #bbc3d0; font-size: 11px; }
.vsc-corporate-banner__inner > a { display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 0 21px; border-radius: 6px; color: #fff !important; background: var(--vsc-red); font-size: 12px; font-weight: 800; white-space: nowrap; }

/* Product cards: compact five-column ecommerce layout */
.vsc-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vsc-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 7px;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vsc-product-card:hover { transform: translateY(-4px); border-color: var(--site-primary-line, var(--vsc-red)); box-shadow: 0 13px 30px rgba(27, 35, 50, .1); }
.vsc-product-card__media { position: relative; display: block; padding: 15px; border-bottom: 1px solid #edf0f3; background: #fff; }
.vsc-product-card__media img { width: 100%; height: 190px; object-fit: contain; }
.vsc-product-badge { position: absolute; z-index: 2; top: 11px; left: 10px; padding: 5px 7px; border-radius: 3px; background: var(--vsc-red); color: #fff; font-size: 8.5px; font-weight: 800; text-transform: uppercase; }
.vsc-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.vsc-product-meta { display: flex; min-height: 18px; justify-content: space-between; gap: 8px; color: #8b93a0; font-size: 8.5px; }
.vsc-product-meta > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsc-product-meta i { color: #efb21a; }
.vsc-product-card h3 { min-height: 58px; margin: 8px 0 7px; font-size: 12px; line-height: 1.55; font-weight: 700; }
.vsc-product-card h3 a { color: #293143 !important; }
.vsc-product-card h3 a:hover { color: var(--vsc-red) !important; }
.vsc-product-points { min-height: 40px; margin: 0 0 10px !important; color: #717b8b; font-size: 9px; line-height: 1.5; }
.vsc-product-points li { position: relative; padding-left: 10px; }
.vsc-product-points li::before { content: "•"; position: absolute; left: 0; color: #a6aeba; }
.vsc-product-price { display: flex; min-height: 28px; flex-direction: column; justify-content: flex-end; margin-top: auto; }
.vsc-product-price__row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.vsc-product-price__values { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 7px; }
.vsc-product-price strong { color: var(--vsc-red); font-size: 15px; }
.vsc-product-price del { color: #999fab; font-size: 9.5px; }
.vsc-product-stock-inline { display: inline-flex; flex: 0 0 auto; align-items: center; margin-left: auto; padding: 0; border: 0; background: transparent; color: #198754; box-shadow: none; font-size: 9px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.vsc-product-stock-inline.is-in::before { content: '✓'; display: inline-grid; width: 14px; height: 14px; place-items: center; margin-right: 4px; border-radius: 50%; background: #198754; color: #fff; font-size: 8px; font-weight: 900; line-height: 1; }
.vsc-product-stock-inline.is-out { color: #b51622; }
.vsc-product-stock-inline.is-out::before { content: '✕'; display: inline-grid; width: 14px; height: 14px; place-items: center; margin-right: 4px; border-radius: 50%; background: #b51622; color: #fff; font-size: 8px; font-weight: 900; line-height: 1; }
.vsc-product-actions { display: grid; grid-template-columns: 39px 1fr; gap: 7px; margin-top: 8px; }
.vsc-product-actions form { width: 100%; }
.vsc-icon-btn,
.vsc-cart-btn { display: flex; width: 100%; min-height: 39px; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dfe3e8; border-radius: 5px; font-size: 10px; font-weight: 800; cursor: pointer; }
.vsc-icon-btn { color: #555f70 !important; background: #fff; }
.vsc-cart-btn {
    position: relative;
    z-index: 1;
    border-color: var(--vsc-red) !important;
    color: #fff !important;
    background-color: var(--vsc-red) !important;
    background-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 3px 8px rgba(20, 30, 45, .18);
}
.vsc-cart-btn i,
.vsc-cart-btn svg { color: #fff !important; fill: currentColor; opacity: 1 !important; visibility: visible !important; }
.vsc-cart-btn:hover,
.vsc-cart-btn:focus,
.vsc-cart-btn:active {
    border-color: var(--vsc-red-dark) !important;
    color: #fff !important;
    background-color: var(--vsc-red-dark) !important;
    background-image: none !important;
    -webkit-text-fill-color: #fff;
    outline: 0;
}
.vsc-cart-btn:focus-visible { box-shadow: 0 0 0 3px rgba(15, 23, 42, .18); }

/* Brands */
.vsc-brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.vsc-brand-card { display: grid; min-height: 112px; place-items: center; align-content: center; gap: 9px; padding: 13px; border: 1px solid var(--vsc-line); border-radius: 7px; color: #495365 !important; background: #fff; text-align: center; transition: .2s ease; }
.vsc-brand-card:hover { transform: translateY(-3px); border-color: var(--site-primary-line, var(--vsc-red)); box-shadow: 0 9px 20px rgba(29, 37, 52, .07); }
.vsc-brand-card img { width: 100%; height: 49px; object-fit: contain; }
.vsc-brand-card span { font-size: 9px; font-weight: 700; }

/* Quote */
.vsc-quote-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 58px; align-items: start; }
.vsc-quote-info > p { max-width: 560px; margin: 16px 0 23px; color: #687285; font-size: 13px; line-height: 1.75; }
.vsc-contact-cards { display: grid; gap: 9px; }
.vsc-contact-cards a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border: 1px solid var(--vsc-line); border-radius: 7px; color: #384154 !important; background: #fff; }
.vsc-contact-cards a > i { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--site-primary-soft, #f5f6f8); color: var(--vsc-red); }
.vsc-contact-cards small { display: block; margin-bottom: 2px; color: #9198a4; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.vsc-contact-cards span { overflow-wrap: anywhere; font-size: 11px; font-weight: 700; }
.vsc-quote-form { padding: 27px; border: 1px solid var(--vsc-line); border-radius: 9px; background: #fff; box-shadow: 0 18px 45px rgba(29, 37, 52, .09); }
.vsc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.vsc-form-grid label { display: block; }
.vsc-form-grid label > span { display: block; margin-bottom: 6px; color: #4d5667; font-size: 10px; font-weight: 700; }
.vsc-form-grid input,
.vsc-form-grid textarea { width: 100%; padding: 11px 13px; border: 1px solid #dce1e7 !important; border-radius: 5px; outline: 0; color: #273043; background: #fafbfc; font-size: 12px; }
.vsc-form-grid input { height: 44px; }
.vsc-form-grid textarea { min-height: 132px; resize: vertical; }
.vsc-form-grid input:focus,
.vsc-form-grid textarea:focus { border-color: var(--vsc-red) !important; background: #fff; box-shadow: 0 0 0 3px rgba(15, 23, 42, .10); }
.vsc-field-full { grid-column: 1 / -1; }
.vsc-quote-form > .vsc-primary-btn { margin-top: 15px; }
.vsc-form-note { margin: 9px 0 0; color: #939aa5; font-size: 8.5px; text-align: center; }

/* SEO copy and FAQs */
.vsc-info-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: start; }
.vsc-info-layout > div:first-child p { margin: 17px 0 0; color: #687285; font-size: 12px; line-height: 1.9; }
.vsc-faq-list { display: grid; gap: 8px; }
.vsc-faq-list details { overflow: hidden; border: 1px solid var(--vsc-line); border-radius: 7px; background: #fff; }
.vsc-faq-list summary { position: relative; padding: 15px 42px 15px 16px; color: #313a4c; font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }
.vsc-faq-list summary::-webkit-details-marker { display: none; }
.vsc-faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: var(--vsc-red); font-size: 18px; }
.vsc-faq-list details[open] summary::after { content: "−"; }
.vsc-faq-list details p { padding: 0 16px 15px; color: #70798a; font-size: 10px; line-height: 1.7; }

/* Responsive */
@media (max-width: 1240px) {
    body.victor-homepage .logo-header { grid-template-columns: 190px minmax(270px, 1fr) auto; gap: 18px; }
    body.victor-homepage .main-logo { width: 190px; }
    body.victor-homepage .header-list-items .quote_btn { display: none; }
    .vsc-storefront-grid { grid-template-columns: 240px minmax(0, 1fr); }
    body.victor-homepage .vsc-home-category-menu { flex-basis: 240px; }
    body.victor-homepage .vsc-home-nav-separator { flex-basis: 34px; }
    .vsc-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vsc-featured-categories { grid-template-columns: repeat(5, 1fr); }
    .vsc-brand-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 1050px) {
    .vsc-storefront-grid { grid-template-columns: 230px minmax(0, 1fr); }
    body.victor-homepage .vsc-home-category-menu { flex-basis: 230px; }
    body.victor-homepage .vsc-home-nav-separator { flex-basis: 26px; }
    .vsc-category-panel,
    .vsc-main-slider { height: 396px; min-height: 396px; }
    .vsc-slider-stage { height: 396px; min-height: 396px; }
    .vsc-slide > img { height: 396px; }
    .vsc-quick-links { grid-template-columns: repeat(2, 1fr); }
    .vsc-quick-links > a { border-top: 1px solid var(--vsc-line); }
    .vsc-quick-links > a:nth-child(-n+2) { border-top: 0; }
    .vsc-quick-links > a:nth-child(odd) { border-right: 1px solid var(--vsc-line); }
    .vsc-quick-links > a:nth-child(even) { border-right: 0; }
    .vsc-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vsc-featured-categories { grid-template-columns: repeat(4, 1fr); }
    .vsc-brand-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 991px) {
    .vsc-topline { display: none; }
    .vsc-storefront { padding-top: 0; }
    .vsc-storefront-grid { grid-template-columns: 1fr; }
    .vsc-category-panel { display: none; }
    .vsc-main-slider,
    .vsc-slider-stage {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 3312 / 1234;
    }
    .vsc-slide > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    .vsc-slide--image::before { display: none; }
    .vsc-slide--fallback { padding: 35px; }
    .vsc-quote-layout,
    .vsc-info-layout { grid-template-columns: 1fr; gap: 35px; }
    .vsc-corporate-banner__inner { grid-template-columns: 70px 1fr; }
    .vsc-corporate-banner__inner > a { grid-column: 2; justify-self: start; }
}
@media (max-width: 767px) {
    .vsc-info-layout > div:first-child > span { font-size: 14px; letter-spacing: .06em; }
    body.victor-homepage .main-header { display: none; }
    body.victor-homepage .mobile-header { display: block; border-bottom: 0; }
    body.victor-homepage .mobile-logo { min-height: 62px; }
    body.victor-homepage .menu-logo img { max-height: 47px; object-fit: contain; }
    body.victor-homepage .container { padding-right: 12px; padding-left: 12px; }
    body.victor-homepage .mobile-search { padding: 0 12px 6px; }
    .vsc-slide--fallback { grid-template-columns: 1fr .45fr; padding: 24px; }
    .vsc-slide--fallback h1 { font-size: 27px; }
    .vsc-slide--fallback p { display: none; }
    .vsc-slide--fallback > img { height: 185px; }
    .vsc-slider-arrow { display: none; }
    .vsc-quick-links { grid-template-columns: repeat(2, 1fr); }
    .vsc-quick-links > a { min-height: 68px; padding: 11px; border-top: 1px solid var(--vsc-line); }
    .vsc-quick-links > a:nth-child(-n+2) { border-top: 0; }
    .vsc-quick-links > a:nth-child(odd) { border-right: 1px solid var(--vsc-line); }
    .vsc-quick-links > a:nth-child(even) { border-right: 0; }
    .vsc-section { padding: 32px 0; }
    .vsc-section--compact { padding-top: 24px; }
    .vsc-section-head { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 15px; }
    .vsc-featured-categories { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .vsc-featured-category { min-height: 154px; }
    .vsc-featured-category > span { width: 76px; height: 76px; }
    .vsc-featured-category img { width: 62px; height: 62px; }
    .vsc-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .vsc-product-card__media { padding: 10px; }
    .vsc-product-card__media img { height: 145px; }
    .vsc-product-card__body { padding: 10px; }
    .vsc-product-card h3 { min-height: 53px; font-size: 10.5px; line-height: 1.55; }
    .vsc-product-points { display: none; }
    .vsc-product-price strong { font-size: 13px; }
    .vsc-product-price__row { gap: 5px; }
    .vsc-product-price__values { gap: 4px; }
    .vsc-product-actions { grid-template-columns: 34px 1fr; }
    .vsc-icon-btn,
    .vsc-cart-btn { min-height: 36px; font-size: 8.5px; }
    .vsc-corporate-banner { padding-bottom: 28px; }
    .vsc-corporate-banner__inner { grid-template-columns: 1fr; padding: 27px 22px; }
    .vsc-corporate-banner__icon { width: 58px; height: 58px; font-size: 23px; }
    .vsc-corporate-banner__inner > a { grid-column: auto; }
    .vsc-brand-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .vsc-brand-card { min-height: 95px; padding: 9px; }
    .vsc-brand-card img { height: 41px; }
    .vsc-form-grid { grid-template-columns: 1fr; }
    .vsc-field-full { grid-column: auto; }
    .vsc-quote-form { padding: 20px; }
}
@media (max-width: 460px) {
    .vsc-slide--fallback { grid-template-columns: 1fr; padding: 22px; }
    .vsc-slide--fallback h1 { font-size: 24px; }
    .vsc-slide--fallback > img { display: none; }
    .vsc-slide-actions { margin-top: 17px; }
    .vsc-primary-btn,
    .vsc-secondary-btn { min-height: 39px; padding: 0 13px; font-size: 9px; }
    .vsc-quick-links > a > i { flex-basis: 33px; width: 33px; height: 33px; }
    .vsc-quick-links strong { font-size: 10px; }
    .vsc-quick-links small { display: none; }
    .vsc-product-card__media img { height: 125px; }
    .vsc-product-meta { display: none; }
    .vsc-product-card h3 { margin-top: 3px; }
    .vsc-product-stock-inline { font-size: 7.5px; }
    .vsc-product-stock-inline.is-in::before,
    .vsc-product-stock-inline.is-out::before { width: 12px; height: 12px; margin-right: 3px; font-size: 7px; }
    .vsc-brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .vsc-home *, .vsc-home *::before, .vsc-home *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Desktop storefront rows: always use five complete cards per row.
   Tablet and mobile breakpoints below 992px keep their compact layouts. */
@media (min-width: 992px) {
    body.victor-homepage .vsc-featured-categories {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    body.victor-homepage .vsc-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Mobile odd-card balance:
   Home product shelves contain five products. On a two-column phone grid,
   make the fifth card a deliberate full-row horizontal card instead of
   leaving an empty sixth slot. */
@media (max-width: 767.98px) {
    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
        width: 100%;
    }

    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) .vsc-product-card__media {
        display: flex;
        min-height: 100%;
        align-items: center;
        justify-content: center;
        border-right: 1px solid #edf0f3;
        border-bottom: 0;
    }

    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) .vsc-product-card__media img {
        height: 158px;
    }

    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) .vsc-product-card__body {
        min-width: 0;
        padding: 12px;
    }

    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) h3 {
        min-height: auto;
        margin-top: 5px;
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) {
        grid-template-columns: 116px minmax(0, 1fr);
    }

    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) .vsc-product-card__media {
        padding: 8px;
    }

    body.victor-homepage .vsc-product-grid > .vsc-product-card:last-child:nth-child(odd) .vsc-product-card__media img {
        height: 132px;
    }
}

/* Homepage product-card spacing refinement (2026-08-02)
   Keep the original product image dimensions. Move flexible card-height space
   below the price so the product name and rate remain visually connected. */
body.victor-homepage .vsc-product-card h3 {
    margin-bottom: 4px;
}

body.victor-homepage .vsc-product-points {
    min-height: 32px;
    margin-bottom: 5px !important;
    line-height: 1.4;
}

body.victor-homepage .vsc-product-price {
    margin-top: 0;
}

body.victor-homepage .vsc-product-actions {
    margin-top: auto;
    padding-top: 10px;
}

@media (max-width: 767.98px) {
    body.victor-homepage .vsc-product-card h3 {
        margin-bottom: 4px;
    }

    body.victor-homepage .vsc-product-actions {
        padding-top: 8px;
    }
}

/* Unified homepage category component: navigation heading and category list read as one card. */
body.victor-homepage .menu-area .container,
body.victor-homepage .vsc-storefront > .container { position: relative; }
body.victor-homepage .vsc-home-category-menu,
body.victor-homepage .vsc-storefront-grid { isolation: isolate; }
body.victor-homepage .vsc-category-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--site-primary-line, #d7dee5);
    pointer-events: none;
}

/* All Categories red-column alignment fix (2026-08-02)
   Reset legacy list/link spacing so the red category header occupies exactly
   the same column as the white category panel and never overlaps the dark nav. */
body.victor-homepage .vsc-home-category-menu {
    box-sizing: border-box;
    position: relative;
    z-index: 30;
    flex: 0 0 252px;
    width: 252px;
    min-width: 252px;
    max-width: 252px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--vsc-red);
}
body.victor-homepage li.vsc-home-category-heading {
    box-sizing: border-box;
    position: relative;
    z-index: 31;
    isolation: isolate;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: var(--vsc-red) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 5px 14px rgba(15,23,42,.14);
    font-size: inherit !important;
    line-height: normal !important;
}
body.victor-homepage li.vsc-home-category-heading > a {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 46px !important;
    border-radius: 0 !important;
    background: var(--vsc-red) !important;
}
body.victor-homepage li.vsc-home-category-heading > a:hover {
    background: var(--vsc-red) !important;
    filter: brightness(.94);
}
body.victor-homepage .vsc-home-category-heading__icon,
body.victor-homepage .vsc-home-category-heading__arrow {
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1240px) {
    body.victor-homepage .vsc-home-category-menu {
        flex-basis: 240px;
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }
}
@media (max-width: 1050px) {
    body.victor-homepage .vsc-home-category-menu {
        flex-basis: 230px;
        width: 230px;
        min-width: 230px;
        max-width: 230px;
    }
}

/* Product listing card unification + compact vertical spacing (2026-08-27)
   Applies only to reusable catalogue cards; product details layout is untouched. */
.vsc-product-card__body {
    padding: 12px 13px 11px;
}

.vsc-product-card h3 {
    min-height: 48px;
    margin: 6px 0 4px;
    line-height: 1.45;
}

.vsc-product-points {
    min-height: 30px;
    margin: 0 0 4px !important;
    line-height: 1.35;
}

.vsc-product-price {
    min-height: 24px;
    margin-top: 0 !important;
    justify-content: flex-start;
}

.vsc-product-price__row {
    display: flex !important;
    min-width: 0;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px !important;
}

.vsc-product-price__values {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 5px;
}

.vsc-product-price strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Keep the stock state on the right side of the current price on every listing page. */
.vsc-product-stock-inline {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    align-self: center;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 8.5px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap !important;
}

.vsc-product-stock-inline.is-in {
    color: #198754 !important;
}

.vsc-product-stock-inline.is-in::before {
    content: '✓' !important;
    display: inline-grid !important;
    width: 14px !important;
    height: 14px !important;
    place-items: center;
    margin-right: 4px !important;
    border-radius: 50% !important;
    background: #198754 !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 900;
    line-height: 1;
}

.vsc-product-stock-inline.is-out {
    color: #b51622 !important;
}

.vsc-product-stock-inline.is-out::before {
    content: '✕' !important;
    display: inline-grid !important;
    width: 14px !important;
    height: 14px !important;
    place-items: center;
    margin-right: 4px !important;
    border-radius: 50% !important;
    background: #b51622 !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 900;
    line-height: 1;
}

.vsc-product-actions,
body.victor-homepage .vsc-product-actions {
    margin-top: 7px !important;
    padding-top: 0 !important;
}

@media (max-width: 767.98px) {
    .vsc-product-card__body {
        padding: 9px;
    }

    .vsc-product-card h3,
    body.victor-homepage .vsc-product-card h3 {
        min-height: 44px;
        margin: 3px 0 3px;
        line-height: 1.42;
    }

    .vsc-product-price {
        min-height: 22px;
    }

    .vsc-product-price__row {
        gap: 3px !important;
    }

    .vsc-product-price__values {
        gap: 1px 4px;
    }

    .vsc-product-stock-inline {
        font-size: 7.5px;
    }

    .vsc-product-stock-inline.is-in::before,
    .vsc-product-stock-inline.is-out::before {
        width: 12px !important;
        height: 12px !important;
        margin-right: 3px !important;
        font-size: 7px !important;
    }

    .vsc-product-actions,
    body.victor-homepage .vsc-product-actions {
        margin-top: 6px !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 380px) {
    .vsc-product-card__body {
        padding: 8px;
    }

    .vsc-product-price strong {
        font-size: 12px;
    }

    .vsc-product-stock-inline {
        font-size: 7px;
    }
}

/* Catalogue card standard-height restoration (2026-08-27)
   Restore the pre-compact visual card height on catalogue/listing pages only.
   Keep the current price, stock and action layout unchanged. */
body.vsc-catalog-page .vsc-product-card {
    min-height: 470px;
}

@media (max-width: 767.98px) {
    body.vsc-catalog-page .vsc-product-card {
        min-height: 360px;
    }
}

@media (max-width: 460px) {
    body.vsc-catalog-page .vsc-product-card {
        min-height: 315px;
    }
}

/* Desktop listing-card information density refinement (2026-08-27)
   Keep the existing product-card footprint and image area intact while removing
   unnecessary vertical whitespace between Brand/Delivery, Price/Stock and actions.
   Product details page does not use the victor-homepage body class and is untouched. */
@media (min-width: 768px) {
    /* Preserve the current homepage/listing card footprint after tightening the body. */
    body.victor-homepage:not(.vsc-catalog-page) .vsc-product-card {
        min-height: 426px;
    }

    body.victor-homepage .vsc-product-card__body {
        padding-top: 11px;
        padding-bottom: 10px;
    }

    body.victor-homepage .vsc-product-card h3 {
        min-height: 48px;
        margin: 5px 0 3px;
    }

    body.victor-homepage .vsc-product-points {
        min-height: 24px;
        margin: 0 !important;
        line-height: 1.28;
    }

    body.victor-homepage .vsc-product-points li {
        margin: 0 !important;
        line-height: 1.28;
    }

    body.victor-homepage .vsc-product-price {
        min-height: 22px;
        margin-top: 0 !important;
        justify-content: flex-start;
    }

    body.victor-homepage .vsc-product-actions {
        margin-top: 5px !important;
        padding-top: 0 !important;
    }
}

/* Mobile-only storefront proportion refinement (2026-08-27).
   Keep desktop and product-details layouts untouched. The product image/show box
   is slightly taller so mobile listing cards regain the same visual depth as the
   Shop by Category cards without changing width or the price/stock/actions layout. */
@media (max-width: 767.98px) {
    body.victor-homepage .vsc-product-card__media img {
        height: 154px;
    }
}

/* ===== Premium fast product motion (2026-08-28) =====
   Motion-only refinement: no resting layout, colour, sizing or commerce logic changes.
   Uses short transform/opacity transitions so clicks remain immediate. */
:root {
    --vsc-motion-fast: 90ms;
    --vsc-motion-base: 140ms;
    --vsc-motion-media: 170ms;
    --vsc-motion-ease: cubic-bezier(.22,.72,.24,1);
    --vsc-motion-press: cubic-bezier(.2,.8,.2,1);
}

@keyframes vscProductCardEnter {
    from { opacity: .01; transform: translate3d(0, 5px, 0) scale(.997); }
    to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.vsc-product-card {
    animation: vscProductCardEnter 160ms var(--vsc-motion-ease) both;
    transition: transform var(--vsc-motion-base) var(--vsc-motion-ease),
                border-color var(--vsc-motion-base) ease,
                box-shadow var(--vsc-motion-base) var(--vsc-motion-ease);
    backface-visibility: hidden;
}

.vsc-product-card__media {
    overflow: hidden;
    transition: transform var(--vsc-motion-fast) var(--vsc-motion-press);
    -webkit-tap-highlight-color: transparent;
}

.vsc-product-card__media img {
    transition: transform var(--vsc-motion-media) var(--vsc-motion-ease);
    backface-visibility: hidden;
}

.vsc-icon-btn,
.vsc-cart-btn {
    transition: transform var(--vsc-motion-fast) var(--vsc-motion-press),
                box-shadow var(--vsc-motion-base) var(--vsc-motion-ease),
                background-color var(--vsc-motion-base) ease,
                border-color var(--vsc-motion-base) ease,
                color var(--vsc-motion-base) ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .vsc-product-card:hover {
        transform: translate3d(0, -3px, 0);
    }

    .vsc-product-card:hover .vsc-product-card__media img {
        transform: scale(1.035);
    }

    .vsc-icon-btn:hover,
    .vsc-cart-btn:hover {
        transform: translate3d(0, -1px, 0);
    }
}

.vsc-product-card__media:active {
    transform: scale(.992);
}

.vsc-icon-btn:active,
.vsc-cart-btn:active {
    transform: translate3d(0, 1px, 0) scale(.97);
    transition-duration: 70ms;
}

@media (prefers-reduced-motion: reduce) {
    .vsc-product-card,
    .vsc-product-card__media,
    .vsc-product-card__media img,
    .vsc-icon-btn,
    .vsc-cart-btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}



/* ===== V15 catalogue consistency override ===== */
.vsc-product-badge.vsc-product-badge--discount {
    display: inline-flex !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    border: 2px solid rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    background: var(--site-primary, #073c63) !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(15,23,42,.20) !important;
    text-transform: none !important;
}
.vsc-product-badge--discount .vsc-product-badge__percent {
    display: block;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
}
.vsc-product-badge--discount .vsc-product-badge__label {
    display: block;
    margin-top: 2px;
    color: #fff !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}
.vsc-product-badge.vsc-product-badge--featured {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 5px 8px !important;
    border-radius: 999px !important;
    background: var(--site-primary, #073c63) !important;
    color: #fff !important;
}
.vsc-cart-btn { border-radius: 999px !important; }
@media (max-width: 575.98px) {
    .vsc-product-badge.vsc-product-badge--discount {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
}


/* ===== Homepage rendering performance hardening (2026-08-28) =====
   Off-screen sections do not need layout/paint work during first contentful render.
   The intrinsic fallback preserves scroll geometry until the section approaches viewport. */
@supports (content-visibility: auto) {
    .vsc-home .vsc-perf-defer {
        content-visibility: auto;
        contain-intrinsic-size: auto 620px;
    }
}
