.wp-block-kadence-wootemplate-blocks-add-to-cart p.stock {
    display: none;
}

/* SKU + collection link row */
.merida-sku-collection-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.merida-sku-collection-row .merida-sku-section {
    flex: 1;
}

.merida-collection-section {
    text-align: right;
    /* right-align the link */
    white-space: nowrap;
    /* prevent wrapping of “Pozostałe…” */
}

.merida-product-collection a {
    position: relative;
    text-decoration: none;
}

.merida-product-collection a::after {
    content: "→";
    display: inline-block;
    margin-left: 0.25em;
    /* vertical-align to match your font size if needed */
}

.merida-current-color-info span {
    font-size: 14px;
    line-height: 1.4;
    color: #000;
}

/* 1. Flex: tekst + kółka w jednej linii */
.merida-color-swatches-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* tekst po lewej (nagłówek i opis) */
.merida-current-color-info {
    flex: 1;
}

/* 2. Flex dla samych kółek */
.merida-color-swatches {
    display: flex;
    align-items: center;
}

/* 2a. Podstawowy styl każdego kółka */
.merida-color-swatch {
    width: 28px;
    height: 28px;
    border: 1px solid #777;
    border-radius: 50%;
    box-sizing: border-box;
    position: relative;
}

/* 3. Nakładanie kolejnych */
.merida-color-swatch+.merida-color-swatch {
    margin-left: -20px;
}

/* 3. z-index od 15 do 1 (obsługa do 15 swatchy) */
.merida-color-swatch:nth-child(1) { z-index: 15; }
.merida-color-swatch:nth-child(2) { z-index: 14; }
.merida-color-swatch:nth-child(3) { z-index: 13; }
.merida-color-swatch:nth-child(4) { z-index: 12; }
.merida-color-swatch:nth-child(5) { z-index: 11; }
.merida-color-swatch:nth-child(6) { z-index: 10; }
.merida-color-swatch:nth-child(7) { z-index: 9; }
.merida-color-swatch:nth-child(8) { z-index: 8; }
.merida-color-swatch:nth-child(9) { z-index: 7; }
.merida-color-swatch:nth-child(10) { z-index: 6; }
.merida-color-swatch:nth-child(11) { z-index: 5; }
.merida-color-swatch:nth-child(12) { z-index: 4; }
.merida-color-swatch:nth-child(13) { z-index: 3; }
.merida-color-swatch:nth-child(14) { z-index: 2; }
.merida-color-swatch:nth-child(15) { z-index: 1; }

/* Common heading styles - 14px, 600 font weight */
.merida-block-heading,
.merida-product-collection a {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.merida-block-heading {
    margin: 0 0 8px 0;
}


/* Availability status with dot */
/* SKU value styling */
.merida-availability-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.merida-availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.merida-availability-text,
.merida-sku-value {
    font-size: 14px;
    line-height: 1.4;
    color: #000;
}

/* Unit price section */
.merida-unit-price-value {
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    margin: 0;
}

/* Info highlight section */
.merida-info-highlight-section {
    margin-bottom: 16px;
}

.merida-info-highlight-text {
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    margin: 0;
}

/* Branch availability button for shop-unavailable products */
.merida-branch-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--global-palette-btn-bg);
    color: var(--global-palette-btn);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
    justify-content: center;
}

.merida-branch-button:hover {
    background-color: var(--global-palette-btn-bg-hover, var(--global-palette-btn-bg));
    color: var(--global-palette-btn);
    opacity: 0.9;
}

.merida-branch-icon {
    width: 1.2em;
    height: 1.2em;
    fill: currentColor;
}