/* =========================================================
   METALVIS — SINGLE PRODUCT
========================================================= */

.metalvis-product-single--catalog {
    padding: 20px 0 56px;
    background: #fff;
}

/* =========================================
   BREADCRUMBS
========================================= */
body.single-product .woocommerce-breadcrumb {
    max-width: 1360px !important;
    margin: 0 auto 10px !important;
    padding: 15px 20px 0 !important;
}

.woocommerce-breadcrumb {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 18px;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.5;
    color: #6f7a83;
}

.woocommerce-breadcrumb a {
    color: var(--color-secondary, #0082cb);
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}


/* =========================================================
   SINGLE PRODUCT CARD ONLY
========================================================= */

/* =========================================
   MAIN LAYOUT
========================================= */
.metalvis-product-layout {
    display: grid;
    grid-template-columns: minmax(380px, 460px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.metalvis-product-left,
.metalvis-product-right,
.metalvis-product-main,
.metalvis-product-main__content,
.metalvis-product-main__sidebar {
    min-width: 0;
}

.metalvis-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    align-items: start;
}

/* =========================================
   GALLERY
========================================= */
.metalvis-product-gallery {
    position: sticky;
    top: 24px;
    align-self: start;
}

.metalvis-product-gallery__main-wrap {
    position: relative;
}

.metalvis-product-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    padding: 30px;
    border: 1px solid #e6ebf0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    overflow: hidden;
    cursor: zoom-in;
}

.metalvis-product-gallery__main img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
}

.metalvis-product-gallery__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    background: var(--color-secondary, #0082cb);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.metalvis-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.metalvis-product-gallery__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #e6ebf0;
    background: #fff;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.metalvis-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.metalvis-product-gallery__thumb:hover,
.metalvis-product-gallery__thumb.is-active {
    border-color: var(--color-secondary, #0082cb);
    box-shadow: inset 0 0 0 1px var(--color-secondary, #0082cb);
    transform: translateY(-1px);
}

/* =========================================
   HEADER
========================================= */
.metalvis-product-header {
    margin: 0 0 20px;
}

.metalvis-product-header__title {
	margin: 0 0 14px;
    color: #1f2b36;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.metalvis-product-header__subtitle {
    margin: 0 0 14px;
    color: #596774;
    font-size: 14px;
    line-height: 1.68;
    max-width: 780px;
}

.metalvis-product-header__subtitle p {
    margin: 0;
}

.metalvis-product-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 14px;
    color: #55636f;
}

.metalvis-product-header__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.metalvis-product-header__meta-label {
    font-weight: 700;
    color: #1f2b36;
}

.metalvis-product-header__meta-item--sku .metalvis-product-header__meta-label,
.metalvis-product-header__meta-item--sku .metalvis-product-header__meta-value {
    color: #0082cb;
    font-weight: 700;
}

.metalvis-product-header__meta-item--wishlist {
    margin-left: auto;
}

.metalvis-product-header__meta-item--wishlist .yith-add-to-wishlist-button-block {
    margin: 0 !important;
}

.metalvis-product-header__meta-item--wishlist .yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}

.metalvis-product-header__meta-item--wishlist .yith-wcwl-add-to-wishlist-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 1px solid #dce4eb !important;
    background: #fff !important;
    color: #8a97a3 !important;
    box-shadow: none !important;
}

.metalvis-product-header__meta-item--wishlist .yith-wcwl-add-to-wishlist-button:hover {
    border-color: var(--color-secondary, #0082cb) !important;
    color: var(--color-secondary, #0082cb) !important;
    background: #fff !important;
}

.metalvis-product-header__meta-item--wishlist .yith-wcwl-icon-svg__wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 18px;
}

.metalvis-product-header__meta-item--wishlist svg {
    display: block;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
}

/* =========================================
   ATTRIBUTES
========================================= */
.metalvis-product-attributes {
    margin: 0 0 20px;
    border-top: 1px solid #e4e9ee;
    background: #fff;
}

.metalvis-product-attributes__grid {
    display: block;
}

.metalvis-product-attributes__item {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #e4e9ee;
}

.metalvis-product-attributes__label {
    margin: 0;
    color: #5f6c77;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
}

.metalvis-product-attributes__value {
    color: #1f2b36;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.metalvis-product-attributes__item.is-stock-row {
    grid-template-columns: 1fr minmax(0, auto);
}

.metalvis-product-attributes__item.is-stock-row .metalvis-product-attributes__label {
    min-height: 1px;
}

.metalvis-product-attributes__item.is-stock-row .metalvis-product-attributes__value {
    text-align: right;
}

.metalvis-product-attributes__item.is-stock-row .stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    background: #e8f8ef;
    color: #16804b;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
}

