/* NOR Repair CTA UI Pro v1.1 – Sustainable vs Outline card style */

/* Layout wrapper for the two CTAs */
.single-product .nor-repair-fresh-wrap .nor-cta-row{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}

@media (min-width:900px){
    .single-product .nor-repair-fresh-wrap[data-layout="auto"] .nor-cta-row,
    .single-product .nor-repair-fresh-wrap[data-layout="side"] .nor-cta-row{
        grid-template-columns:1fr 1fr;
    }
}

.single-product .nor-repair-fresh-wrap[data-layout="stacked"] .nor-cta-row{
    grid-template-columns:1fr;
}

/* Base card for both CTAs */
.single-product .nor-repair-fresh-wrap .nor-cta{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    width:100%;
    min-height:90px;
    padding:14px 18px;

    border-radius:8px;
    border:1px solid #d8dde8;
    background:#ffffff;
    box-shadow:0 1px 2px rgba(0,0,0,0.04);

    text-decoration:none !important;
    color:#182433 !important;

    transition:background .18s ease,
               border-color .18s ease,
               box-shadow .18s ease,
               transform .18s ease;
}

.single-product .nor-repair-fresh-wrap .nor-cta__title{
    font-size:15px;
    font-weight:700;
    margin-bottom:4px;
}

.single-product .nor-repair-fresh-wrap .nor-cta__sub{
    font-size:13px;
    line-height:1.4;
    color:#4d5b6c;
}

/* Highlighted "sustainable" card – Option to Repair */
.single-product .nor-repair-fresh-wrap .nor-cta--repair{
    --nor-accent: var(--nor-repair-bg, #2f7f3b);
    background:#f5fbf6;
    border-color:var(--nor-accent);
    box-shadow:0 0 0 1px var(--nor-accent);
}

/* Badge above repair card */
.single-product .nor-repair-fresh-wrap .nor-cta--repair::after{
    content:"Most sustainable option 🌿";
    position:absolute;
    top:-14px;
    left:50%;
    transform:translateX(-50%);
    padding:2px 9px;
    font-size:11px;
    font-weight:600;
    border-radius:999px;
    background:#dff4b4;
    color:#365118;
    border:1px solid #c8e59a;
}

/* Outline card – Request a Quote */
.single-product .nor-repair-fresh-wrap .nor-cta--quote{
    --nor-accent: var(--nor-quote-bg, #7b2b83);
    background:#ffffff;
    border-width:2px;
    border-color:var(--nor-accent);
    box-shadow:none;
}

/* Hover behaviour – keep text readable */
.single-product .nor-repair-fresh-wrap .nor-cta:hover{
    background:rgba(0,0,0,0.02);
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
    transform:translateY(-1px);
}

.single-product .nor-repair-fresh-wrap .nor-cta:hover .nor-cta__title,
.single-product .nor-repair-fresh-wrap .nor-cta:hover .nor-cta__sub{
    color:#182433 !important;
}

/* Note text under buttons */
.single-product .nor-repair-fresh-wrap .nor-repair-fresh-note{
    display:block;
    margin-top:6px;
    font-size:12px;
    opacity:.75;
}
