
.op-ssl-pricing,
.op-ssl-pricing * {
    box-sizing: border-box;
}

.op-ssl-pricing {
    --op-navy: #153b5a;
    --op-navy-dark: #0d2c44;
    --op-orange: #ff9d00;
    --op-orange-light: #ffb22c;
    --op-text: #303b4a;
    --op-muted: #85909d;
    --op-border: #e1e7ed;

    width: 100%;
    font-family: inherit;
}

.op-ssl-heading {
    max-width: 720px;
    margin: 0 auto 22px;
    text-align: center;
}

.op-ssl-label {
    display: inline-flex;
    margin-bottom: 11px;
    padding: 6px 15px;
    border: 1px solid rgba(255, 157, 0, .25);
    border-radius: 30px;
    color: #e48300;
    background: rgba(255, 157, 0, .08);
    font-size: 12px;
    font-weight: 800;
}

.op-ssl-heading h2 {
    margin: 0 0 8px;
    color: var(--op-navy);
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 900;
    line-height: 1.5;
}

.op-ssl-heading p {
    margin: 0;
    color: var(--op-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* Tabs */
.op-ssl-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 28px;
    padding: 5px;
    border: 1px solid var(--op-border);
    border-radius: 12px;
    background: #f5f7f9;
}

.op-ssl-tab {
    min-width: 145px;
    height: 43px;
    padding: 0 17px;
    border: 0;
    border-radius: 8px;
    color: #687484;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

.op-ssl-tab.active {
    color: #fff;
    background: var(--op-navy);
    box-shadow: 0 7px 17px rgba(21, 59, 90, .23);
}

/* Grid */
.op-ssl-grid {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 17px;
}

.op-ssl-grid.active {
    display: grid;
}

.op-ssl-grid[data-group="single"]
.op-ssl-card:nth-child(4),
.op-ssl-grid[data-group="single"]
.op-ssl-card:nth-child(5) {
    grid-column: span 1;
}

/* Cards */
.op-ssl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px 22px 23px;
    overflow: hidden;
    border: 1px solid var(--op-border);
    border-radius: 16px;
    background:
        linear-gradient(145deg, #fff 0%, #fbfcfd 100%);
    box-shadow: 0 10px 30px rgba(27, 55, 78, .05);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.op-ssl-card:hover {
    border-color: rgba(255, 157, 0, .55);
    box-shadow: 0 17px 38px rgba(27, 55, 78, .11);
    transform: translateY(-5px);
}

.op-ssl-featured {
    border: 2px solid var(--op-orange);
    background:
        radial-gradient(circle at 100% 0,
        rgba(255, 157, 0, .12), transparent 28%),
        #fff;
}

.op-ssl-popular {
    position: absolute;
    top: 0;
    left: 20px;
    padding: 6px 12px;
    border-radius: 0 0 8px 8px;
    color: #fff;
    background: var(--op-orange);
    font-size: 10px;
    font-weight: 900;
}

.op-ssl-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.op-ssl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    color: var(--op-orange);
    border-radius: 13px;
    background: rgba(255, 157, 0, .10);
}

.op-ssl-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.op-ssl-type {
    padding: 5px 9px;
    border-radius: 6px;
    color: var(--op-navy);
    background: #edf4f9;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    direction: ltr;
}

.op-ssl-card h3 {
    min-height: 26px;
    margin: 0 0 8px;
    color: var(--op-navy-dark);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
    direction: ltr;
    text-align: right;
}

.op-ssl-description {
    min-height: 50px;
    margin: 0 0 18px;
    color: var(--op-muted);
    font-size: 11px;
    line-height: 1.9;
}

/* Price */
.op-ssl-price-area {
    margin-bottom: 17px;
    padding: 16px;
    border-radius: 11px;
    background: #f5f8fa;
}

.op-ssl-old-price {
    margin-bottom: 5px;
    color: #a3acb6;
    font-size: 10px;
    text-decoration: line-through;
}

.op-ssl-price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.op-ssl-price strong {
    color: var(--op-navy);
    font-size: clamp(22px, 2vw, 27px);
    font-weight: 900;
    line-height: 1.3;
}

.op-ssl-price span {
    padding-bottom: 4px;
    color: var(--op-orange);
    font-size: 10px;
    font-weight: 800;
}

.op-ssl-price-area small {
    display: block;
    margin-top: 6px;
    color: #909aa5;
    font-size: 9px;
}

.op-ssl-extra-price {
    min-height: 43px;
    margin: -7px 0 15px;
    padding: 9px 11px;
    border: 1px dashed rgba(255, 157, 0, .45);
    border-radius: 8px;
    color: #7c8793;
    background: rgba(255, 157, 0, .05);
    font-size: 10px;
}

.op-ssl-extra-price strong {
    color: #e58400;
}

/* Order button */
.op-ssl-order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 47px;
    margin-bottom: 21px;
    border-radius: 8px;
    color: #fff !important;
    background: var(--op-navy);
    box-shadow: 0 8px 18px rgba(21, 59, 90, .18);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.op-ssl-order:hover {
    color: #fff !important;
    background: var(--op-orange);
    box-shadow: 0 10px 22px rgba(255, 157, 0, .28);
    transform: translateY(-2px);
}

.op-ssl-featured .op-ssl-order {
    background:
        linear-gradient(135deg,
        var(--op-orange-light), var(--op-orange));
    box-shadow: 0 9px 21px rgba(255, 157, 0, .25);
}

/* Features */
.op-ssl-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: auto 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #edf0f3;
    list-style: none;
}

.op-ssl-features li {
    position: relative;
    padding-right: 25px;
    color: var(--op-text);
    font-size: 11px;
    line-height: 1.7;
}

.op-ssl-features li::before {
    content: "✓";
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    color: #13a363;
    background: #dff7eb;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
}

/* Tablet */
@media (max-width: 1024px) {
    .op-ssl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    .op-ssl-tabs {
        width: 100%;
    }

    .op-ssl-tab {
        flex: 1;
        min-width: 0;
        padding: 0 8px;
        font-size: 11px;
    }

    .op-ssl-grid {
        grid-template-columns: 1fr;
    }

    .op-ssl-card {
        padding: 22px 17px;
    }

    .op-ssl-card h3,
    .op-ssl-description {
        min-height: auto;
    }

    .op-ssl-price strong {
        font-size: 23px;
    }
}

/* Plugin extensions: scoped to SSL cards; the supplied design remains intact. */
.op-ssl-pricing [hidden] { display: none !important; }
.op-ssl-pricing .op-ssl-card.op-ssl-featured { padding-top: 40px; }
.op-ssl-pricing .op-ssl-card h3 { min-height: 53px; overflow-wrap: anywhere; }
.op-ssl-pricing .op-ssl-description { font-size: 13px; color: #647181; min-height: 74px; }
.op-ssl-pricing .op-ssl-features li { font-size: 12px; }
.op-ssl-pricing .op-ssl-price-area small { font-size: 11px; color: #647181; }
.op-ssl-pricing .op-ssl-extra-price { font-size: 12px; line-height: 1.8; }
.op-ssl-pricing .op-ssl-tab { min-width: 170px; }
.op-ssl-pricing .op-ssl-features { margin-top: 0; flex: 1; }
.op-ssl-pricing .op-ssl-price { flex-wrap: wrap; }
.op-ssl-pricing .op-ssl-disabled { opacity: .6; cursor: default; }
.op-ssl-pricing .op-ssl-details { margin-top: 20px; border-top: 1px solid #edf0f3; padding-top: 14px; font-size: 12px; color: #526273; }
.op-ssl-pricing .op-ssl-details summary { cursor: pointer; color: var(--op-navy); font-weight: 700; line-height: 1.8; }
.op-ssl-pricing .op-ssl-details dt { margin-top: 12px; font-weight: bold; }
.op-ssl-pricing .op-ssl-details dd { margin: 4px 0 0; line-height: 1.9; }
.op-ssl-pricing .op-ssl-order:focus-visible, .op-ssl-pricing .op-ssl-tab:focus-visible, .op-ssl-pricing summary:focus-visible { outline: 3px solid #d57800; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .op-ssl-pricing * { transition: none !important; transform: none !important; } }
@media (max-width: 767px) {
  .op-ssl-pricing .op-ssl-tab { min-width: 0; height: auto; min-height: 43px; white-space: normal; line-height: 1.8; }
  .op-ssl-pricing .op-ssl-card h3, .op-ssl-pricing .op-ssl-description { min-height: 0; }
}
