/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_CustomProductManagement
 * @author    Webkul Software Private Limited
 * @copyright Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */

.ribbon-tag {
    position: absolute;
    top: 21px;
    left: -50px;
    background: #00c851;
    color: white;
    padding: 10px 30px;
    transform: rotate(-45deg);
    font-size: 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 11rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.attr-value {
    display: inline-block;
    color: #222529;
    font-weight: 700;
}

.brand-label {
    color: #0088cc;
}

.view-price-btn {
    height: unset !important;
    padding: 0.5em 1em !important;
    font-size: 0.6em !important;
    line-height: 1.5rem !important;
}

.products-grid .view-price-btn {
    height: unset !important;
    font-size: 0.7em !important;
    line-height: 1.5rem !important;
    width: 100%;
}

.product-info-main .product-options-bottom {
    padding-left: unset;
}

.product-info-main .box-tocart .actions:not(.rfqform),
.product-info-main .box-tocart .actions:not(.productrequestform),
.product-info-main .box-tocart .actions:not(.messages) {
    margin: unset;
}

.product-info-main .box-tocart .actions:has(> .rfqform),
.product-info-main .box-tocart .actions:has(> .messages),
.product-info-main .box-tocart .actions:has(> .productrequestform) {
    margin: 0 9px 5px 0 !important;
}

.product-info-main .action.towishlist {
    margin-left: unset;
}

/** Check Stock Status Css Start**/
.check-stock {
    color: #0088cc;
    font-weight: 500;
}

.check-stock:hover {
    color: #222529;
    cursor: pointer;
}

#checkStockModalPopupTemplate {
    display: none;
}

.check-stock-wrapper {
    padding-top: 22px;
}

.box-tocart .actions {
    vertical-align: top;
}

.check-stock-modal.modal-slide .modal-inner-wrap {
    overflow: unset !important;
}

.check-stock-modal.modal-slide .modal-title {
    display: flex;
    justify-content: center;
}

.check-stock-modal.modal-slide .action-close {
    top: 12px !important;
}

.checkStockModalContainer .note {
    color: #ff0404;
}

.status-wrapper {
    margin-top: 1rem;
}

.status-wrapper,
.status-wrapper td,
.status-wrapper th {
    text-align: center;
}

.status-wrapper th {
    padding: 0.3rem;
}

.status-head {
    font-size: 1em;
    letter-spacing: -0.015em;
    font-weight: 700;
    color: white;
    background-color: #002a3a;
    padding: 0.7rem;
}

.status-wrapper thead {
    text-transform: uppercase;
    background-color: #e8e8e8;
}

.status-wrapper thead th {
    width: 33%;
}

.status-wrapper tbody tr {
    border-bottom: 1px solid #ededed;
}

.checkStockModalContainer {
    text-align: center;
}

@media screen and (max-width: 769px) {
    .check-stock-modal.modal-slide .modal-inner-wrap .modal-content {
        padding: 0 0.6rem 0.6rem 0.6rem;
    }
}

@media screen and (min-width: 769px) {
    .check-stock-modal.modal-slide .modal-inner-wrap {
        max-width: 775px;
    }
}

/** Check Stock Status Css End**/

.wk-seller-product-count::before,
.wk-seller-location-link::before,
.wk-ask-question-link #askque::before,
.wk-report-flag-link #reportflag::before {
    top: unset !important;
    font-size: 20px !important;
}

.wk-seller-rating-number:before,
.wk-seller-rating-number:after {
    font-size: 15px;
}

.wk-seller-block.wk-block {
    margin-top: 1rem !important;
}

.catalog-product-view .product-info-main .price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.catalog-product-view .product-info-main .discount-price {
    display: inline-block;
    font-size: 20px;
    line-height: 24px;
    padding: 0;
    color: #11b400;
    font-weight: 600;
    padding-left: 5px;
}

.catalog-product-view .product-info-main .old-price {
    margin-right: 0;
    padding: 5px 0px 5px 5px;
    padding-top: 2px;
}

.catalog-product-view .product-info-main .special-price-wrapper.simple .special-price {
    padding: 0 5px 0px 5px;
}

.catalog-product-view .product-info-main .gst-percent {
    color: #777;
    line-height: 22px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

body:not(.catalog-product-view) .gst-percent {
    color: #777;
    line-height: 22px;
    font-weight: 700;
    font-size: 12px;
}

body:not(.catalog-product-view) .discount-price {
    display: inline-block;
    font-size: 20px;
    line-height: 24px;
    padding: 0 10px;
    color: #d3031c;
    font-weight: 400;
}

body:not(.catalog-product-view) .product-info-main .discount-price {
    float: right;
}

body:not(.catalog-product-view) .product-info-main .old-price {
    float: left;
}

.action-close {
    margin-top: 15px !important;
}

.wk-seller-card-container.wk-card-type2 .wk-seller-card-details-content-block {
    font-size: 14px;
}

#grid_dynamic_rows .payment_days,
#grid_dynamic_rows .discount_percent {
    width: 46%;
}

#grid_dynamic_rows .col-actions.delete {
    width: 8%;
    text-align: center;
}

#grid_dynamic_rows .col-actions.delete .action-delete {
    font-size: 1.5em !important;
}

#grid_dynamic_rows .col-actions.delete .action-delete {
    padding: 6px 8px;
}

#grid_dynamic_rows input,
#grid_dynamic_rows select {
    font-size: 1em !important;
}

#layer-product-list a:visited,
#product-comparison a:visited,
#wishlist-view-form a:visited,
.filterproducts.products.list a:visited {
    color: #222529;
}

.product-custom-attributes {
    flex: 0 0 100%;
}

@media screen and (max-width: 1199px) and (min-width: 769px) {
    .products-grid.wishlist .box-tocart .action.tocart {
        font-size: 12px;
    }
}

@media (min-width: 992px) {
    .wishlist-index-index .products-grid .product-items .product-item {
        height: 38rem;
    }
}

/* .price-box:not(:has(.price-as-configured)) {
    margin-bottom: 42px !important;
} */

.price-box {
    min-height: 2em;
}

.limiter {
    gap: 5px;
}

.mp-brand-name-link {
    color: #2579c1;
    font-size: 20px;
    font-weight: 600;
}

/** Product name display in two lines if long **/
.product-item-name a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    min-height: calc(1.4em * 2);
}

/* .wk-brand-category-page {
    min-height: 5em;
} */

.listing-cat-ref-id {
    min-height: 2.4em;
}

.catalog-product-view .product-options-wrapper div.mage-error {
    position: unset;
}

.catalog-product-view .review-form div.mage-error {
    width: inherit;
    position: inherit;
}

.catalog-product-view .price-box.price-final_price:has(.old-price-wrapper.simple) {
    flex-direction: column;
}

.catalog-product-view .price-box.price-final_price:has(.special-price-wrapper.config) {
    flex-direction: column-reverse;
}

.catalog-product-view .product-info-price .price-box .price {
    color: #333;
    font-weight: 500;
}

.catalog-product-view .product-info-price .price-box .old-price .price {
    color: #333;
    font-weight: 500;
    font-size: 1.5rem;
}