/* stock badge in product attributes */
.metalvis-product-attributes__item.is-stock-row .stock.in-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 12px;
    background: #e8f8ef;
    color: #16804b;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
}

.metalvis-product-attributes__item.is-stock-row .stock.in-stock::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #20b15a;
    box-shadow: 0 0 0 0 rgba(32, 177, 90, 0.45);
    animation: metalvis-stock-pulse 1.8s infinite ease-out;
}

@keyframes metalvis-stock-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(32, 177, 90, 0.45);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px rgba(32, 177, 90, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(32, 177, 90, 0);
    }
}

/* out of stock optional */
.metalvis-product-attributes__item.is-stock-row .stock.out-of-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 12px;
    background: #f3f5f7;
    color: #7b8791;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
}

.metalvis-product-attributes__item.is-stock-row .stock.out-of-stock::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #aab4bd;
}

/* =========================================
   BUY PANEL
========================================= */
.metalvis-buy-panel {
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid #dbe4ec;
    background: #f8fbfd;
}

.metalvis-buy-panel__top {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0 0 16px;
}

.metalvis-buy-panel__prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.metalvis-buy-price {
    padding: 16px;
    border: 1px solid #e3e9ef;
    background: #fff;
}

.metalvis-buy-price__label {
    margin-bottom: 6px;
    color: #6a7680;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.metalvis-buy-price__value {
    color: #1f2b36;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 700;
}

