/* Legacy public biolink helpers — overflow-safe; prefer cl-* in link-chrome.css */

.link-html {
    max-width: 100%;
    min-height: 100%;
    overflow-x: clip;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgb(23 18 28 / 0.4) transparent;
    -webkit-overflow-scrolling: touch;
}
.link-html::-webkit-scrollbar { width: 8px; }
.link-html::-webkit-scrollbar-track { background: transparent; }
.link-html::-webkit-scrollbar-thumb {
    background: rgb(23 18 28 / 0.35);
    border-radius: 999px;
}
.link-html::-webkit-scrollbar-thumb:hover { background: rgb(23 18 28 / 0.5); }
.link-body {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    direction: ltr;
}
.link-body main { direction: rtl; }
.link-video-background {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.link-image { width: 125px; height: 125px; object-fit: contain; max-width: 100%; }
/* Avatar module owns its own size — never lock logo to the legacy 125px helper */
.cl-link-avatar .link-image,
.cl-link-avatar__img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}
.link-verified {
    border: 2px solid #fff;
    border-radius: 50rem;
    padding: 0.35rem 0.55rem;
    background: #0086ff;
    color: #fff;
    font-weight: bold;
}
.link-verified-small { color: #0086ff; vertical-align: text-top; }
.link-verified-small .fa-stack { font-size: .80rem; }

/* Overflow-safe link buttons (replaced absolute -4.1rem image hack) */
.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    padding: 0.55rem 1rem;
    font-size: 1.1rem;
    transition: opacity 0.3s, background 0.3s, transform 0.22s ease;
    border-radius: 0;
}

.link-btn:hover { animation: none; }
.link-btn-straight { border-radius: 0; }
.link-btn-round { border-radius: 150px; }
.link-btn-rounded { border-radius: .6rem; }
.link-avatar-straight { border-radius: 0; }
.link-avatar-round { border-radius: 50rem; }
.link-avatar-rounded { border-radius: .6rem; }
.link-hover-animation { transition: transform 0.3s; }
.link-hover-animation:hover { transform: scale(1.025); }
.link-hover-animation:active { transform: scale(.975); }

.link-btn-image-wrapper {
    overflow: hidden;
    width: 2.75rem;
    height: 2.75rem;
    max-width: 2.75rem;
    max-height: 2.75rem;
    position: static;
    flex: 0 0 auto;
    margin: 0;
    border-radius: inherit;
}
[dir="rtl"] .link-btn-image-wrapper {
    margin-left: 0;
    margin-right: 0;
}

.link-big-btn { padding: 0.85rem 1rem; justify-content: flex-start; text-align: start; }
.link-big-btn-image-wrapper {
    overflow: hidden;
    width: 4.5rem;
    max-width: 28%;
    height: auto;
    max-height: 4.5rem;
    flex: 0 0 auto;
}
.link-big-btn-image { width: 100%; height: auto; max-height: 4.5rem; object-fit: contain; }
.link-big-content-wrapper { width: auto; flex: 1 1 auto; min-width: 0; }
.link-big-icon-wrapper { width: auto; flex: 0 0 auto; }

.link-grid-image-wrapper {
    position: relative;
    height: 10rem;
    width: 100%;
    border-radius: 0.30rem 0.30rem 0 0;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}
@media (min-width: 992px) { .link-grid-image-wrapper { height: 20rem; } }

a:hover { text-decoration: none; }
.box-products { background: rgba(0, 0, 0, .25); border-radius: 0.30rem; }
.link-grid-image-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    background: rgba(0, 0, 0, .25);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .25rem 1rem;
    box-sizing: border-box;
}
.link-grid-image-overlay-name {
    position: relative;
    top: 0.2rem;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    padding: 0.3rem;
}

