/* ===========================
   UR Pricing – Global Styles
   =========================== */
.ur-pricing {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #111;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

.ur-pricing * {
    box-sizing: border-box
}

/* ===========================
   Toggle
   =========================== */
.ur-pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 28px
}

.ur-tgl-label {
    font-weight: 600;
    opacity: .6;
    transition: opacity .2s
}

.ur-tgl-label.active {
    opacity: 1
}

.ur-switch {
    position: relative;
    display: inline-block;
    width: 58px;
    height: 30px
}

.ur-switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.ur-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f1f2f6;
    border-radius: 999px;
    transition: .2s
}

.ur-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
    transition: .2s
}

.ur-switch input:checked+.ur-slider {
    background: #ff6aa5
}

.ur-switch input:checked+.ur-slider:before {
    transform: translateX(28px)
}

/* ===========================
   Cards (3 columns, center featured)
   =========================== */
.ur-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.ur-card {
    position: relative;
    background: #fff;
    border: 1px solid #f1e6ee;
    border-radius: 16px;
    padding: 26px 20px 18px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(255, 122, 170, .12);
    transition: max-height .35s ease, transform .2s, box-shadow .2s, border-color .2s;
    /* height behavior */
    overflow: hidden;
    /* hide overflow when collapsed */
    max-height: 610px;
    /* REST height as per design */
}

.ur-card:hover {
    max-height: 760px
}

/* expands smoothly on hover */
.ur-card.featured {
    transform: scale(1.04);
    box-shadow: 0 10px 32px rgba(255, 106, 165, .18);
    border-color: #ffc2db;
}

.ur-card.featured:hover {
    max-height: 820px
}

/* internals */
.ur-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6aa5;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(255, 106, 165, .3)
}

.ur-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px
}

.ur-price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    margin: 2px 0
}

.ur-currency {
    font-size: 18px;
    font-weight: 700
}

.ur-amount {
    font-size: 40px;
    line-height: 1;
    font-weight: 800
}

.ur-subtitle {
    font-size: 12px;
    color: #ff6aa5;
    margin-top: 4px;
    margin-bottom: 12px
}

.ur-features {
    list-style: none;
    padding: 0;
    margin: 10px 0 16px;
    text-align: left
}

.ur-features li {
    position: relative;
    padding-left: 18px;
    margin: 6px 0
}

.ur-features li:before {
    content: "•";
    position: absolute;
    left: 2px;
    color: #ff6aa5
}

.ur-cta {
    width: 100%;
    background: #ff6aa5;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 12px;
    font-weight: 700;
    cursor: pointer
}

.ur-cta:hover {
    filter: brightness(.95)
}

.ur-note {
    font-size: 11px;
    color: #aaa;
    margin-top: 8px
}

/* ===========================
   Compare Table
   =========================== */
.ur-compare {
    margin-top: 36px
}

.ur-compare__heading {
    font-family: "Georgia", serif;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px
}

.ur-compare__group {
    margin-top: 22px;
    border-radius: 12px;
    border: 1px solid #fde3ef;
    background: #fff
}

.ur-compare__group-title {
    background: #ffe6f2;
    border-bottom: 1px solid #fde3ef;
    border-radius: 12px 12px 0 0;
    padding: 10px 14px;
    font-weight: 700
}

.ur-compare__table {
    width: 100%
}

.ur-compare__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid #f6edf3;
    align-items: center
}

.ur-compare__row.ur-compare__head {
    font-weight: 700;
    background: #fff
}

.c-col.label {
    font-weight: 600
}

/* tick/dash icons */
.tick {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #111;
    border-radius: 50%;
    position: relative
}

.tick:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #111;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.dash {
    display: inline-block;
    width: 16px;
    height: 2px;
    background: #111;
    opacity: .4
}

/* ===========================
   Responsive
   =========================== */
/* On smaller screens stack cards; remove scale and height cap for no clipping */
@media (max-width: 960px) {
    .ur-cards {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .ur-card,
    .ur-card.featured {
        max-height: none;
        transform: none
    }

    .ur-compare__row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr
    }
}

/* For touch devices (no hover), always show full height */
@media (hover:none) {

    .ur-card,
    .ur-card.featured {
        max-height: none
    }
}

/* Extra small compare layout: label full width, plan values below */
@media (max-width: 560px) {
    .ur-compare__row {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto
    }

    .ur-compare__row .c-col.label {
        grid-column: 1/-1;
        border-bottom: 1px dashed #f0d7e5;
        margin-bottom: 6px;
        padding-bottom: 6px
    }
}