body.woocommerce #content div.product div.summary .points-earning-info,
.woocommerce-checkout .points-earning-info{
    color: #000;
    height: auto;
    line-height: 29px;
    background: #FBF5ED;
    font-size: 16px;
    padding: 10px 15px;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
}
body.woocommerce #content div.product div.summary .points-earning-info span.login-panel,
.woocommerce-checkout .points-earning-info span.login-panel{
    font-size: 16px;
    color: #A98250;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
}
.woocommerce-checkout .points-earning-info{
    width: 48%;
}
@media screen and (max-width: 991px) {
    .woocommerce-checkout .points-earning-info{
        width: 100%;
    }
}
.points-earning-info small {
    display: block;
    font-size: 16px;
    background: url(../images/points.svg) right 9px no-repeat;
    padding-right: 20px;
}
.bottom-part .points-earning-info,
.product-upsell-list .points-earning-info{
    display:none;
}
.mini-cart-points-info {
    color: #000;
    height: auto;
    line-height: 29px;
    background: #FBF5ED;
    font-size: 16px;
    padding: 1px 20px;
    margin-bottom: -8px;
    width: 100%;
}
.mini-cart-points-info p {
    margin: 0;
    margin-left: 5px;
    color: #000;
    font-size: 16px;
    display: inline-block;
}
.mini-cart-points-info .points-earning:not(.login-panel){
    background: url(../images/points.svg) right 8px no-repeat;
    padding-right:18px;
}
.mini-cart-points-info p.login-panel{
    font-size: 16px;
    color: #A98250;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
}
.mini-cart-points-info .points-earning {
    margin-bottom: 3px;
}
.mini-cart-points-info .points-login-prompt {
    font-style: italic;
    font-size: 0.8em;
}
.mini-cart-points-info small {
    display: block;
    font-size: 14px;
}
.checkout-points-info {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 4px;
}
.checkout-points-info p {
    margin: 0;
    color: #666;
}
.checkout-points-info .points-earning {
    margin-bottom: 3px;
}
.checkout-points-info small {
    display: block;
    font-size: 0.9em;
}
.my-points-wrapper {
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: none;
    max-width: 100%;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    gap: 150px;
}
.my-points-wrapper .points-right{
    width: 65%;
}
.my-points-wrapper .points-left{
    width: 35%;
}
/* Welcome section */
.points-header {
    margin-bottom: 15px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
.points-header h2 {
    margin: 0 0 10px;
    color: #000;
    font-size: 18px;
    font-weight: normal;
    text-align: right;
}
.points-balance {
    display: block;
    padding: 0;
    background: white;
    border-radius: 0;
    box-shadow: none;
    text-align: right;
}
.points-balance h3 {
    margin: 0 0 15px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    background: url(../images/points.svg) right 8px no-repeat;
    padding-right: 20px;
}
.points-number {
    font-size: 50px;
    font-weight: bold;
    color: #000;
    margin-right: 0;
    display: block;
    margin-bottom: 20px;
}
.points-history-block{
    margin-top: 65px;
}
.points-expiry-warning {
    background-color: transparent;
    color: #000;
    padding: 8px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    box-shadow: 0px 2px 10px 0px #00000029;
    max-width: fit-content;
    font-size: 18px;
}
.points-expiry-warning .dashicons {
    display:none;
}
.points-rate {
    color: #966D3A;
    font-size: 14px;
    background: #F8EDE0;
    padding: 5px 10px;
    border-radius: 0;
    font-weight:bold;
}
/* Main content layout */
.points-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 30px;
}
/* History table section */
.points-history {
    grid-column: 1 / -1;
    /* Full width */
    margin-bottom: 30px;
}
.points-history h3 {
    color: #000;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: none;
    font-weight: 600;
}
.points-history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:none;
}
.points-history-table th {
    background: transparent;
    color: #000;
    font-weight: 600;
    padding: 15px;
    text-align: right;
    font-size: 18px;
    border-bottom: 1px solid #eee;
}
.points-history-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.points-history-table tr:last-child td {
    border-bottom: none;
}
.points-history-table tr:hover td {
    background: #f8f9fa;
}
.points-history-table .positive {
    color: #28a745;
    font-weight: 500;
}
.points-history-table .negative {
    color: #dc3545;
    font-weight: 500;
}
/* Benefits section */
.points-summary {
    background: #F2F2F2;
    padding: 25px;
    border-radius: 0;
    box-shadow: none;
    height: fit-content;
}
.points-summary h3 {
    color: #000;
    font-size: 20px;
    margin: 0 0 20px;
    padding-bottom: 0;
    border-bottom: none;
}
.points-summary p {
    color: #000;
    font-size: 18px;
    line-height: normal;
    margin-bottom: 0;
}
.points-totals {
    margin-top: 20px;
    padding: 0;
    background:transparent;
    border-radius: 8px;
}
.points-totals p {
    margin: 8px 0;
    font-size:18px;
    color: #000;
}
/* Referral section */
.referral-section {
    margin-top: 20px;
    padding: 25px;
    background: #FBF5ED;
    border-radius: 0;
    box-shadow: none;
}
.referral-section h3 {
    color: #000;
    font-size: 20px;
    margin: 0 0 20px;
    padding-bottom: 0;
    border-bottom: none;
}
.referral-section p {
    color: #000;
    font-size: 18px;
    line-height: normal;
    margin-bottom: 20px;
}
.referral-actions {
    display: flex;
    gap: 12px;
}
.referral-actions button {
    flex: 1;
    padding: 12px 20px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.referral-actions button.share-link:before,
.referral-actions button.copy-link:before{
    display:none
}
.referral-actions button.share-link span{
    background: url(../images/share-link.svg) 0 3px no-repeat;
    padding-left: 24px;
}
.referral-actions button.copy-link span{
    background: url(../images/copy-link.svg) 0 3px no-repeat;
    padding-left: 24px;
}
.referral-actions button.share-link{
    background:#000000
}
.referral-actions button.copy-link{
    background: transparent;
    border: 1px solid #000 !important;
    color: #000;
}
.share-link {
    background: #2271b1;
    color: white;
}
.copy-link {
    background: white;
    color: #2271b1;
    border: 2px solid #2271b1 !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .points-content {
        grid-template-columns: 1fr;
    }
    .points-summary {
        order: -1;
        /* Move benefits above table on mobile */
    }
}
@media (max-width: 768px) {
    .my-points-wrapper {
        padding: 0;
    }
    .points-header {
        padding: 0;
        padding-top: 15px;
    }
    .points-balance {
        padding: 0;
    }
    .referral-actions {
        flex-direction: column;
    }
    .points-expiry-warning{
        font-size: 16px;
    }
    .points-history-block {
        margin-top: 35px;
    }
    .points-history h3{
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .points-history-table{
        margin-top: 23px;
    }
    .points-history-table th{
        font-size: 15px;
    }
    .points-history-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        font-size: 13px;
        line-height: 19px;
    }
    .my-points-wrapper .points-left {
        width: 100%;
    }
}