.metalvis-buy-price--alt .metalvis-buy-price__value {
    color: var(--color-secondary, #0082cb);
}

.metalvis-buy-price__value .woocommerce-Price-amount {
    white-space: nowrap;
}

.metalvis-buy-panel__pack {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e3e9ef;
    background: #fff;
    color: #1f2b36;
    font-size: 14px;
}

.metalvis-buy-panel__pack-label {
    color: #6a7680;
    font-weight: 700;
}

.metalvis-buy-panel__pack-value {
    color: #1f2b36;
    font-weight: 700;
}

.metalvis-buy-panel__actions {
    padding: 0;
    text-align: end;
}

.metalvis-buy-panel__actions .cart {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0;
    justify-content: end;
}

.metalvis-buy-panel__actions .quantity {
    display: inline-flex;
    align-items: stretch;
    margin: 0 !important;
    justify-content: end;
}

.metalvis-buy-panel__actions .qty {
    width: 72px;
    min-height: 48px;
    padding: 0 8px;
    border: 1px solid #c7d2dc;
    border-left: none;
    border-right: none;
    background: #fff;
    color: #1f2b36;
    font-size: 16px;
    text-align: center;
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.metalvis-buy-panel__actions .qty::-webkit-outer-spin-button,
.metalvis-buy-panel__actions .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.metalvis-qty-btn {
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    border: 1px solid #c7d2dc;
    background: #fff;
    color: #596774;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.metalvis-qty-btn:hover {
    background: #f1f6fa;
    color: var(--color-secondary, #0082cb);
}

.metalvis-buy-panel__actions .single_add_to_cart_button,
.metalvis-buy-panel__actions .button.single_add_to_cart_button,
body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button {
    min-height: 48px;
    padding: 0 28px;
    border: none !important;
    border-radius: 0;
    background: var(--color-secondary, #0082cb) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.metalvis-buy-panel__actions .single_add_to_cart_button:hover,
.metalvis-buy-panel__actions .button.single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button:hover {
    background: #006ea9 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* =========================================
   SIDEBAR INFO CARD
========================================= */
.metalvis-side-info-card {
    position: sticky;
    top: 24px;
    padding: 18px;
    border: 1px solid #dfe5ea;
    background: #fbfcfe;
}

.metalvis-side-info-card__title {
    margin: 0 0 14px;
    color: #1f2b36;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.metalvis-side-info-card__block + .metalvis-side-info-card__block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e6ebf0;
}

.metalvis-side-info-card__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--color-secondary, #0082cb);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.metalvis-side-info-card__label::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background: var(--color-secondary, #0082cb);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.metalvis-side-info-card__label.is-delivery::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 6h13v8h2.5l2.5 3v1h-1a2.5 2.5 0 0 1-5 0H9a2.5 2.5 0 0 1-5 0H3V6Zm3 13a1 1 0 1 0 0-2a1 1 0 0 0 0 2Zm12 0a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 6h13v8h2.5l2.5 3v1h-1a2.5 2.5 0 0 1-5 0H9a2.5 2.5 0 0 1-5 0H3V6Zm3 13a1 1 0 1 0 0-2a1 1 0 0 0 0 2Zm12 0a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z'/></svg>");
}

.metalvis-side-info-card__label.is-payment::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2H3V5Zm18 4H3v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9Z'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2H3V5Zm18 4H3v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9Z'/></svg>");
}

.metalvis-side-info-card__label.is-warranty::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='m12 2l7 3v6c0 5-3.5 9.74-7 11c-3.5-1.26-7-6-7-11V5l7-3Zm-1 11l-2-2l-1.4 1.4L11 15.8l5.4-5.4L15 9l-4 4Z'/></svg>");
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='m12 2l7 3v6c0 5-3.5 9.74-7 11c-3.5-1.26-7-6-7-11V5l7-3Zm-1 11l-2-2l-1.4 1.4L11 15.8l5.4-5.4L15 9l-4 4Z'/></svg>");
}

.metalvis-side-info-card__text {
    color: #52616d;
    font-size: 14px;
    line-height: 1.65;
}

.metalvis-side-info-card__text p:first-child {
    margin-top: 0;
}

.metalvis-side-info-card__text p:last-child {
    margin-bottom: 0;
}

/* =========================================
   TABS
========================================= */
.metalvis-product-tabs {
    margin-top: 6px;
}

.metalvis-product-tabs__nav {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #dbe4ec;
}

.metalvis-product-tabs__button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #dbe4ec;
    border-bottom: none;
    background: #f6f9fb;
    color: #4f5d68;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.metalvis-product-tabs__button:hover {
    background: #eef5fa;
    color: #1f2b36;
}

.metalvis-product-tabs__button.is-active {
    position: relative;
    top: 1px;
    background: #fff;
    color: #1f2b36;
}

.metalvis-product-tabs__content {
    color: #2f3b46;
    font-size: 14px;
    line-height: 1.72;
}

.metalvis-product-tabs__panel {
    display: none;
}

.metalvis-product-tabs__panel.is-active {
    display: block;
}

.metalvis-product-tabs__panel p:first-child {
    margin-top: 0;
}


/* =========================================
   LIGHTBOX
========================================= */
.metalvis-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(12, 18, 24, 0.86);
    padding: 40px;
}

.metalvis-lightbox.is-open {
    display: flex;
}

.metalvis-lightbox__content {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metalvis-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    background: #fff;
}

.metalvis-lightbox__close,
.metalvis-lightbox__prev,
.metalvis-lightbox__next {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}

.metalvis-lightbox__close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
}

.metalvis-lightbox__prev,
.metalvis-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    font-size: 34px;
    line-height: 1;
}

.metalvis-lightbox__prev {
    left: 18px;
}

.metalvis-lightbox__next {
    right: 18px;
}