.link-grid-image-overlay-name span:hover { text-decoration: none; }
.link-grid-image-overlay-text { color: #000000; font-size: 1.1rem; overflow-wrap: break-word; }
.link-btn-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-external-item-image { width: 100%; height: auto; object-fit: cover; }
.link-iframe-round { border-radius: .3rem; overflow: hidden; position: relative; }

.link-round { border-radius: .3rem; }
#links > .row > div:target,
#links > .cl-link-block:target { transform: scale(1.05); }
.link-review-image { width: 2.5rem; height: 2.5rem; border-radius: 50rem; object-fit: cover; }
.link-image-slider-image { object-fit: cover; }
.link-faq button { font-size: 1.1rem; }
.link-footer { margin: 3rem 0; }

.link-footer-branding { font-size: .9rem; }
.modal-header { padding: 1rem; border-bottom: 0; }
.modal-subheader { padding: 0 1rem; border-bottom: 0; margin: 0; }
.modal-content { padding: 1rem; border: none; box-shadow: none; -webkit-box-shadow: none; }
form .btn-primary { transition: all .3s ease-in-out; }
form .btn-primary, form .btn-primary:hover, form .btn-primary:focus, form .btn-primary:active {
    background: black !important;
    border-color: black !important;
    box-shadow: none !important;
}

form .btn-primary:hover, form .btn-primary:focus { opacity: .85; }
form .btn-primary:active { opacity: .75; }
.btn:focus, .btn:active { box-shadow: none !important; }

/* ---- Image gallery lightbox fallback helpers ---- */
.cl-link-gallery,
.cl-link-lightbox {
    -webkit-tap-highlight-color: transparent;
}

/* ---- Advanced buttons / add_image module (Soft biolink) ---- */
.cl-link-add-image {
    width: 100%;
    max-width: 100%;
}
.cl-link-add-image__grid {
    display: grid;
    grid-template-columns: repeat(var(--cl-add-image-cols, 2), minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
}
.cl-link-add-image__cell {
    min-width: 0;
}
.cl-link-add-image__link {
    display: block;
    text-decoration: none !important;
}
.cl-link-add-image__img,
.cl-link-add-image .link-add-image-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.75rem;
    background: rgb(23 18 28 / 0.06);
}

/* ---- Image slider module (Soft biolink) ---- */
.cl-link-image-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.cl-link-image-slider .splide {
    width: 100%;
}
.cl-link-image-slider .splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cl-link-image-slider__link {
    display: inline-flex;
    text-decoration: none !important;
}
.cl-link-image-slider__img,
.cl-link-image-slider .link-image-slider-image {
    display: block;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

/* ---- Image shape module (Soft biolink) ---- */
.cl-link-image-shape .image-shape,
.image-shape {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slanted-edge-r-shape {
    --p: 70px;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    clip-path: polygon(var(--p) 0, 100% 0, 100% 100%, 0 100%);
}
.slanted-edge-l-shape {
    --p: 70px;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    clip-path: polygon(0 0, calc(100% - var(--p)) 0, 100% 100%, 0 100%);
}
.parallelogram-r-shape {
    --p: 50px;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    clip-path: polygon(var(--p) 0, 100% 0, calc(100% - var(--p)) 100%, 0 100%);
}
.parallelogram-l-shape {
    --p: 50px;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    clip-path: polygon(0 0, calc(100% - var(--p)) 0, 100% 100%, var(--p) 100%);
}
.hexagon-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / cos(30deg);
    clip-path: polygon(50% -50%, 100% 50%, 50% 150%, 0 50%);
}
.heart-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    --_m: radial-gradient(#000 69%, #0000 70%) 84.5% / 50%;
    -webkit-mask-box-image: var(--_m);
    mask-border: var(--_m);
    clip-path: polygon(-41% 0, 50% 91%, 141% 0);
}
@supports not (-webkit-mask-box-image: var(--_m)) {
    .heart-shape {
        mask:
            radial-gradient(at 70% 31%, #000 29%, #0000 30%),
            radial-gradient(at 30% 31%, #000 29%, #0000 30%),
            linear-gradient(#000 0 0) bottom / 100% 50% no-repeat;
    }
}
.star-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    clip-path: polygon(
        50% 0,
        calc(50% * (1 + sin(.4turn))) calc(50% * (1 - cos(.4turn))),
        calc(50% * (1 - sin(.2turn))) calc(50% * (1 - cos(.2turn))),
        calc(50% * (1 + sin(.2turn))) calc(50% * (1 - cos(.2turn))),
        calc(50% * (1 - sin(.4turn))) calc(50% * (1 - cos(.4turn)))
    );
}
.rhombus-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.circle-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    clip-path: circle(50% at 50% 50%);
}
.circle-1-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    clip-path: circle(70% at 70% 20%);
}
.cloud-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 1.8;
    --g: radial-gradient(50% 50%, #000 98%, #0000) no-repeat;
    -webkit-mask:
        var(--g) 100% 100% / 30% 60%,
        var(--g) 70% 0 / 50% 100%,
        var(--g) 0 100% / 36% 68%,
        var(--g) 27% 18% / 26% 40%,
        linear-gradient(#000 0 0) bottom / 67% 58% no-repeat;
    mask:
        var(--g) 100% 100% / 30% 60%,
        var(--g) 70% 0 / 50% 100%,
        var(--g) 0 100% / 36% 68%,
        var(--g) 27% 18% / 26% 40%,
        linear-gradient(#000 0 0) bottom / 67% 58% no-repeat;
}
.stamp-shape {
    --s: 14px;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    -webkit-mask:
        radial-gradient(var(--s) at var(--s) var(--s), #0000 98%, #000) calc(-1 * var(--s)) 0 / 100% calc(2 * var(--s)),
        radial-gradient(var(--s) at var(--s) var(--s), #0000 98%, #000) 0 calc(-1 * var(--s)) / calc(2 * var(--s)) 100%,
        linear-gradient(#000 0 0) content-box;
    mask:
        radial-gradient(var(--s) at var(--s) var(--s), #0000 98%, #000) calc(-1 * var(--s)) 0 / 100% calc(2 * var(--s)),
        radial-gradient(var(--s) at var(--s) var(--s), #0000 98%, #000) 0 calc(-1 * var(--s)) / calc(2 * var(--s)) 100%,
        linear-gradient(#000 0 0) content-box;
    padding: var(--s);
    -webkit-mask-composite: destination-in, destination-in, source-over;
    mask-composite: intersect, intersect, add;
}
.scalloped-box-shape {
    --r: 16px;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    -webkit-mask:
        radial-gradient(var(--r) at var(--r) var(--r), #000 98%, #0000) calc(-1 * var(--r)) calc(-1 * var(--r)) / calc(2 * var(--r)) calc(2 * var(--r)),
        linear-gradient(#000 0 0);
    mask:
        radial-gradient(var(--r) at var(--r) var(--r), #000 98%, #0000) calc(-1 * var(--r)) calc(-1 * var(--r)) / calc(2 * var(--r)) calc(2 * var(--r)),
        linear-gradient(#000 0 0);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}

/* Instagram-style filters (applied on .shape wrapper) */
.cl-link-image-shape .shape.aden,
.cl-link-image-shape .shape.inkwell,
.cl-link-image-shape .shape.perpetua,
.cl-link-image-shape .shape.reyes,
.cl-link-image-shape .shape.gingham,
.cl-link-image-shape .shape.hudson,
.cl-link-image-shape .shape.earlybird,
.cl-link-image-shape .shape.mayfair,
.cl-link-image-shape .shape.lofi,
.cl-link-image-shape .shape._1977,
.cl-link-image-shape .shape.brooklyn,
.cl-link-image-shape .shape.nashville,
.cl-link-image-shape .shape.lark,
.cl-link-image-shape .shape.moon,
.cl-link-image-shape .shape.clarendon,
.cl-link-image-shape .shape.brannan,
.cl-link-image-shape .shape.kelvin,
.cl-link-image-shape .shape.maven {
    position: relative;
}
.cl-link-image-shape .shape.aden:after,
.cl-link-image-shape .shape.aden:before,
.cl-link-image-shape .shape.inkwell:after,
.cl-link-image-shape .shape.inkwell:before,
.cl-link-image-shape .shape.perpetua:after,
.cl-link-image-shape .shape.perpetua:before,
.cl-link-image-shape .shape.reyes:after,
.cl-link-image-shape .shape.reyes:before,
.cl-link-image-shape .shape.gingham:after,
.cl-link-image-shape .shape.gingham:before,
.cl-link-image-shape .shape.hudson:after,
.cl-link-image-shape .shape.hudson:before,
.cl-link-image-shape .shape.earlybird:after,
.cl-link-image-shape .shape.earlybird:before,
.cl-link-image-shape .shape.mayfair:after,
.cl-link-image-shape .shape.mayfair:before,
.cl-link-image-shape .shape.lofi:after,
.cl-link-image-shape .shape.lofi:before,
.cl-link-image-shape .shape._1977:after,
.cl-link-image-shape .shape._1977:before,
.cl-link-image-shape .shape.brooklyn:after,
.cl-link-image-shape .shape.brooklyn:before,
.cl-link-image-shape .shape.nashville:after,
.cl-link-image-shape .shape.nashville:before,
.cl-link-image-shape .shape.lark:after,
.cl-link-image-shape .shape.lark:before,
.cl-link-image-shape .shape.moon:after,
.cl-link-image-shape .shape.moon:before,
.cl-link-image-shape .shape.clarendon:after,
.cl-link-image-shape .shape.clarendon:before,
.cl-link-image-shape .shape.brannan:after,
.cl-link-image-shape .shape.brannan:before,
.cl-link-image-shape .shape.kelvin:after,
.cl-link-image-shape .shape.kelvin:before,
.cl-link-image-shape .shape.maven:after,
.cl-link-image-shape .shape.maven:before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
    z-index: 2;
}
.cl-link-image-shape .shape.aden img,
.cl-link-image-shape .shape.inkwell img,
.cl-link-image-shape .shape.perpetua img,
.cl-link-image-shape .shape.reyes img,
.cl-link-image-shape .shape.gingham img,
.cl-link-image-shape .shape.hudson img,
.cl-link-image-shape .shape.earlybird img,
.cl-link-image-shape .shape.mayfair img,
.cl-link-image-shape .shape.lofi img,
.cl-link-image-shape .shape._1977 img,
.cl-link-image-shape .shape.brooklyn img,
.cl-link-image-shape .shape.nashville img,
.cl-link-image-shape .shape.lark img,
.cl-link-image-shape .shape.moon img,
.cl-link-image-shape .shape.clarendon img,
.cl-link-image-shape .shape.brannan img,
.cl-link-image-shape .shape.kelvin img,
.cl-link-image-shape .shape.maven img {
    position: relative;
    z-index: 1;
    width: 100%;
}

.aden { -webkit-filter: hue-rotate(-20deg) contrast(.9) saturate(.85) brightness(1.2); filter: hue-rotate(-20deg) contrast(.9) saturate(.85) brightness(1.2); }
.aden::after { background: linear-gradient(to right, rgba(66, 10, 14, .2), transparent); mix-blend-mode: darken; z-index: 3; }
.inkwell { -webkit-filter: sepia(.3) contrast(1.1) brightness(1.1) grayscale(1); filter: sepia(.3) contrast(1.1) brightness(1.1) grayscale(1); }
.perpetua::after { background: linear-gradient(to bottom, #005b9a, #e6c13d); opacity: .5; mix-blend-mode: soft-light; z-index: 3; }
.reyes { -webkit-filter: sepia(.22) brightness(1.1) contrast(.85) saturate(.75); filter: sepia(.22) brightness(1.1) contrast(.85) saturate(.75); }
.reyes::after { background: #efcdad; opacity: .5; mix-blend-mode: soft-light; z-index: 3; }
.gingham { -webkit-filter: brightness(1.05) hue-rotate(-10deg); filter: brightness(1.05) hue-rotate(-10deg); }
.gingham::after { background: #e6e6fa; mix-blend-mode: soft-light; z-index: 3; }
.hudson { -webkit-filter: brightness(1.2) contrast(.9) saturate(1.1); filter: brightness(1.2) contrast(.9) saturate(1.1); }
.hudson::after { background: radial-gradient(circle, #a6b1ff 50%, #342134); mix-blend-mode: multiply; opacity: .5; z-index: 3; }
.earlybird { -webkit-filter: contrast(.9) sepia(.2); filter: contrast(.9) sepia(.2); }
.earlybird::after { background: radial-gradient(circle, #d0ba8e 20%, #360309 85%, #1d0210 100%); mix-blend-mode: overlay; z-index: 3; }
.mayfair { -webkit-filter: contrast(1.1) saturate(1.1); filter: contrast(1.1) saturate(1.1); }
.mayfair::after { background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.8), rgba(255,200,200,.6), #111 60%); mix-blend-mode: overlay; opacity: .4; z-index: 3; }
.lofi { -webkit-filter: saturate(1.1) contrast(1.5); filter: saturate(1.1) contrast(1.5); }
.lofi::after { background: radial-gradient(circle, transparent 70%, #222 150%); mix-blend-mode: multiply; z-index: 3; }
._1977 { -webkit-filter: contrast(1.1) brightness(1.1) saturate(1.3); filter: contrast(1.1) brightness(1.1) saturate(1.3); }
._1977::after { background: rgba(243, 106, 188, .3); mix-blend-mode: screen; z-index: 3; }
.brooklyn { -webkit-filter: contrast(.9) brightness(1.1); filter: contrast(.9) brightness(1.1); }
.brooklyn::after { background: radial-gradient(circle, rgba(168,223,193,.4) 70%, #c4b7c8); mix-blend-mode: overlay; z-index: 3; }
.nashville { -webkit-filter: sepia(.2) contrast(1.2) brightness(1.05) saturate(1.2); filter: sepia(.2) contrast(1.2) brightness(1.05) saturate(1.2); }
.nashville::after { background: rgba(0, 70, 150, .4); mix-blend-mode: lighten; z-index: 3; }
.nashville::before { background: rgba(247, 176, 153, .56); mix-blend-mode: darken; z-index: 2; }
.lark { -webkit-filter: contrast(.9); filter: contrast(.9); }
.lark::after { background: rgba(242, 242, 242, .8); mix-blend-mode: darken; z-index: 3; }
.lark::before { background: #22253f; mix-blend-mode: color-dodge; z-index: 2; }
.moon { -webkit-filter: grayscale(1) contrast(1.1) brightness(1.1); filter: grayscale(1) contrast(1.1) brightness(1.1); }
.moon::before { background: #a0a0a0; mix-blend-mode: soft-light; z-index: 2; }
.moon::after { background: #383838; mix-blend-mode: lighten; z-index: 3; }
.clarendon { -webkit-filter: contrast(1.2) saturate(1.35); filter: contrast(1.2) saturate(1.35); }
.clarendon::before { background: rgba(127, 187, 227, .2); mix-blend-mode: overlay; z-index: 2; }
.brannan { -webkit-filter: sepia(.5) contrast(1.4); filter: sepia(.5) contrast(1.4); }
.brannan::after { background-color: rgba(161, 44, 199, .31); mix-blend-mode: lighten; z-index: 3; }
.kelvin::after { background: #b77d21; mix-blend-mode: overlay; z-index: 3; }
.kelvin::before { background: #382c34; mix-blend-mode: color-dodge; z-index: 2; }
.maven { -webkit-filter: sepia(.25) brightness(.95) contrast(.95) saturate(1.5); filter: sepia(.25) brightness(.95) contrast(.95) saturate(1.5); }
.maven::after { background: rgba(3, 230, 26, .2); mix-blend-mode: hue; z-index: 3; }

/* ---- Product modules (Soft biolink) ---- */
.cl-link-product,
.cl-link-product-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.cl-link-product .link-hover-animation,
.cl-link-product-card .link-hover-animation {
    transform-origin: center center;
}
.cl-link-product__card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 0.85rem;
    overflow: hidden;
    padding: 0.65rem 0.75rem 0.85rem;
}
.cl-link-product__media {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-decoration: none !important;
}
.cl-link-product__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0.65rem;
    object-fit: cover;
    background: rgb(23 18 28 / 0.06);
}
.cl-link-product__meta {
    margin-top: 0.45rem;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}
.cl-link-product__name,
.cl-link-product__price {
    display: inline;
    font-size: 1.05rem;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.cl-link-product__currency {
    margin-inline-start: 0.25rem;
    font-size: 0.9rem;
}

.cl-link-product-card__inner {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.85rem;
    overflow: hidden;
    border-style: solid;
}
.cl-link-product-card--straight { border-radius: 0; }
.cl-link-product-card--round { border-radius: 1.5rem; }
.cl-link-product-card--rounded { border-radius: 0.85rem; }
.cl-link-product-card__media {
    margin-bottom: 0.75rem;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.cl-link-product-card__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: inherit;
    box-sizing: border-box;
}
.cl-link-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.cl-link-product-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.45;
}
.cl-link-product-card__title-link {
    text-decoration: none !important;
    color: inherit;
}
.cl-link-product-card__desc {
    margin: 0.15rem 0 0;
    line-height: 1.7;
    font-size: 0.95rem;
    white-space: pre-wrap;
}
.cl-link-product-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.15rem;
}
.cl-link-product-card__variant {
    margin: 0;
    font-size: 0.95rem;
}
.cl-link-product-card__section,
.cl-link-product-card__row {
    padding: 0.35rem 0;
}
.cl-link-product-card__section.has-border,
.cl-link-product-card__row.has-border {
    border-bottom: 1px solid var(--cl-product-line, #000);
}
.cl-link-product-card__actions {
    margin-top: 0.65rem;
    text-align: center;
    position: relative;
    z-index: 2;
}
.cl-link-product-card__buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 0.65rem;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
}
.cl-link-product-card__stretch {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    /* Avoid text-indent:-9999px (causes RTL horizontal overflow) */
    color: transparent;
    font-size: 0;
    line-height: 0;
}

.cl-link-product-gallery {
    position: relative;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border-radius: 0.65rem;
}
.cl-link-product-gallery__track {
    position: relative;
    width: 100%;
}
.cl-link-product-gallery__slide {
    display: none;
    width: 100%;
}
.cl-link-product-gallery__slide.is-active {
    display: block;
}
.cl-link-product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.88);
    color: #17121c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgb(23 18 28 / 0.12);
}
.cl-link-product-gallery__nav--prev { right: 0.5rem; }
.cl-link-product-gallery__nav--next { left: 0.5rem; }
.cl-link-product-gallery__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.55rem;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    z-index: 2;
}
.cl-link-product-gallery__dot {
    width: 0.45rem;
    height: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgb(255 255 255 / 0.55);
    cursor: pointer;
}
.cl-link-product-gallery__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* ---- Custom HTML module (Soft biolink, isolated iframe) ---- */
.cl-link-html {
    width: 100%;
    max-width: 100%;
}
.cl-link-html__frame {
    display: block;
    width: 100%;
    min-height: 2rem;
    height: 12rem;
    border: 0;
    border-radius: 0.85rem;
    background: transparent;
    overflow: hidden;
}

/* ---- Ultimate media modules ---- */
.cl-link-video,
.cl-link-audio {
    width: 100%;
    max-width: 100%;
}
.cl-link-video__frame {
    width: 100%;
    overflow: hidden;
    border-radius: 0.95rem;
    background: #0f1218;
    box-shadow: 0 10px 28px rgb(23 18 28 / 0.14);
}
.cl-link-video__player {
    display: block;
    width: 100%;
    max-height: 70vh;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #0f1218;
}
.cl-link-video__caption {
    margin-top: 0.55rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: inherit;
    opacity: 0.88;
}

.cl-link-audio__card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgb(255 255 255 / 0.92) 0%, rgb(248 242 250 / 0.92) 100%);
    border: 1px solid rgb(23 18 28 / 0.08);
    box-shadow: 0 8px 22px rgb(23 18 28 / 0.08);
}
.cl-link-audio__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 0.85rem;
    background: #8b187414;
    color: #8b1874;
    font-size: 1.05rem;
}
.cl-link-audio__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.cl-link-audio__name {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cl-link-audio__player {
    width: 100%;
    height: 2.35rem;
}

.cl-link-pdf__frame {
    display: block;
    width: 100%;
    height: min(70vh, 34rem);
    border: 0;
    border-radius: 0.85rem;
    background: #f4f1f6;
}
.cl-link-pdf__download {
    margin-top: 1rem;
    width: 100%;
    text-decoration: none !important;
}
