/* ==========================================================================
   Codejock Product Hero
   Reusable product hero treatment for legacy Bootstrap 3 pages
   ========================================================================== */

.product-hero {
    padding: 45px 0 35px;
}

.product-hero-row {
    display: flex;
    align-items: center;
}

.product-hero-media img.img-responsive {
    margin: 0 auto;
}

.product-hero-copy .details {
    max-width: 620px;
    padding: 32px 36px;
/*
    background: rgba(255, 255, 255, .5);
    border: 1px solid #c5ccd8;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
*/
    margin-bottom: 28px;
}

.product-hero-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.product-hero-award-card {
    width: 74px;
    height: auto;
    margin-left: 18px;
    flex: 0 0 auto;
}

.product-hero .details h2 {
    color: #2b2f36;
    font-size: 44px;
    line-height: 48px;
    font-weight: 700;
    letter-spacing: -4px;
    margin-bottom: 4px !important;
}

.product-hero-version {
    color: #6b7280 !important;
    margin-bottom: 0;
    font-size: 15px;
}

.product-hero .details p {
    color: #4b5563 !important;
    font-size: 15px;
    line-height: 22px;
}

.product-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.product-hero-actions > a.btn,
.product-hero-actions > .product-hero-form {
    flex: 1 1 0;
    width: 50%;
}

.product-hero-form {
    display: block;
    padding: 0;
    margin: 0 !important;
}

.product-hero-actions > a.btn,
.product-hero-form > button.btn {
    display: block;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    text-align: center;
}

.product-hero-points {
    margin-top: 18px;
    color: #6b7280;
}

.product-hero-points span {
    display: inline-block;
    margin-right: 16px;
}

.product-hero-points i {
    color: #1f66b5;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .product-hero {
        padding: 35px 0;
    }

    .product-hero-row {
        display: block;
    }

    .product-hero-media {
        margin-bottom: 25px;
    }

    .product-hero-copy .details {
        max-width: none;
    }

    .product-hero .details h2 {
        font-size: 36px;
        line-height: 40px;
        letter-spacing: -3px;
    }
}

@media (max-width: 767px) {
    .product-hero-copy .details {
        padding: 26px 24px;
    }

    .product-hero-title-row {
        align-items: flex-start;
    }

    .product-hero-award-card {
        width: 64px;
        margin-right: 14px;
    }

    .product-hero-actions {
        display: block;
    }

    .product-hero-actions > a.btn,
    .product-hero-actions > .product-hero-form {
        width: 100%;
    }

    .product-hero-actions > a.btn,
    .product-hero-form > button.btn {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
    }

    .product-hero-points span {
        display: block;
        margin: 0 0 6px 0;
    }
}
/* ==========================================================================
   Product Feature Rows
   Reuses home page feature-row / feature-card / feature-image-wrap structure
   ========================================================================== */

.product-feature-section {
    padding: 55px 0;
    background: #fff;
}

.product-feature-row {
    margin-bottom: 50px;
}

.product-feature-row .feature-card {
    padding: 34px 36px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #ccc;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.product-feature-row .feature-card-eyebrow {
    margin-bottom: 12px;
    color: #1f66b5;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.product-feature-row .feature-card h3 {
    margin: 0 0 14px;
    color: #2b2f36;
    font-size: 28px !important;
    line-height: 34px;
    font-weight: 700 !important;
    letter-spacing: -1px;
}

.product-feature-row .feature-card p {
    margin: 0 0 22px;
    color: #5f6b7a;
    font-size: 16px;
    line-height: 24px;
}

.product-feature-row .feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-feature-row .feature-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 30px;
    color: #5f6b7a;
    font-size: 14px;
    line-height: 22px;
}

.product-feature-row .feature-list li:last-child {
    margin-bottom: 0;
}

.product-feature-row .feature-list i {
    position: absolute;
    top: 3px;
    left: 0;
    color: #1f66b5;
}

.product-feature-row .feature-list strong {
    color: #2b2f36;
    font-weight: 700;
}

.product-feature-row .feature-card .btn {
    float: none;
    margin: 24px 0 0 !important;
}

.product-feature-row .feature-image-col {
    display: flex;
}

.product-feature-row .feature-image-wrap {
    width: 100%;
    min-height: 100%;
}

.product-feature-row .feature-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    color: #7b8796;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background: #eef2f7;
    border: 1px dashed #b9c2cf;
    border-radius: 14px;
}

.feature-gallery-items {
    display: none;
}

/* ==========================================================================
   Feature Image Modal / Gallery
   ========================================================================== */

.feature-gallery-items {
    display: none;
}

.feature-image-modal .modal-dialog {
    width: calc(100% - 40px);
    max-width: 1120px;
    margin: 30px auto;
}