body.metalvis-lightbox-open {
    overflow: hidden;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1199px) {
    .metalvis-product-main {
        grid-template-columns: 1fr;
    }

    .metalvis-side-info-card {
        position: static;
    }

    .metalvis-product-header__title {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .metalvis-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .metalvis-product-gallery {
        position: static;
        top: auto;
    }

    .metalvis-buy-panel__prices {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .metalvis-product-header__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .metalvis-product-gallery__main {
        min-height: 300px;
        padding: 16px;
    }

    .metalvis-product-gallery__thumbs {
        gap: 8px;
    }

    .metalvis-product-attributes__item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 0;
    }

    .metalvis-product-attributes__value {
        text-align: left;
    }

    .metalvis-buy-panel__actions .cart {
        flex-direction: column;
        align-items: stretch;
    }

    .metalvis-buy-panel__actions .quantity,
    .metalvis-buy-panel__actions .single_add_to_cart_button,
    .metalvis-buy-panel__actions .button.single_add_to_cart_button,
    body.single-product .single_add_to_cart_button,
    body.single-product button.single_add_to_cart_button {
        width: 100%;
    }

    .metalvis-product-tabs__nav {
        flex-wrap: wrap;
        border-bottom: none;
        gap: 8px;
        justify-content: center;
    }

    .metalvis-product-tabs__button {
        border: 1px solid #d8e0e8;
        margin-right: 0;
        top: 0;
    }

    .metalvis-product-tabs__button.is-active {
        top: 0;
    }

    .metalvis-lightbox {
        padding: 16px;
    }

    .metalvis-lightbox__prev,
    .metalvis-lightbox__next {
        width: 40px;
        height: 56px;
    }
}

/* =========================================
   ASSORTMENT
========================================= */
.metalvis-assortment-section {
    padding: 10px 0 56px;
    background: #fff;
}

.metalvis-assortment {
    margin: 0;
    padding: 0;
    border: none;
    background: #fff;
}

.metalvis-assortment__head {
    margin-bottom: 12px;
}

.metalvis-assortment__title {
    margin: 0 0 4px;
    color: #1f2b36;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.metalvis-assortment__subtitle {
    color: #66737d;
    font-size: 14px;
    line-height: 1.5;
}

.metalvis-assortment__group {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: #eef5fb;
    color: var(--color-secondary, #0082cb);
    font-weight: 700;
}

.metalvis-assortment__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #dfe5ea;
    border-bottom: 1px solid #dfe5ea;
    background: #fff;
}

.metalvis-assortment__table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    table-layout: fixed;
}

.metalvis-assortment__table thead th {
    padding: 12px 10px;
    border-bottom: 1px solid #dfe5ea;
    background: #fff;
    color: #5e6b76;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    vertical-align: middle;
}

.metalvis-assortment__row td {
    padding: 10px;
    border-bottom: 1px solid #edf2f6;
    vertical-align: middle;
    background: #fff;
}

.metalvis-assortment__row:last-child td {
    border-bottom: none;
}

.metalvis-assortment__row:hover td {
    background: #fbfdff;
}

.metalvis-assortment__row.is-current td {
    background: #f5f9ff;
}

.metalvis-assortment__col-product { width: 310px; }
.metalvis-assortment__col-diameter { width: 90px; }
.metalvis-assortment__col-length { width: 90px; }
.metalvis-assortment__col-price { width: 160px; }
.metalvis-assortment__col-action { width: 170px; }

.metalvis-assortment__article {
    margin-bottom: 4px;
    color: #71808d;
    font-size: 12px;
    line-height: 1.35;
}

.metalvis-assortment__name {
    margin: 0;
    color: #1f2b36;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.metalvis-assortment__name a {
    color: inherit;
    text-decoration: none;
}

.metalvis-assortment__name a:hover {
    color: var(--color-secondary, #0082cb);
}

.metalvis-assortment__cell {
    color: #1f2b36;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.metalvis-assortment__price-card {
    padding: 0;
    border: none;
    background: transparent;
}

.metalvis-assortment__price-value {
    color: #ea2d5d;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 700;
}

.metalvis-assortment__price-value .woocommerce-Price-amount {
    white-space: nowrap;
}

.metalvis-assortment__action {
    text-align: left;
}

.metalvis-assortment__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: none;
    background: var(--color-secondary, #0082cb);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.metalvis-assortment__button:hover {
    background: #23489a;
    color: #fff;
}

.metalvis-assortment__empty {
    color: #9aa6b2;
    font-size: 13px;
}

/* =========================================
   ASSORTMENT MODAL
========================================= */
body.metalvis-modal-open {
    overflow: hidden;
}

.metalvis-assortment-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.metalvis-assortment-modal.is-open {
    display: block;
}

.metalvis-assortment-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 24, 0.72);
}

.metalvis-assortment-modal__dialog {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    margin: 60px auto;
    background: #fff;
    border: 1px solid #d8e2ec;
    box-shadow: 0 20px 60px rgba(18, 35, 52, 0.18);
}

