:root {
    --vdb-green: #4f5a37;
    --vdb-green-dark: #2f3824;
    --vdb-brown: #8a6b44;
    --vdb-ink: #1d1d1b;
    --vdb-muted: #68665f;
    --vdb-line: rgba(29, 29, 27, 0.14);
    --vdb-surface: #ffffff;
    --vdb-surface-warm: #f7f4ee;
    --vdb-radius: 0;
    --vdb-shadow: 0 18px 45px rgba(29, 29, 27, 0.08);
}

.vdb-market,
.vdb-product {
    color: var(--vdb-ink);
    margin-inline: auto;
    max-width: 1180px;
    width: 100%;
}

.vdb-eyebrow,
.vdb-card__eyebrow {
    color: var(--vdb-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.35;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.vdb-button,
.vdb-card__cta {
    align-items: center;
    background: var(--vdb-green);
    border: 1px solid var(--vdb-green);
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px;
    padding: 0.78rem 1.1rem;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.vdb-button:hover,
.vdb-button:focus,
.vdb-card__cta:hover,
.vdb-card__cta:focus {
    background: var(--vdb-green-dark);
    border-color: var(--vdb-green-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.vdb-link {
    color: var(--vdb-green-dark);
    font-weight: 700;
    text-decoration: none;
}

.vdb-link:hover,
.vdb-link:focus {
    color: var(--vdb-brown);
    text-decoration: underline;
}

.vdb-product__hero h1 {
    color: var(--vdb-ink);
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 0.98;
    margin: 0;
}

.vdb-product__subtitle,
.vdb-product__copy,
.vdb-market__bottom-cta p,
.vdb-product__inquiry-panel p,
.vdb-product__form-heading p {
    color: var(--vdb-muted);
    font-size: clamp(1rem, 1.45vw, 1.12rem);
    line-height: 1.65;
}

.vdb-market__bottom-cta,
.vdb-product__inquiry-panel,
.vdb-product__summary,
.vdb-product__section,
.vdb-product__media-panel {
    background: var(--vdb-surface);
    border: 1px solid var(--vdb-line);
    box-shadow: var(--vdb-shadow);
}

.vdb-product__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    margin-top: 0.25rem;
}

.vdb-grid {
    display: grid;
    gap: clamp(1.1rem, 2.2vw, 1.75rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.vdb-card {
    background: var(--vdb-surface);
    border: 1px solid var(--vdb-line);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vdb-card:hover,
.vdb-card:focus-within {
    border-color: rgba(79, 90, 55, 0.42);
    box-shadow: var(--vdb-shadow);
    transform: translateY(-2px);
}

.vdb-card__media {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f6f3ed, #ffffff);
    border-bottom: 1px solid var(--vdb-line);
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
    text-decoration: none;
}

.vdb-card__media img {
    display: block;
    height: 100%;
    object-fit: contain;
    transition: transform 220ms ease;
    width: 100%;
}

.vdb-card:hover .vdb-card__media img,
.vdb-card:focus-within .vdb-card__media img {
    transform: scale(1.025);
}

.vdb-card__placeholder,
.vdb-product__main-image--empty span {
    color: var(--vdb-muted);
    font-size: 0.92rem;
}

.vdb-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.25rem 0.9rem;
}

.vdb-card__title {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.18;
    margin: 0;
}

.vdb-card__title a {
    color: var(--vdb-ink);
    text-decoration: none;
}

.vdb-card__title a:hover,
.vdb-card__title a:focus {
    color: var(--vdb-green-dark);
    text-decoration: none;
}

.vdb-card__subtitle {
    color: var(--vdb-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0.65rem 0 0;
}

.vdb-card__facts,
.vdb-product__facts,
.vdb-spec-list {
    margin: 1rem 0 0;
}

.vdb-card__facts div,
.vdb-product__facts div,
.vdb-spec-list__row {
    border-top: 1px solid var(--vdb-line);
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(86px, 0.8fr) minmax(0, 1.4fr);
    padding: 0.62rem 0;
}

.vdb-card__facts dt,
.vdb-product__facts dt,
.vdb-spec-list dt {
    color: var(--vdb-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vdb-card__facts dd,
.vdb-product__facts dd,
.vdb-spec-list dd {
    color: var(--vdb-ink);
    font-size: 0.92rem;
    margin: 0;
}

.vdb-card__footer {
    align-items: center;
    border-top: 1px solid var(--vdb-line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: auto;
    padding: 1rem 1.25rem 1.25rem;
}

.vdb-card__price,
.vdb-product__price {
    color: var(--vdb-ink);
    display: block;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.2;
}

.vdb-card__availability,
.vdb-product__availability {
    color: var(--vdb-green);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 0.28rem;
}

.vdb-card__cta {
    font-size: 0.88rem;
    min-height: 38px;
    padding: 0.65rem 0.85rem;
    white-space: nowrap;
}

.vdb-grid-empty {
    background: var(--vdb-surface-warm);
    border-left: 6px solid var(--vdb-green);
    margin: 0;
    padding: 1.25rem 1.5rem;
}

.vdb-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: clamp(1.5rem, 4vw, 3rem);
}

.vdb-pagination .page-numbers {
    align-items: center;
    background: #fff;
    border: 1px solid var(--vdb-line);
    color: var(--vdb-ink);
    display: inline-flex;
    font-size: 0.92rem;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    padding: 0 0.85rem;
    text-decoration: none;
}

.vdb-pagination .page-numbers.current {
    background: var(--vdb-green);
    border-color: var(--vdb-green);
    color: #fff;
}

.vdb-pagination a.page-numbers:hover,
.vdb-pagination a.page-numbers:focus {
    border-color: var(--vdb-green-dark);
    color: var(--vdb-green-dark);
}

.vdb-market__bottom-cta {
    align-items: center;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.35rem, 3.5vw, 2.4rem);
}

.vdb-market__bottom-cta h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.4rem);
    line-height: 1.05;
    margin: 0 0 0.65rem;
}

.vdb-market__bottom-cta p:last-child {
    margin-bottom: 0;
}

.vdb-product__back {
    color: var(--vdb-green-dark);
    display: inline-flex;
    font-weight: 700;
    margin-bottom: 1.35rem;
    text-decoration: none;
}

.vdb-product__back::before {
    content: "←";
    margin-right: 0.5rem;
}

.vdb-product__back:hover,
.vdb-product__back:focus {
    color: var(--vdb-brown);
    text-decoration: underline;
}

.vdb-product__hero {
    align-items: stretch;
    display: grid;
    gap: clamp(1.25rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.vdb-product__heading {
    background: var(--vdb-surface-warm);
    border-left: 6px solid var(--vdb-green);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.vdb-product__subtitle {
    margin: 1rem 0 0;
}

.vdb-product__summary {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.vdb-product__price-row {
    border-bottom: 1px solid var(--vdb-line);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.vdb-product__layout {
    align-items: start;
    display: grid;
    gap: clamp(1.25rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.vdb-product__media-panel {
    padding: clamp(0.8rem, 2vw, 1.2rem);
}

.vdb-product__gallery-viewer {
    display: grid;
    gap: 0.8rem;
}

.vdb-product__main-image {
    align-items: center;
    background: linear-gradient(135deg, #f6f3ed, #ffffff);
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 320px;
    overflow: hidden;
    padding: clamp(1rem, 3vw, 2rem);
    position: relative;
}

.vdb-product__main-image img {
    display: block;
    max-height: 620px;
    object-fit: contain;
    width: 100%;
}

.vdb-product__gallery-arrow {
    -webkit-appearance: none;
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--vdb-line);
    border-radius: 0;
    color: var(--vdb-green-dark);
    cursor: pointer;
    display: inline-flex;
    font-size: 2.2rem;
    height: 48px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: 48px;
    z-index: 2;
}

.vdb-product__gallery-arrow--prev {
    left: 0.75rem;
}

.vdb-product__gallery-arrow--next {
    right: 0.75rem;
}

.vdb-product__gallery-arrow:hover,
.vdb-product__gallery-arrow:focus {
    background: var(--vdb-green);
    border-color: var(--vdb-green);
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}

.vdb-product__gallery-arrow:focus-visible,
.vdb-product__gallery-thumb:focus-visible {
    outline: 3px solid rgba(79, 90, 55, 0.38);
    outline-offset: 3px;
}

.vdb-product__gallery {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    margin-top: 0;
}

.vdb-product__gallery-thumb {
    align-items: center;
    aspect-ratio: 1;
    -webkit-appearance: none;
    appearance: none;
    background: var(--vdb-surface-warm);
    border: 1px solid var(--vdb-line);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0.45rem;
    position: relative;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vdb-product__gallery-thumb:hover,
.vdb-product__gallery-thumb:focus,
.vdb-product__gallery-thumb.is-active {
    border-color: var(--vdb-green);
    box-shadow: 0 10px 24px rgba(29, 29, 27, 0.08);
}

.vdb-product__gallery-thumb.is-active::after {
    border: 2px solid var(--vdb-green);
    content: "";
    inset: 3px;
    pointer-events: none;
    position: absolute;
}

.vdb-product__gallery-thumb img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.vdb-product__inquiry-panel {
    padding: clamp(1.25rem, 3vw, 2rem);
    position: sticky;
    top: 1.5rem;
}

.vdb-product__inquiry-panel h2,
.vdb-product__section h2 {
    color: var(--vdb-ink);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.1;
    margin: 0 0 0.85rem;
}

.vdb-product__content {
    display: grid;
    gap: clamp(1rem, 2vw, 1.35rem);
}

.vdb-product__section {
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.vdb-product__copy > :first-child,
.vdb-product__section > :first-child {
    margin-top: 0;
}

.vdb-product__copy > :last-child,
.vdb-product__section > :last-child {
    margin-bottom: 0;
}

.vdb-spec-list {
    display: grid;
}

.vdb-spec-list__row:first-child,
.vdb-card__facts div:first-child,
.vdb-product__facts div:first-child {
    border-top: 0;
}

.vdb-spec-list--compact {
    margin-top: 0;
}

.vdb-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vdb-cats li {
    background: var(--vdb-surface-warm);
    border: 1px solid var(--vdb-line);
    color: var(--vdb-muted);
    font-size: 0.9rem;
    padding: 0.45rem 0.65rem;
}

.vdb-product__section--form {
    background: var(--vdb-surface-warm);
    border-left: 6px solid var(--vdb-green);
}

.vdb-product__form-heading {
    margin-bottom: 1.5rem;
    max-width: 760px;
}

.vdb-product__form-heading h2 {
    margin-bottom: 0.5rem;
}

.vdb-product .gform_wrapper,
.vdb-product__section--form .gform_wrapper {
    margin-top: 0;
}

@media (min-width: 760px) {
    .vdb-market__bottom-cta {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .vdb-product__hero {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    }
}

@media (min-width: 940px) {
    .vdb-product__layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.45fr);
    }
}

@media (max-width: 620px) {
    .vdb-card__footer,
    .vdb-product__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .vdb-button,
    .vdb-card__cta {
        width: 100%;
    }

    .vdb-card__facts div,
    .vdb-product__facts div,
    .vdb-spec-list__row {
        grid-template-columns: 1fr;
    }

    .vdb-product__inquiry-panel {
        position: static;
    }

    .vdb-product__gallery-arrow {
        font-size: 1.8rem;
        height: 40px;
        width: 40px;
    }

    .vdb-product__gallery-arrow--prev {
        left: 0.45rem;
    }

    .vdb-product__gallery-arrow--next {
        right: 0.45rem;
    }

    .vdb-product__gallery {
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    }
}
