:root{
    --blue:#0077b6;        /* Thinnex primary */
    --blue-d:#005f8a;
    --text:#0b0b0b;
    --muted:#5e5e5e;
    --border:#ddd;
    --shadow:0 6px 20px rgba(0,0,0,.06);
    --radius:12px;
    --thx-green:#007F5F;
    --thx-ink:#0e1c19;
    --thx-muted:#6a7b78;
    --thx-bg:#ffffff;
}

.thx-disclaimer{
    text-align:center; font-size:12px; color:var(--thx-muted);
    margin:0 10px 12px;
}

    /* Tooltip container */
.info-icon {
    position: relative;
    display: inline-block;
    font-size: 0.8rem;
    margin-left: 4px;
    cursor: pointer;
}

/* Tooltip text */
.info-icon .tooltip-text {
    visibility: hidden;
    width: 160px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above icon */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.info-icon .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* bottom of tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

/* Show tooltip on hover or focus */
.info-icon:hover .tooltip-text,
.info-icon:focus .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.product_card {
    background-image: url("../_checkout_partials/assets/sema-vial-radio.png");
    background-position: 120% 0%;
    background-repeat: no-repeat;
    background-size: 50%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 15px;
    position: relative;
    min-height: 280px;
    margin: 10px;
}

.product_card_tirz {
    background-image: url("../_checkout_partials/assets/tirzep-vial-radio.png");
    background-position: 135% 0%;
    background-repeat: no-repeat;
    background-size: 50%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 15px;
    position: relative;
    min-height: 280px;
    margin: 10px;
}

 .badge{
        position:absolute; top:-12px; left:18px;
        font-size:12px; font-weight:800; color:#fff;
        background:var(--blue); padding:6px 10px; border-radius:8px;
    }

.badge.green{ background:#25a244; }

.product_title{ font-size:24px; font-weight:800; margin:4px 0 6px; }

.product_subtitle{ font-size:12px; color:var(--muted); line-height:1.35; margin-bottom:12px; }

 ul{ list-style:none; padding:0; margin:0 0 0; }

li{ display:flex; align-items:flex-start; gap:8px; margin:8px 0; }

li:before{ content:"✓"; color:var(--blue); font-weight:900; margin-top:1px; }

.product_compare{ font-weight:600; margin:5px 0 0;}

.product_price{ font-weight:800; margin:10px 0 0; text-align: center; }

.cta{ margin-top:auto; }

.product-type-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #007f5f;
    color: #fff;
    border: none;
    border-radius: 0px !important;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 127, 95, 0.3);
    transition: background 0.3s, transform 0.2s;
}

.product-type-btn:hover {
    background: #005f47;
    transform: translateY(-2px);
}
/* === Main Swiper Styles === */
.swiper {
    width: 100%;
    height: 100%;
}

/* KEY FIX: This is the main change.
  We tell the flex container to stack items vertically.
*/
.swiper-slide {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: flex-start; /* Align to the top */
    align-items: center; /* Center horizontally */
    background: var(--thx-bg); /* Use your card's background */
    height: auto; /* Let the content define the height */
    border-radius: 14px;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* === Your Custom Card Styles (thx-*) === */
.thx-story-carousel.compact {
    font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    max-width: 740px;
    margin: 24px auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    /* Swiper handles overflow, so remove it from here */
    position: relative; /* Needed for positioning arrows */
}

/* Card styles are now mostly on .swiper-slide */
.thx-card {
    /* Most styles moved to .swiper-slide */
    gap: 10px;
}

.thx-media {
    position: relative;
    width: 100%;
    border-bottom: 3px solid var(--thx-green);
}

.thx-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.thx-arrow-left,
.thx-arrow-right {
    position: absolute;
    top: 20%; /* Adjust vertical position */
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--thx-green);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    opacity: .95;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Ensure arrows are on top */
}

.thx-arrow-left {
    left: 10px;
}

.thx-arrow-right {
    right: 10px;
}

.thx-arrow-right:focus-visible,
.thx-arrow-left:focus-visible {
    outline: 2px solid #fff;
}

.thx-info {
    padding: 10px 14px 12px;
    text-align: center;
    overflow-wrap: anywhere;
}

.thx-info h3 {
    margin: 0 !important;
    font-weight: 800;
    color: var(--thx-ink);
    font-size: 16px;
}

.loc {
    color: var(--thx-muted);
    font-weight: 700;
    font-size: 13px;
}

.numbers {
    margin: 6px 0 6px;
    font-weight: 700;
    font-size: 14px;
}

.highlight {
    color: var(--thx-green);
    font-weight: 800;
    font-size: 14px;
    margin: 0 0 8px;
    padding:10px;
}

.blockquote {
    margin: 0;
    padding: 10px 12px;
    background: #f3faf6;
    border-left: 3px solid var(--thx-green);
    border-radius: 8px;
    color: #24312f;
    line-height: 1.35;
    font-size: 14px;
    text-align: left;
}

@media (max-width:420px) {
    .thx-story-carousel.compact {
        max-width: 92%;
        margin: 16px auto;
    }
    .thx-media img {
        max-height: 220px;
        aspect-ratio: 4 / 3;
    }
    .thx-arrow-left,
    .thx-arrow-right {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    .thx-info {
        padding: 8px 10px 10px;
    }
    .blockquote {
        font-size: 13.5px;
    }



}