/* Extend only the existing link on products imported by this plugin. */
.mb-size-link.mca-size-active svg,
.mb-size-link:focus-visible svg,
.mb-size-link:active svg { color: #d3a723 !important; }
#tamanhos-do-bordado { scroll-margin-top: 40px; }
#tamanhos-do-bordado .mca-technical-scroll { width: 100%; min-width: 0; overflow-x: auto; }
#tamanhos-do-bordado .mca-technical-table {
    --mca-cell-padding-block: 12px;
    --mca-cell-padding-inline: 10px;
    display: table !important;
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-variant-numeric: tabular-nums;
}
#tamanhos-do-bordado .mca-technical-table thead { display: table-header-group !important; }
#tamanhos-do-bordado .mca-technical-table tbody { display: table-row-group !important; }
#tamanhos-do-bordado .mca-technical-table tr { display: table-row !important; }
/* Keep each matrix on the same row even when edited content wraps or the
   surrounding theme gives a column its own typography/alignment. */
#tamanhos-do-bordado .mca-technical-table th,
#tamanhos-do-bordado .mca-technical-table td {
    display: table-cell !important;
    box-sizing: border-box;
    padding: var(--mca-cell-padding-block) var(--mca-cell-padding-inline) !important;
    border: 0;
    border-bottom: 1px solid #e2e8ed;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: normal !important;
    line-height: inherit !important;
    text-align: left !important;
    vertical-align: middle !important;
    overflow-wrap: anywhere;
    word-break: normal;
}
#tamanhos-do-bordado .mca-technical-table th { background: #edf3f7; font-weight: 700 !important; color: #173457; }
#tamanhos-do-bordado .mca-technical-table td { font-weight: 400 !important; }
#tamanhos-do-bordado .mca-technical-table th:first-child,
#tamanhos-do-bordado .mca-technical-table td:first-child { width: 44%; }
#tamanhos-do-bordado .mca-technical-table th:nth-child(2),
#tamanhos-do-bordado .mca-technical-table td:nth-child(2) { width: 21%; }
#tamanhos-do-bordado .mca-technical-table th:last-child,
#tamanhos-do-bordado .mca-technical-table td:last-child { width: 35%; }
#tamanhos-do-bordado .mca-technical-table th > p,
#tamanhos-do-bordado .mca-technical-table td > p {
    margin: 0 !important;
    padding: 0 !important;
    font: inherit !important;
    text-align: inherit !important;
}
#tamanhos-do-bordado .mca-technical-table tbody tr:nth-child(even) { background: #f7f9fb; }
#tamanhos-do-bordado .mca-technical-table tbody tr:last-child td { border-bottom: 0; }
.mb-embroidery-specs .mca-spec-values {
    font-size: 14px !important;
    line-height: 1.5 !important;
}
.mb-embroidery-specs .mca-spec-values > .mca-spec-value {
    display: block !important;
    margin: 0 !important;
    white-space: nowrap;
    font-size: inherit !important;
    line-height: inherit !important;
}
@media (max-width: 767px) {
    body.single-product #tamanhos-do-bordado { padding: 14px 10px; }
    #tamanhos-do-bordado h3 { font-size: 19px; line-height: 1.35; margin: 0 0 14px; }
    #tamanhos-do-bordado .mca-technical-table {
        --mca-cell-padding-block: 10px;
        --mca-cell-padding-inline: 5px;
        font-size: 13px !important;
    }
    .mb-embroidery-specs .mca-spec-values {
        font-size: clamp(10px, 3.1vw, 14px) !important;
    }
}
/* Let long attribute lists expand the purchase summary instead of overflowing
   its flex basis and being painted behind the following description block.
   Scope this to imports and the actual purchase container, without template IDs. */
@media (max-width: 1024px) {
    body.single-product.mca-imported-product .e-flexbox-base:has(> .elementor-widget-woocommerce-product-add-to-cart),
    body.single-product.mca-imported-product .summary {
        flex-basis: auto !important;
        flex-shrink: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    #tamanhos-do-bordado { scroll-behavior: auto; }
}
