#product-main {
    display: flex;
    column-gap: 30px;
    row-gap: 10px;
}

#product-main > div:nth-child(1) {
    flex: 0 0 280px;
}

#product-main > div:nth-child(2) {
    flex: 1 1 auto;
}

#product-main > div:nth-child(3) {
    flex: 0 0 320px;
}

@media (max-width: 1200px) {
    #product-main {
        flex-wrap: wrap;
    }
    #product-main > div:nth-child(1) {
        flex: 0 0 200px;
    }
    #product-main > div:nth-child(2) {

    }
    #product-main > div:nth-child(3) {
        width: 100%;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    #product-main > div:nth-child(2) {

    }
}

/* ******************************************** */

.product-img {
    width: 100%;
    height: auto;
}

.product-author {
    color: var(--primary-color, #137d7a);
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 12px;
    display: block;
}

.product-author:hover {
    color: var(--highlight-color, #ed6663);
}

.product-title {
    color: #333;
    font-weight: bold;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
}

#product-price-cards {

}

#product-price-cards .product-price-card {
    display: inline-block;
    width: 140px;
    height: auto;
    float: left;
    padding: 10px 5px;
    margin-top: 2px;
    text-align: center;
    border: 2px dashed var(--non-active-color, #98a5a2);
    cursor: pointer;
}

.product-price-card .product-price-card-title {
    line-height: 1;
    color: var(--primary-color, #137d7a);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
}

#product-price-cards .product-price-card:first-child {
    margin-right: 12px;
}

.product-price-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-price-container .base-price {
    color: var(--primary-color, #137d7a);
    display: inline;
    font-weight: bold
}

.product-price-container .strike {
    text-decoration: line-through;
    margin-right: 10px;
    color: #a8a8a8 !important;
    font-size: 14px
}

.product-price-container .sale-price {
    color: var(--primary-color, #137d7a);
    display: inline;
    font-weight: bold;
    font-size: 16px
}

.product-price-container .sale-price-promo {
    color: #d55750;
}

.product-price-container .sale-price .zero-price {
    font-weight: 400
}

.product-price-card .product-price-card-icon {
    margin-bottom: 5px;
    color: var(--primary-color, #137d7a);
}

.product-price-card .product-price-card-icon i {
    font-size: 50px;
}

.product-price-card .base-price {
    text-decoration: line-through;
    color: #a8a8a8 !important;
    font-weight: bold;
    height: 28px;
}

.product-price-card .sale-price {
    color: var(--primary-color, #137d7a);
    display: block;
    font-weight: bold;
}

.product-price-card .sale-price span:first-child {
    font-size: 28px;
}

.product-price-card .sale-price span:last-child {
    font-size: 14px;
}

.product-price-card .base-price span:first-child {
    font-size: 16px;
}

.product-price-card .base-price span:last-child {
    font-size: 12px;
}

.product-price-card .sale-price .zero-price {
    font-size: 18px;
    font-weight: 400;
}

#product-price-cards .card-active {
    border: 2px solid var(--primary-color, #137d7a);
}

#product-price-cards .card-active,
#product-price-cards .card-active .product-price-card-title,
#product-price-cards .card-active .product-price-card-icon,
#product-price-cards .card-active .sale-price {
    color: var(--primary-color, #137d7a);
    cursor: default;
}

#product-price-cards .product-price-card .sale-price-promo {
    color: #d55750;
}

.product-price-card .out-of-stock-label-card {
    line-height: unset;
}

.product-qty input {
    border-radius: 0;
    width: 78px;
    border-color: var(--primary-color, #137d7a);
}

#ebook-formats-list {
    display: none;
}

#ebook-formats-list > div {
    display: flex;
}

#ebook-formats-list .ebook-format {
    margin-right: 20px;
}

#ebook-formats-list .ebook-format label {
    margin-bottom: 0;
}

#product-actions-container {
    display: flex;
    height: 42px;
}

.product-actions-btn button,
.product-actions-btn a {
    background-color: rgba(213, 87, 80, 1);
    color: #FFF;
    padding: 6px 15px;
    font-weight: bold;
    border: 0;
    outline: 0;
    text-align: center;
}

.product-actions-btn a {
    display: block;
}

.product-actions-btn button:hover,
.product-actions-btn a:hover {
    background-color: rgba(213, 87, 80, 0.9);
}

.product-features {
    list-style: none;
    background-color: var(--primary-color, #137d7a);
    color: #fff;
    width: 100%;
    padding: 12px 20px;
}

.product-feature a,
.product-feature a:hover {
    color: #fff;
}

#product-description {
    margin-top: 20px;
}

.tab-content {
    padding: 20px;
    background-color: #f5f5f5;
}

.tab-content > .active {
    color: #000;
}

#product-description .nav-tabs {
    border-bottom: none;
}

#product-description .nav-tabs .nav-link.active {
    color: var(--primary-color, #137d7a);
    border-bottom: none;
    font-weight: bold;
    background-color: #f5f5f5;
}

#product-description .nav-tabs .nav-link {
    padding: 5px 15px;
    border: none;
}

#product-description #description p,
#product-description #description li {
    line-height: 24px;
}

.comment-box {
    padding: 12px 0 15px 0;
    border-bottom: 2px solid #ddd;
}

.comment-box .comment-author {
    font-weight: bold;
    font-size: 16px;
}

.comment-box .comment-date {
    font-size: 12px;
    margin-left: 5px;
    float: right;
}

.comment-box .comment-body {
    line-height: 1.5;
}

#comments .errors-container {
    width: 50%;
    margin: 25px 0 20px 0;
}

#comments-form {
    width: 50%;
}

/* ******************************************** */

@media (max-width: 992px) {
    #comments .errors-container,
    #comments-form {
        width: 100%;
    }
}

@media (max-width: 576px) {
    #product-main {
        justify-content: center;
    }

    #product-main > div:nth-child(2) {
        text-align: center;
    }

    #product-container .breadcrumbs {
        text-align: center;
    }

    #product-container .product-author {
        margin-bottom: 10px;
    }

    #product-container .product-qty input {
        margin: 0 auto;
    }

    #ebook-formats-list > div,
    #product-price-cards {
        display: flex;
        justify-content: center;
    }

    #product-price-cards {
        gap: 12px;
    }

    #product-price-cards .product-price-card:first-child {
        margin-right: 0;
    }

    #product-actions-container {
        justify-content: center;
    }

    .tab-content {
        padding: 20px 10px;
    }

    #product-description #description p,
    #product-description #description li {
        text-align: left !important;
    }
}