/* Velora — checkout upsell box and cart/checkout review strip. */
.vc-up { margin-bottom: 2rem; }
.vc-up__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--co-border, #dedede); border-radius: var(--co-radius, 6px); overflow: hidden; background: #fff; }
.vc-up__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .85rem; align-items: center; padding: .85rem 1rem; }
.vc-up__item + .vc-up__item { border-top: 1px solid var(--co-border, #dedede); }
.vc-up__img img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); background: #f5f5f5; }
.vc-up__body { display: grid; gap: .2rem; min-width: 0; font-size: 14px; }
.vc-up__name { color: inherit; text-decoration: none; font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vc-up__name:hover { text-decoration: underline; }
.vc-up__price { font-size: 13.5px; }
.vc-up__price del { color: #8a8a8a; margin-right: .25rem; }
.vc-up__select { max-width: 100%; min-height: 36px; padding: .25rem .5rem; border: 1px solid var(--co-border, #dedede); border-radius: var(--co-radius, 6px); background: #fff; font: inherit; font-size: 13px; }
.vc-up__err { color: #dd1d1d; font-size: 12px; }
.vc-up__add { min-width: 76px; min-height: 40px; padding: 0 1rem; border: 1px solid var(--co-accent, #111); border-radius: var(--co-radius, 6px); background: #fff; color: var(--co-accent, #111); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.vc-up__add:hover:not(:disabled) { background: var(--co-accent, #111); color: #fff; }
.vc-up__add.is-done { border-color: #17703D; color: #17703D; }
.vc-up__add:disabled { cursor: default; }
@media (max-width: 420px) { .vc-up__item { grid-template-columns: 56px minmax(0, 1fr); } .vc-up__add { grid-column: 1 / -1; width: 100%; } .vc-up__img img { width: 56px; height: 56px; } }

.vc-rv-wrap { margin-top: 1.25rem; }
.vc-rv { padding: 1rem; border: 1px solid var(--co-border, #e5e5e5); border-radius: var(--co-radius, 6px); background: #fff; font-size: 13px; }
.vc-rv__title { margin: 0 0 .5rem; font-family: inherit; font-size: 15px; font-weight: 700; }
.vc-rv__sum { display: flex; align-items: center; gap: .4rem; margin: 0 0 .75rem; color: #555; }
.vc-rv__stars { --r: 5; position: relative; display: inline-block; width: 5.4em; height: 1em; font-size: 14px; line-height: 1; }
.vc-rv__stars::before, .vc-rv__stars::after { content: "★★★★★"; position: absolute; inset: 0; letter-spacing: .08em; }
.vc-rv__stars::before { color: #ddd; }
.vc-rv__stars::after { color: #F5B301; width: calc(var(--r) / 5 * 100%); overflow: hidden; white-space: nowrap; }
.vc-rv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.vc-rv__item + .vc-rv__item { border-top: 1px solid #eee; padding-top: .85rem; }
.vc-rv__text { margin: .35rem 0 .25rem; line-height: 1.5; color: #222; }
.vc-rv__by { margin: 0; color: #777; font-size: 12px; }
.vc-rv__by a { color: inherit; }
.vc-rv__ver { color: #17703D; font-weight: 600; }
.vc-up--side { margin-top: 1.25rem; }
.vc-up__title { margin: 0 0 .6rem; font-family: inherit; font-size: 15px; font-weight: 700; }
.vc-up--side .vc-up__item { grid-template-columns: 56px minmax(0, 1fr); }
.vc-up--side .vc-up__img img { width: 56px; height: 56px; }
.vc-up--side .vc-up__add { grid-column: 2; justify-self: start; min-height: 34px; font-size: 13px; }
/* Slider layout: horizontal, swipeable cards */
.vc-up--slider .vc-up__list { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; padding-bottom: .5rem; scrollbar-width: thin; }
.vc-up--slider .vc-up__item { flex: 0 0 min(260px, 78%); scroll-snap-align: start; border: 1px solid var(--co-border, #dedede); border-radius: var(--co-radius, 6px); grid-template-columns: 64px minmax(0, 1fr); }
.vc-up--slider .vc-up__item + .vc-up__item { border-top: 1px solid var(--co-border, #dedede); }
.vc-up--slider .vc-up__add { grid-column: 1 / -1; width: 100%; }
/* Cart: list in the right column replaces the grid below the items */
.vc-cart-upsell-side .wc-block-cart .wp-block-woocommerce-product-collection { display: none; }