.metalvis-assortment-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    color: #6f7a83;
    cursor: pointer;
}

.metalvis-assortment-modal__body {
    padding: 28px;
}

.metalvis-assortment-modal__step {
    display: none;
}

.metalvis-assortment-modal__step.is-active {
    display: block;
}

.metalvis-assortment-modal__title {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2b36;
}

.metalvis-assortment-modal__product {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 22px;
}

.metalvis-assortment-modal__image-wrap {
    border: 1px solid #e3e8ee;
    background: #fff;
    padding: 8px;
}

.metalvis-assortment-modal__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.metalvis-assortment-modal__name {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--color-secondary, #0082cb);
}

.metalvis-assortment-modal__sku {
    font-size: 14px;
    color: #66737d;
}

.metalvis-assortment-modal__grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.metalvis-assortment-modal__qty-block,
.metalvis-assortment-modal__summary {
    padding: 18px;
    border: 1px solid #e3e8ee;
    background: #fbfdff;
}

.metalvis-assortment-modal__label {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #66737d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.metalvis-assortment-modal__qty {
    display: flex;
    align-items: stretch;
}

.metalvis-assortment-modal__qty-btn {
    width: 44px;
    min-width: 44px;
    border: 1px solid #ccd6df;
    background: #f8fbfd;
    font-size: 24px;
    cursor: pointer;
}

.metalvis-assortment-modal__qty-input {
    width: 90px;
    border: 1px solid #ccd6df;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    box-shadow: none;
    outline: none;
}

.metalvis-assortment-modal__summary-row,
.metalvis-assortment-modal__summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.metalvis-assortment-modal__summary-row {
    margin-bottom: 8px;
    font-size: 14px;
    color: #46535d;
}

.metalvis-assortment-modal__summary-row strong {
    color: var(--color-secondary, #0082cb);
    font-size: 20px;
}

.metalvis-assortment-modal__summary-note {
    margin-bottom: 18px;
    font-size: 13px;
    color: #71808d;
}

.metalvis-assortment-modal__summary-total {
    padding-top: 14px;
    border-top: 1px solid #e5edf4;
    font-size: 16px;
    color: #1f2b36;
}

.metalvis-assortment-modal__summary-total strong {
    color: #1f2b36;
    font-size: 24px;
}

.metalvis-assortment-modal__actions {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e5edf4;
    text-align: right;
}

.metalvis-assortment-modal__submit,
.metalvis-assortment-modal__cart-link,
.metalvis-assortment-modal__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    text-decoration: none;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.metalvis-assortment-modal__submit,
.metalvis-assortment-modal__cart-link {
    background: var(--color-secondary, #0082cb);
    color: #fff;
}

.metalvis-assortment-modal__submit:hover,
.metalvis-assortment-modal__cart-link:hover {
    background: #23489a;
    color: #fff;
    transform: translateY(-1px);
}

.metalvis-assortment-modal__continue {
    background: #eef5fa;
    color: #1f2b36;
}

.metalvis-assortment-modal__continue:hover {
    background: #dfeaf3;
}

.metalvis-assortment-modal__success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e8f8ef;
    color: #16804b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
}

.metalvis-assortment-modal__success-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 24px;
    line-height: 1.3;
    color: #1f2b36;
}

.metalvis-assortment-modal__success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================================
   NEW PRODUCT CARDS
========================================= */
.home-new-products {
    padding: 0 0 56px;
    background: #fff;
}

.home-new-products__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e7ebef;
}

.home-new-products__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--color-secondary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-new-products__title {
    margin: 0;
    color: var(--color-text);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}

.home-new-products__nav {
    display: flex;
    gap: 8px;
}

.home-new-products__arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #d8e2ec;
    background: #fff;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-new-products__arrow:hover {
    border-color: var(--color-secondary);
    background: #eef9fd;
    color: var(--color-secondary);
    transform: translateY(-1px);
}

.home-new-products__slider {
    overflow: hidden;
}

