/* fatin css */

/* disable dark mode */
html {
    color-scheme: light dark;
}
.custom-template-header .header-two {
    background-color: #fff !important;
}
/* dark mode toggle */
.wp-dark-mode-floating-switch {
    top: 35%;
}


/* checkout page (with tabs) */
.page-id-278 img.order-thumb-img,
.page-id-278 .order-thumb-wrap{
    background: transparent !important;
}
/* make tabs text stays white */
.cw-order-tabs .cw-order-tab:hover,
.cw-order-tabs .cw-order-tab:focus {
    color: #fff !important;
}

.woocommerce-order-actions {
    flex-direction: column;
}
.cw-order-info-wrap {
    display: flex;
}
.cw-order-info-wrap .woocommerce-order-details {
    width: 48%;
    margin-right: 1%;
}
.cw-order-info-wrap .woocommerce-customer-details.my-order {
    width: 45%;
}
.payment-button {
    display: flex;
}
.payment-button a.button.pay {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1%;
    height: 41px;
}
/* contact us details */
.contact-us.details {
    justify-content: center;
    height: 460px;
}
/* tnc page */
.page-id-186 p:last-child,
.page-id-184 p:last-child,
.page-id-182 p:last-child{
   margin-bottom: 0;
}
.page-id-184 p + ul,
.page-id-182 p + ul {
  margin-top: 0;
}
.page-id-184 p:has(+ ul),
.page-id-182 p:has(+ ul) {
  margin-bottom: 5px;
}
/* terms of use */
.page-title-content {
   padding-bottom: 40px;
}
.terms-of-use-box p:not(:last-child) {
    margin-bottom: 20px;
}
.terms-of-use-box p:last-child {
    margin-bottom: 0;
}
.terms-of-use-box .sub-point {
    /* margin-right: 20px; */
    min-width: 50px;
    display: inline-block;
    width: 50px;
}
/* tnc accordion */
.terms-of-use-box p.main-point {
    display: inline-block;
}
.terms-of-use-box p.definition-item {
    margin-bottom: 10px;
}
.terms-of-use-box p.definition-item:last-child {
  margin-bottom: 20px;
}
.terms-of-use-box p.definition-item span {
    width: 100px;
    display: inline-block;
}
.terms-of-use-box p.definition-item span.sub-sub-point {
    width: 50px;
    display: inline-block;
}
.definition-item:has(.sub-sub-point) {
    margin-left: 20px;
}


/* customer dashboard */
.user-account-dropdown-div .user-account-dropdown-content a {
    line-height: 35px;
}
.user-account-dropdown-content {
    margin-top: 14px;
}


/* repay page */
.cw-order-items.re-pay .cw-item-row {
    display: flex;
    align-items: center;
}
.cw-order-items.re-pay .cw-thumb {
    width: 40%;
}
/* .cw-order-items.re-pay .cw-item-details,
.cw-order-items.re-pay .cw-item-quantity {
    width: 30%;
} */
.cw-order-items.re-pay .cw-item-details {
    display: flex;
    flex-direction: column;
    width: 70%;
}
.cw-order-items.re-pay .cw-item-details .cw-title {
    text-align: left;
}
.cw-order-items.re-pay .cw-thumb {
    display: flex;
}
.pay-order-product.re-pay {
    padding: 50px 70px;
}
.re-pay.payment {
    margin-top: 50px;
}
/* flex */
.pay-order-product.re-pay .cw-two-cols {
    display: flex;
    justify-content: center;
}