.points-message {
    position: fixed;
    right: 0;
    left: auto;
    bottom: -300px;
    transition: opacity 0.6s ease-out, bottom 0.6s ease-out;
    background: #A98250;
    width: 303px;
    height: auto;
    border-radius: 0;
    z-index: 30;
}
.points-message.active {
    bottom: 0;
    opacity: 1;
}
.points-message-inner {
    display: flex
;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
    gap: 3px;
    font-size: 14px;
}
.points-message-inner {
    padding-top: 35px;
    padding-bottom: 25px;
    color: #fff;
    text-align: center;
}
.points-message-inner .title{
    font-size: 24px;
    display:block!important
}
.points-message-inner .text{
    font-size: 17px;
    line-height: 19px;
}
.points-message .points-message-inner {
    position: relative;
}
.points-message .close {
    background: url(../images/points-pop-close.svg) 0 0 no-repeat;
    width: 20px;
    height: 21px;
    right: 10px;
    top: 11px;
    cursor: pointer;
    position:absolute;
}
.points-message-inner a {
    color: #000;
    font-family: 'oc-child-theme-bold';
    text-decoration: none;
    font-size: 18px;
    background: #F5F3F1;
    width: 230px;
    height: 48px;
    margin-top: 20px;
    line-height: 48px;
    border-radius: 50px;
}
.woocommerce table.shop_table tfoot tr.points-redemption td,
.woocommerce-checkout-review-order-table tr.coupon-form td{
    text-align: right;
    display: block;
}
body .woocommerce table.shop_table tr.coupon-form td .coupon-form{
    flex-direction: column;text-align: right;gap: 34px;
}
body .woocommerce table.shop_table tr.coupon-form td .coupon-form input[type='text']{
    width: 100%;
    border: 1px solid #E5E3E1;
    border-radius: 4px;
    font-size: 16px;
}
body .woocommerce table.shop_table tr.coupon-form td .coupon-form button{
    max-width: none;
    width: 100%;
    border: 1px solid #000000;
    color: #000;
    background-color: transparent;
}
body .woocommerce table.shop_table tr.coupon-form td .coupon-form button:before{
    background: transparent;
}
.woocommerce table.shop_table tr.coupon-form td .coupon-form .p-title{
    font-size: 18px;
    font-weight: 600;
}
.woocommerce table.shop_table tr.points-redemption td{
    border-bottom:none;
}
.woocommerce-checkout-review-order-table tr.coupon-form,
.woocommerce-checkout-review-order-table .points-redemption{
    display: inline-block!important;
    width: 50%!important;
    vertical-align: top;
}
.woocommerce-checkout-review-order-table .points-redemption{
    padding-left: 16px;
}
.woocommerce-checkout-review-order-table tr.coupon-form{
    padding-right: 16px;
}
.woocommerce-checkout-review-order-table .points-redemption td{
    width: 100%;
    display: block;
}
.points-available .p-title{
    font-size:18px;
    font-weight:600;
    background: url(../images/points.svg) right 5px no-repeat;
    padding-right: 20px;
}
.points-slide{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slide-container{
    position: relative;
    width: 82%;
}
button#apply-points-btn,
button#remove-points-btn{
    margin-top: 45px;
    width: 100%;
    max-width: none;
    height: 40px;
}
button#apply-points-btn:before,
button#remove-points-btn:before{
    background: #A98250;
}
.points-slide .ui-slider{
    width: 100%;
}
.points-slide .ui-slider-range{
    background-color: #B6B6B6;
    height: 2px;
    border-radius: 2px;
}
.points-slide .ui-slider{
    border: none;
    background-color: #000;
    border-radius: 2px;
    height: 2px;
}
.points-input-group{
    margin-top: 15px;
}
.points-slide .ui-state-default{
    background-color: #A98250;
}
.points-slide #sliderValue{
    position: absolute;
    box-shadow: 0px 4px 4px 0px #00000040;
    bottom: -40px;
    z-index: 10;
    background: #fff;
    padding: 2px 7px;
    font-weight: bold;
    font-size: 16px;
    left: 0;
    margin-left: -32px;
    min-width: 83px;
    text-align: center;
}
.points-slide .disabled .ui-state-default {
    background-color: #B6B6B6;
    border-color: #B6B6B6;
}
.points-slide .disabled .ui-slider{
    background-color: #B6B6B6;
}
body:not(.logged-in) .woocommerce-checkout-review-order-table tr.coupon-form,
body.zero-points .woocommerce-checkout-review-order-table tr.coupon-form{
    padding-right: 0;
    width: 100% !important;
}
body:not(.logged-in) .woocommerce table.shop_table tr.coupon-form td .coupon-form,
body.zero-points .woocommerce table.shop_table tr.coupon-form td .coupon-form{
    gap: 11px;
    position: relative;
}
body:not(.logged-in) .woocommerce table.shop_table tr.coupon-form td .coupon-form button,
body.zero-points .woocommerce table.shop_table tr.coupon-form td .coupon-form button{
    position: absolute;
    width: 160px;
    left: 0;
    bottom: 0;
    height: 39px;
    background: #fff;
}
body.zero-points .woocommerce-checkout-review-order-table .points-redemption{
    display:none!important
}
.oc-points-my-account .woocommerce-MyAccount-navigation{
    display: none;
}
.oc-points-my-account.woocommerce-account .woocommerce-MyAccount-content{
    width: 100%;
    margin-top: 0;
    padding-right: 0;
}
.oc-points-my-account .site-main .title,
.oc-points-my-account p#breadcrumbs{
    display:none;
}
@media only screen and (max-width: 767px) {
    .my-points-wrapper{
        gap: 20px;
        flex-direction: column;
    }
    .points-earning-info small{
        background-position:right 8px;
    }
    .mini-cart-points-info .points-earning:not(.login-panel){
        margin: 0;
    }
    .mini-cart-points-info .points-earning.login-panel{
        padding-right: 18px;
        margin: 0;
    }
    body:not(.logged-in) .woocommerce table.shop_table tr.coupon-form td .coupon-form button,
    body.zero-points .woocommerce table.shop_table tr.coupon-form td .coupon-form button{
        width: 100px;
    }
    .woocommerce-checkout-review-order-table tr.coupon-form, .woocommerce-checkout-review-order-table .points-redemption{
        border-top: 1px solid #CCCCCC;
        margin-top: 10px;
        width: 100% !important;
    }
    body .woocommerce table.shop_table tr.coupon-form td .coupon-form{
        gap: 11px;
        position: relative;
    }
    body .woocommerce table.shop_table tr.coupon-form td .coupon-form button{
        position: absolute;
        width: 100px;
        left: 0;
        bottom: 0;
        height: 39px;
        background: #fff;
    }
    .woocommerce-checkout-review-order-table tr.coupon-form {
        padding-right: 0;
    }
    .woocommerce-checkout-review-order-table .points-redemption {
        padding-left: 0;
    }
    .my-points-wrapper .points-right {
        width: 100%;
    }
}

.red-text{
    color:red
}