.home-new-products__track {
    display: flex;
    gap: 14px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.new-product-card {
    flex: 0 0 calc(20% - 11.2px);
    min-width: 0;
    margin-top: 2px;
}

.new-product-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 430px;
    padding: 14px;
    border: 1px solid #e3e8ee;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.new-product-card__inner:hover {
    border-color: rgba(0, 130, 203, 0.22);
    box-shadow: 0 10px 24px rgba(0, 130, 203, 0.08);
    transform: translateY(-1px);
}

.new-product-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    margin-bottom: 10px;
}

.new-product-card__wishlist {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    line-height: 1;
}

.new-product-card__wishlist *,
.new-product-card__wishlist *::before,
.new-product-card__wishlist *::after {
    box-sizing: border-box;
}

.new-product-card__wishlist .yith-add-to-wishlist-button-block {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    margin: 0 !important;
    padding: 0 !important;
}

.new-product-card__wishlist .yith-wcwl-add-to-wishlist-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce4eb !important;
    background: #fff !important;
    color: #8a97a3 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.new-product-card__wishlist .yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}

.new-product-card__wishlist .yith-wcwl-icon-svg__wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 18px;
}

.new-product-card__wishlist .yith-wcwl-add-to-wishlist-button svg {
    display: block;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
}

.new-product-card__wishlist .yith-wcwl-add-to-wishlist-button:hover {
    border-color: var(--color-secondary) !important;
    color: var(--color-secondary) !important;
    background: #fff !important;
    transform: translateY(-1px);
}

.new-product-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    background: var(--color-secondary);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.new-product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 132px;
    min-height: 132px;
    margin-bottom: 12px;
    padding: 8px;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
}

.new-product-card__image-link img,
.new-product-card__image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100px !important;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
}

.new-product-card__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.new-product-card__title {
    display: -webkit-box;
    margin-bottom: 10px;
    min-height: calc(1.35em * 3);
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.new-product-card__title:hover {
    color: var(--color-secondary);
}

.new-product-card__sku-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
    color: #7a8791;
    font-size: 12px;
    line-height: 1.4;
}

.new-product-card__sku-label {
    color: #8a97a3;
    flex-shrink: 0;
}

.new-product-card__sku {
    color: #55636f;
    min-width: 0;
    overflow-wrap: anywhere;
}

.new-product-card__stock {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.new-product-card__stock.is-in-stock {
    color: #20b26b;
}

.new-product-card__stock.is-out-of-stock {
    color: #9aa5ae;
}

.new-product-card__prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.new-product-card__price {
    color: var(--color-text);
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
}

.new-product-card__price--sale {
    color: #df1c41;
}

.new-product-card__price--empty {
    color: #7d8a95;
    font-size: 14px;
    font-weight: 600;
}

.new-product-card__price .woocommerce-Price-amount,
.new-product-card__old-price .woocommerce-Price-amount {
    white-space: nowrap;
}

.new-product-card__old-price {
    color: #8b97a1;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: line-through;
}

.new-product-card__bottom {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e7ebef;
}

.new-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: 100%;
    padding: 0 14px;
    background: #00c7ff;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.new-product-card__button:hover {
    background: #0082cb;
    color: #fff;
    transform: translateY(-1px);
}

/* =========================================
   INTEREST PRODUCTS
========================================= */
.metalvis-interest-products {
    padding: 8px 0 56px;
    background: var(--color-secondary, #0082cb);
}

.metalvis-interest-products__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.metalvis-interest-products__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: rgba(255,255,255,.8);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metalvis-interest-products__title {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}

.metalvis-interest-products__nav {
    display: flex;
    gap: 8px;
}

.metalvis-interest-products__arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #d8e2ec;
    background: #fff;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.metalvis-interest-products__arrow:hover {
    border-color: var(--color-secondary);
    background: #eef9fd;
    color: var(--color-secondary);
    transform: translateY(-1px);
}

.metalvis-interest-products__slider {
    overflow: hidden;
}