.pay-order-product.re-pay {
    background: transparent;
    padding: 0;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-left{
    margin-right: 2%;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-right .cw-address-section{
    background: #EBEBEB;
    border-radius: 50px;
    padding: 30px 40px;
    margin-bottom: 25px;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-left .cw-thumb {
    background: transparent;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-right h4{
    font-weight: bold;
    font-size: 16px;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-right address {
    max-width: 80%;
    font-style: normal;
}
.pay-order-product.re-pay .cw-summary-block {
    background: #fff;
    padding: 20px 30px;
    border-radius: 30px;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-left {
    width: 68%;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-right {
    width: 40%;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-left .cw-item-row{
    background: #fff;
    border-radius: 30px;
    margin-bottom: 30px;
    min-height: 150px;
    padding: 15px 15px 15px 30px;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-left .cw-item-row .cw-thumb {
    min-height: unset;
    padding: 0;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-left .cw-item-row img {
    max-width: 40% !important;
}
.pay-order-product.re-pay #payment {
    background: #fff;
    border-radius: 30px;
    padding: 30px;
}
.pay-order-product.re-pay #payment button {
    margin-top: 20px; 
}


/* product page details */
.woocommerce-product-gallery__wrapper img {
    padding: 0 !important;
}
.single-product #review_form {
    border: none !important;
    background: #fff;
    border-radius: 30px;
    margin-top: 30px;
}
.woocommerce-product-gallery__wrapper div a {
    border-radius: 30px;
}

/* product page listing */
.post-type-archive-product .astra-shop-thumbnail-wrap img {
    transform: scale(1.2); 
    transform-origin: center center;
}
.woocommerce ul.products li.product{
    min-height: 410px;
}
.woocommerce ul.products li.product:hover .astra-shop-summary-wrap,
.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap {
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15); 
}
.cw-parent-crystalbio .cc-term-bamboo-chopsticks {
    border-top: solid 1px #90b387;
}
.cw-filter .cw-filter-group.cw-parent-crystalbio button,
.cw-filter .cw-filter-group.cw-parent-crystalbio button:hover,
.cw-filter .cw-filter-group.cw-parent-crystalbio button:active,
.cw-filter .cw-filter-group.cw-parent-crystalbio button:focus,
.cw-filter .cw-filter-group.cw-parent-crystalbio button:visited,
.cw-filter .cw-filter-group.cw-parent-crystalbio button:focus-visible,
.cw-filter .cw-filter-group.cw-parent-crystalbio .cw-accordion-panel {
    background: #bee5b0 !important;
}
.cw-filter .cw-filter-group.cw-parent-packing-materials button,
.cw-filter .cw-filter-group.cw-parent-packing-materials button:hover,
.cw-filter .cw-filter-group.cw-parent-packing-materials button:active,
.cw-filter .cw-filter-group.cw-parent-packing-materials button:focus,
.cw-filter .cw-filter-group.cw-parent-packing-materials button:visited,
.cw-filter .cw-filter-group.cw-parent-packing-materials button:focus-visible {
    background: #e7c6a2 !important;
}
.cw-parent-packing-materials .cc-term-tapes-dispensers {
    border-top: solid 1px #ba9e80;
}
.cw-parent-packing-materials .cw-accordion-panel {
    background: #e7c6a2;
}
/* dots */
.cw-parent-packing-materials span.cw-box {
    background: #ba9e80;
}
.cw-parent-crystalbio span.cw-box {
    background: #90b387;
}



.cw-pill.active{
    border-color: #ED1C24;
    color: #ED1C24;

}



/* cart popup */
.product-thumbnail.product-background,
img.cw-order-thumb-header {
    background: #fff;
}

/* ---mobile */
@media (max-width: 767px) {
.terms-of-use-box .sub-point {
    width: 25px;
    min-width: unset;
}
.terms-of-use-box p.definition-item span {
    width: unset;
    font-weight: bold;
}
.terms-of-use-box p.definition-item span.sub-sub-point {
    font-weight: normal;
}
.contact-us.details {
    height: 100%;
}

/* customer dashboard */
.user-account-dropdown-content {
    margin-top: -5px;
}


/* repay page */
.pay-order-product.re-pay .cw-two-cols {
    flex-direction: column;
}
.pay-order-product.re-pay .cw-two-cols .cw-col-right,
.pay-order-product.re-pay .cw-two-cols .cw-col-left {
    width: 100%;
}
.cw-col-right.cw-address-block .contact-ico img {
    width: 60px;
}

/* my purchaes page tabs */
    .cw-order-tabs {
        display: flex;
        flex-wrap: nowrap !important;        
        overflow-x: auto;         
        -webkit-overflow-scrolling: touch; 
        white-space: nowrap;    
        scrollbar-width: none;    
        -ms-overflow-style: none; 
        gap: 10px;
        padding-bottom: 5px; 
    }
    .cw-order-tabs::-webkit-scrollbar {
        display: none; 
    }
    .cw-order-tab {
        flex: 0 0 auto;
    }

}


