:root {
    --reseller-red: #d41a22;
    --reseller-lighter-red: #c85a61;
    --reseller-white: #ffffff;
    --reseller-gray: #777777;
}

.wg-reseller-toggler {
    position: fixed;
    top: calc(50% - 100px);
    right: -200px;
    width: 260px;
    z-index: 40;
    background: #ffffff;
    cursor: pointer;
    transition: right 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
    border: 1px solid #e3e3e3;
}

.wg-reseller-toggler:hover {
    right: 0;
}

.wg-reseller-toggler .toggler-container {
    position: relative;
}

.wg-reseller-toggler.reloading {
    right: -210px;
    transition: right 0.3s;
}

.wg-reseller-toggler.loading {
    pointer-events: none;
}

.wg-reseller-toggler .shop-customer-view {
    border-top: 1px solid #dddddd;
}

.wg-reseller-toggler .customer-view-icon {
    padding: 3px 7px;
    margin-right: 8px;
    line-height: 1;
    color: #9d9d9d;
}

.wg-reseller-toggler .customer-view-icon .material-icons {
    font-size: 37px;
}

.wg-reseller-toggler .active > .customer-view-icon > .material-icons,
.wg-reseller-toggler .active > .customer-view-icon:hover > .material-icons {
    background-color: var(--reseller-red);
    color: var(--reseller-white);
}

.wg-reseller-toggler .view-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 9px 3px;
}

.wg-reseller-toggler .view-label.active {
    cursor: default;
}

.wg-reseller-toggler .view-label:not(.active) {
    color: var(--reseller-red);
    text-decoration: underline;
    font-weight: 600;
}

.wg-reseller-toggler .view-label:not(.active):hover {
    color: #ffffff;
    background-color: var(--reseller-red);
}

.wg-reseller-toggler .view-label:not(.active):hover .customer-view-icon > .material-icons {
    color: #ffffff;
}

@media (max-width: 850px) {
    .wg-reseller-toggler .customer-view-icon .material-icons {
        font-size: 2.2em;
    }

    .wg-reseller-toggler {
        right: -206px;
        top: calc(50% - 70px);
    }

    .wg-reseller-toggler .view-label {
        padding: 6px 3px;
    }
}

/** archive page price display **/
.archive .wg-b2c-price-container {
    margin: 8px 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.archive .wg-b2c-price-container .oc-price-label,
.archive .wg-b2c-price-container .amount {
    color: #777;
    font-size: 12px;
    font-weight: normal;
    opacity: 1;
    white-space: nowrap;
}

.archive .wg-b2c-price-container .price del + ins .amount {
    color: #dd6d6d;
    font-weight: normal;
}

.archive .wg-b2c-price-container .price .amount > .rs-tt {
    color: #777;
    font-size: 12px;
    font-weight: normal;
}

.archive .price .amount > .rs-tt {
    font-weight: normal;
    font-size: 14px;
    color: #111;
}

/** single page price display **/
.single-product .product-summary .woocommerce-Price-currencySymbol {
    vertical-align: inherit;
    margin-top: 0;
}

.single-product .wg-b2c-price-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: normal;
    color: #777;
    margin-bottom: 12px;
}

.single-product .wg-b2c-price-container .price,
.single-product .wg-b2c-price-container .amount {
    font-size: 14px;
    font-weight: normal;
    color: #777;
    margin: 0;
}

.single-product .wg-b2c-price-container ins > .amount > bdi {
    color: var(--reseller-red);
    margin-left: 5px;
}

.single-product .wg-b2c-price-container .woocommerce-Price-currencySymbol {
    font-size: 14px;
    vertical-align: inherit;
    margin-top: 0;
}

.single-product .product-info .price-wrapper .wg-b2c-price-container + .price,
.single-product .product-info .price-wrapper .wg-b2c-price-container + .price .woocommerce-Price-currencySymbol {
    font-size: 24px;
}

.single-product .price > .rs-tt,
.single-product .price .amount > .rs-tt {
    font-weight: normal;
    color: #111;
}

.single-product .wg-b2c-price-container .price .amount > .rs-tt {
    color: #777;
}

/** related products slider **/
.flickity-slider .wg-b2c-price-container {
    color: #777;
    font-size: 12px;
    display: inline-block;
    margin: 5px 0;
}

.flickity-slider .wg-b2c-price-container .amount {
    font-weight: normal;
}

.flickity-slider .wg-b2c-price-container .amount > .rs-tt {
    font-size: 12px;
    font-weight: normal;
    color: #777;
}

.flickity-slider .price .amount > .rs-tt {
    font-weight: normal;
}

/** search result **/
.dgwt-wcas-suggestions-wrapp .wg-b2c-price-container .oc-price-label {
    font-size: 12px;
}

.dgwt-wcas-suggestions-wrapp .wg-b2c-price-container .price,
.dgwt-wcas-suggestions-wrapp .wg-b2c-price-container .amount {
    font-size: 12px;
    font-weight: normal;
    color: #777;
    margin: 0;
}

.dgwt-wcas-sp > .wg-b2c-price-container {
    line-height: 100%;
    display: inline-block;
    margin-bottom: 5px;
}

.dgwt-wcas-sp > .wg-b2c-price-container * {
    line-height: 100%;
}

.dgwt-wcas-details-space .wg-b2c-price-container {
    display: block;
    font-size: 14px;
}

.dgwt-wcas-details-space .wg-b2c-price-container .oc-price-label {
    font-weight: normal;
}

.dgwt-wcas-details-space .wg-b2c-price-container .price,
.dgwt-wcas-details-space .wg-b2c-price-container .amount {
    font-size: 14px;
    font-weight: normal;
    color: #777;
    margin: 0;
}

/** reseller application form **/
.wg-reseller-notice {
    margin-top: 50px;
    margin-bottom: 100px;
}

.gfield_validation_message .highlighted {
    text-decoration: underline;
    color: #c02b0a;
}


/** admin bar icon styles **/
#wpadminbar .wg-webgurus-reseller-admin-btn .ab-item {
    padding-left: 30px;
    position: relative;
    color: #d41a22;
}

#wpadminbar .wg-webgurus-reseller-admin-btn .dashicons-businessman:before {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 5px;
    color: #d41a22;
}

/** data feed **/
.wg-data-feed-container .entry-divider {
    margin-bottom: 70px;
}