.feature-image-modal .modal-content {
    background: #1f1f1f;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
}

.feature-modal-stage {
    position: relative;
    background: #111;
}

.feature-image-modal .modal-body {
    position: relative;
    padding: 0;
    background: #111;
    text-align: center;
}

.feature-image-modal .modal-body img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 170px);
    margin: 0 auto;
}

.feature-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    border: 0;
    border-radius: 4px;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    opacity: 1;
    transition: background-color .2s ease, opacity .2s ease;
}

.feature-modal-close:hover,
.feature-modal-close:focus {
    color: #fff;
    background: rgba(0, 0, 0, .7);
    outline: none;
}

.feature-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 15;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 0;
    color: #fff;
    background: rgba(0, 0, 0, .42);
    border: 0;
    border-radius: 4px;
    font-size: 20px;
    line-height: 46px;
    text-align: center;
    opacity: .95;
    transition: background-color .2s ease, opacity .2s ease;
}

.feature-modal-nav:hover,
.feature-modal-nav:focus {
    color: #fff;
    background: rgba(0, 0, 0, .7);
    outline: none;
}

.feature-modal-prev {
    left: 14px;
}

.feature-modal-next {
    right: 14px;
}

.feature-modal-nav i {
    margin: 0;
    padding: 0;
}

.feature-modal-footer {
    padding: 12px 18px 14px;
    text-align: center;
    background: #2f2f2f;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.feature-modal-title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0;
}

.feature-modal-caption {
    margin: 0 0 11px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.feature-modal-indicators {
    display: inline-block;
}

.feature-modal-indicator {
    display: inline-block;
    width: 28px;
    height: 3px;
    margin: 0 3px;
    padding: 0;
    background: rgba(255, 255, 255, .35);
    border: 0;
    border-radius: 999px;
    vertical-align: middle;
    transition: background-color .2s ease;
}

.feature-modal-indicator:hover,
.feature-modal-indicator:focus {
    background: rgba(255, 255, 255, .75);
    outline: none;
}

.feature-modal-indicator.active {
    background: #fff;
}

@media (max-width: 767px) {
    .feature-image-modal .modal-dialog {
        width: auto;
        margin: 10px;
    }

    .feature-image-modal .modal-body img {
        max-height: calc(100vh - 150px);
    }

    .feature-modal-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 24px;
        line-height: 36px;
    }

    .feature-modal-nav {
        width: 40px;
        height: 40px;
        margin-top: -20px;
        font-size: 18px;
        line-height: 40px;
    }

    .feature-modal-prev {
        left: 8px;
    }

    .feature-modal-next {
        right: 8px;
    }

    .feature-modal-footer {
        padding: 12px 12px 14px;
    }

    .feature-modal-title {
        font-size: 16px;
    }

    .feature-modal-caption {
        font-size: 13px;
        line-height: 1.45;
    }

    .feature-modal-indicator {
        width: 22px;
        height: 3px;
        margin: 0 2px;
    }
}

/*-- compatibility --*/

.compat-section {
    padding: 56px 0 64px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.compat-header {
    max-width: 900px;
    margin: 0 auto 36px;
}

.compat-header h2 {
    margin: 0 0 10px;
    font-size: 38px;
    font-weight: 300;
    color: #1f2937;
}

.compat-header p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #667085;
}

.compat-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.compat-card {
    padding: 26px 24px 22px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.compat-card-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(70, 99, 172, 0.10);
    color: #4663ac;
    font-size: 20px;
    line-height: 46px;
    text-align: center;
}

.compat-card h3 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.compat-card-subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    color: #6b7280;
}

.compat-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.compat-list li {
    padding: 8px 0;
    border-top: 1px solid #eef2f7;
    font-size: 15px;
    line-height: 1.5;
    color: #334155;
}

.compat-list li:first-child {
    border-top: 0;
}

.compat-list li span {
    color: #64748b;
}

.compat-list-legacy {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed #d7dee8;
}

.compat-list-min li strong {
    color: #1f2937;
}

.compat-toggle {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #4663ac;
    text-decoration: none;
}

.compat-toggle:hover,
.compat-toggle:focus {
    color: #2f4f97;
    text-decoration: none;
}

.compat-collapse {
    margin-top: 2px;
}

.compat-card-min {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

@media (max-width: 991px) {
    .compat-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .compat-section {
        padding: 42px 0 48px;
    }

    .compat-header {
        margin-bottom: 28px;
    }

    .compat-header h2 {
        font-size: 28px;
    }

    .compat-header p {
        font-size: 16px;
    }

    .compat-card {
        padding: 22px 20px 18px;
        border-radius: 12px;
    }

    .compat-card h3 {
        font-size: 22px;
    }
}