.metalvis-interest-products__track {
    display: flex;
    gap: 14px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.metalvis-interest-products .new-product-card {
    flex: 0 0 calc(20% - 11.2px);
    min-width: 0;
    margin-top: 2px;
}

.yith-wcwl-add-to-wishlist-button:is(button):not(.yith-wcwl-theme-button-style) {
    background-color: #fff !important;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1399px) {
    .new-product-card,
    .metalvis-interest-products .new-product-card {
        flex: 0 0 calc(25% - 10.5px);
    }
}

@media (max-width: 1199px) {
    .metalvis-product-main {
        grid-template-columns: 1fr;
    }

    .metalvis-side-info-card {
        position: static;
    }

    .metalvis-product-header__title {
        font-size: 30px;
    }

    .metalvis-buy-price__value {
        font-size: 26px;
    }

    .home-new-products__title,
    .metalvis-interest-products__title {
        font-size: 26px;
    }

    .new-product-card,
    .metalvis-interest-products .new-product-card {
        flex: 0 0 calc(33.333333% - 9.5px);
    }

    .new-product-card__inner {
        min-height: 410px;
    }
}

@media (max-width: 991px) {
    .metalvis-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .metalvis-product-gallery {
        position: static;
        top: auto;
    }

    .metalvis-buy-panel__prices {
        grid-template-columns: 1fr;
    }

    .new-product-card,
    .metalvis-interest-products .new-product-card {
        flex: 0 0 calc(50% - 7px);
    }
}

@media (max-width: 767px) {
    .metalvis-product-single--catalog {
        padding: 16px 0 40px;
    }

    .woocommerce-breadcrumb {
        padding: 0 16px;
        margin-bottom: 14px;
        font-size: 13px;
    }

    .metalvis-product-header__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .metalvis-product-gallery__main {
        min-height: 300px;
        padding: 16px;
    }

    .metalvis-product-gallery__thumbs {
        gap: 8px;
    }

    .metalvis-product-attributes__item,
    .metalvis-product-specs__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 0;
    }

    .metalvis-product-attributes__value,
    .metalvis-product-specs__value {
        text-align: left;
    }

    .metalvis-buy-panel__top,
    .metalvis-buy-panel__actions {
        padding-left: 14px;
        padding-right: 14px;
    }

    .metalvis-buy-panel__actions .cart {
        flex-direction: column;
        align-items: stretch;
    }

    .metalvis-buy-panel__actions .quantity,
    .metalvis-buy-panel__actions .single_add_to_cart_button,
    .metalvis-buy-panel__actions .button.single_add_to_cart_button,
    body.single-product .single_add_to_cart_button,
    body.single-product button.single_add_to_cart_button {
        width: 100%;
    }

    .metalvis-product-tabs__nav {
        flex-wrap: wrap;
        justify-content: center;
        border-bottom: none;
        gap: 8px;
        
    }

    .metalvis-product-tabs__button {
        border: 1px solid #d8e0e8;
        margin-right: 0;
        top: 0;
    }

    .metalvis-product-tabs__button.is-active {
        top: 0;
    }

    .metalvis-lightbox {
        padding: 16px;
    }

    .metalvis-lightbox__prev,
    .metalvis-lightbox__next {
        width: 40px;
        height: 56px;
    }

    .metalvis-assortment-section {
        padding: 0 0 40px;
    }

    .metalvis-assortment__table {
        min-width: 920px;
    }

    .metalvis-assortment-modal__dialog {
        width: calc(100vw - 20px);
        margin: 20px auto;
    }

    .metalvis-assortment-modal__body {
        padding: 18px;
    }

    .metalvis-assortment-modal__product,
    .metalvis-assortment-modal__grid {
        grid-template-columns: 1fr;
    }

    .metalvis-assortment-modal__submit,
    .metalvis-assortment-modal__cart-link,
    .metalvis-assortment-modal__continue {
        width: 100%;
    }

    .metalvis-assortment-modal__success-actions {
        flex-direction: column;
    }

    .home-new-products,
    .metalvis-interest-products {
        padding: 16px 0 34px;
    }

    .home-new-products__title,
    .metalvis-interest-products__title {
        font-size: 22px;
    }

    .home-new-products__track,
    .metalvis-interest-products__track {
        gap: 12px;
    }

    .new-product-card,
    .metalvis-interest-products .new-product-card {
        flex: 0 0 100%;
    }

    .new-product-card__inner {
        min-height: 0;
    }

    .new-product-card__image-link {
        height: 150px;
        min-height: 150px;
    }

    .new-product-card__title {
        min-height: 0;
    }

    .new-product-card__price {
        font-size: 20px;
    }
}