/* Hide default WooCommerce review elements */
.comment-form label,
.comment-form .comment-notes,
.comment-form .form-submit,
.comment-form-author,
.comment-form-email,
#review_form #respond p.comment-form-rating,
#review_form #respond p.comment-notes {
    display: none !important;
}
.comment-form {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
@media (min-width: 769px) {
    .comment-form {
        position: fixed;
        left: auto;
        right: 0;
        width: 500px;
        padding: 10px;
        background: #fff;
        border-top: 1px solid #ddd;
        border-radius: 0px;
        z-index: 1000;
        box-shadow: -2px -2px 10px rgba(0,0,0,0.1);
        bottom: 0;
    }
}
.comment-form-comment {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}
.comment-form textarea {
    width: 100%;
    padding: 10px 50px 10px 15px;
    min-height: 40px;
    max-height: 120px;
    border-radius: 18px;
    border: 1px solid #ddd;
    resize: none;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s;
    overflow: hidden; /* Remove scroll bar */
    scrollbar-width: none; /* Firefox */
}
.comment-form textarea::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.comment-form .submit {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    transform: none !important;
    background: none !important;
    border: none !important;
    padding: 0 0 0 8px !important;
    margin-left: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    z-index: 2 !important;
    box-shadow: none !important;
}
.comment-form .fa-paper-plane {
    color: #ff0000 !important;
    font-size: 24px !important;
    width: 30px;
    height: 30px;
    line-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (max-width: 768px) {
    .comment-form {
        padding: 8px 12px;
    }
    .comment-form textarea {
        padding-right: 45px;
    }
    .comment-form .submit {
        right: 12px;
        bottom: 10px;
    }
}
.woocommerce-tabs ul.tabs {
    display: none !important;
}
.woocommerce-tabs .panel {
    display: none !important;
}
.custom-product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    margin-top: 10px;
    background-color: rgba(255,255,255,0);
    border-radius: 8px;
    width: 100%;
}
.custom-tab-icon {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    cursor: pointer;
    text-align: center;
    min-width: auto;
}
.custom-tab-icon .icon {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}
.custom-tab-icon .label {
    font-size: 10px;
    color: #555;
    white-space: nowrap;
}
.custom-popup {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.popup-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}
.popup-content {
    background-color: #fff;
    padding: 0 10px 10px 10px;
    overflow-y: auto;
    height: 70%;
    min-height: 300px;
    max-height: 100%;
    border-radius: 0;
    position: absolute;
    bottom: -100%;
    width: 100%;
    transition: bottom 0.3s ease;
    z-index: 1000000;
}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    margin: 0;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    cursor: ns-resize;
}
.popup-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    margin: 0;
    padding: 0 20px;
}
.close-popup {
    color: #ff0000;
    font-size: 24px;
    font-weight: normal;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    z-index: 10001;
    background: none;
    border-radius: 0;
    border: none;
    transition: color 0.2s;
}
.close-popup:hover,
.close-popup:focus {
    color: #b30000;
    background: none;
    text-decoration: none;
    cursor: pointer;
}
#popup-content {
    padding: 15px;
}
#popup-content::-webkit-scrollbar {
    width: 2px;
}
#popup-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
#popup-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
@media (min-width: 769px) {
    .popup-content {
        width: 500px;
        height: 100% !important;
        right: -500px;
        left: auto;
        bottom: auto;
        top: 0;
        transition: right 0.3s ease;
    }
}
.woocommerce-js #reviews #comments ol.commentlist li {
    border-bottom: 0px solid var(--ast-border-color);
}
@media (min-width: 700px) {
    .custom-product-tabs {
        width: auto !important;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5),
                   0 2px 16px 0 rgba(31, 38, 135, 0.3),
                   inset 0 1px 0 rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        padding: 25px;
        margin: 0px 0;
        position: relative;
    }
    .custom-product-tabs::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
        border-radius: 20px;
        pointer-events: none;
    }
    .custom-tab-icon {
        margin: 5px 10px;
        min-width: 80px;
        transition: transform 0.2s ease;
    }
    .custom-tab-icon:hover {
        transform: translateY(-2px);
    }
    .custom-tab-icon .icon {
        font-size: 20px;
    }
    .custom-tab-icon .label {
        font-size: 12px;
    }
}
#popup-content iframe {
    width: 100% !important;
    min-height: 300px !important;
    height: 400px !important;
    max-height: 70vh !important;
    border: none;
    display: block;
}
#popup-content .woocommerce-Tabs-panel {
    padding: 0;
    margin: 0;
}
#popup-content button,
#popup-content input,
#popup-content textarea,
#popup-content select {
    pointer-events: auto !important;
} 
.wc-ept-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-top: 8px;
    width: 100%;
    gap: 12px;
}
.wc-ept-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}
.wc-ept-author {
    font-weight: 600;
    color: #222;
    margin-right: 8px;
}
.wc-ept-time {
    color: #777;
    font-size: 13px;
}
.wc-ept-reply-link a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
    margin-left: 8px;
}
.wc-ept-reply-link a:hover {
    color: #005177;
    text-decoration: underline;
}
.wc-ept-meta-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wc-ept-vote-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wc-ept-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: #666;
    background: #f3f3f3;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    transition: all 0.2s ease;
    border: 1.5px solid #eee;
    font-size: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    position: relative;
}
.wc-ept-icon .fa {
    margin: 0 auto;
    font-size: 16px;
}
.wc-ept-icon .count {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    font-size: 12px;
    border-radius: 8px;
    padding: 0 5px;
    border: 1px solid #eee;
    min-width: 18px;
    text-align: center;
    font-weight: 500;
}
.wc-ept-icon.liked {
    color: #e74c3c !important;
    background: none !important;
    border: none !important;
}
.wc-ept-icon.disliked {
    color: #888 !important;
    background: none !important;
    border: none !important;
}
.wc-ept-icon.wc-ept-animate {
    animation: wc-ept-pop 0.4s cubic-bezier(0.4,1.4,0.4,1) forwards;
}
@keyframes wc-ept-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.wc-ept-icon.wc-ept-login-required {
    opacity: 0.6;
    cursor: not-allowed;
}
.wc-ept-reply-form {
    margin-top: 12px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.wc-ept-reply-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-size: 14px;
}
.wc-ept-reply-form button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.wc-ept-reply-form button:hover {
    background-color: #005177;
}
.children {
    margin-left: 28px;
    list-style-type: none;
}
.children .comment {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
} 
.wc-ept-review-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 8px !important;
    position: relative;
}
.wc-ept-avatar {
    flex-shrink: 0;
    margin-right: 8px;
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}
.children .wc-ept-avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
}
.wc-ept-review-content {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    justify-content: flex-start;
}
.wc-ept-author {
    font-weight: 700 !important;
    color: #222 !important;
    font-size: 15px !important;
    margin-bottom: 2px !important;
    display: block !important;
    margin-left: 0px !important;
}
.wc-ept-text p {
    margin-bottom: 4px!important; /* Reduce spacing after the <p> inside */
    padding-bottom: 0!important;
}
.wc-ept-text {
    font-size: 15px !important;
    color: #222 !important;
    margin-bottom: 0px !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    margin-left: 0px !important;
}
.wc-ept-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
}
.wc-ept-meta-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #666 !important;
    font-size: 13px !important;
}
.wc-ept-time {
    color: #777 !important;
    font-size: 13px !important;
}
.wc-ept-reply-link a {
    color: #0073aa !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-size: 13px !important;
    margin-left: 8px !important;
}
.wc-ept-reply-link a:hover {
    color: #005177 !important;
    text-decoration: underline !important;
}
.wc-ept-meta-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.wc-ept-vote-container {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.wc-ept-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    cursor: pointer !important;
    color: #888 !important;
    background: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    transition: all 0.2s ease !important;
    border: none !important;
    font-size: 18px !important;
    box-shadow: none !important;
    position: relative !important;
}
.wc-ept-icon .fa {
    margin: 0 auto !important;
    font-size: 18px !important;
}
.wc-ept-icon .count {
    position: absolute !important;
    right: -10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    color: #333 !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    padding: 0 5px !important;
    border: none !important;
    min-width: 18px !important;
    text-align: center !important;
    font-weight: 500 !important;
}
.wc-ept-icon.liked {
    color: #1bc47d !important;
    background: none !important;
}
.wc-ept-icon.disliked {
    color: #e74c3c !important;
    background: none !important;
}
.wc-ept-icon.wc-ept-login-required {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}
.wc-ept-reply-form {
    margin-top: 12px !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.wc-ept-reply-form textarea {
    width: 100% !important;
    padding: 10px 50px 10px 15px !important;
    min-height: 40px !important;
    max-height: 120px !important;
    border-radius: 12px !important;
    border: 1px solid #ddd !important;
    resize: none !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.3s !important;
    overflow: hidden !important;
    scrollbar-width: none !important;
    margin-bottom: 0 !important;
}
.wc-ept-reply-form textarea::-webkit-scrollbar {
    display: none !important;
}
.wc-ept-reply-form button {
    background: none !important;
    color: #ff0000 !important;
    border: none !important;
    padding: 0 0 0 8px !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    font-size: 22px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
}
.wc-ept-reply-form button:hover {
    color: #b30000 !important;
    background: none !important;
}
.children {
    margin-left: 28px !important;
    list-style-type: none !important;
}
.children .comment {
    margin-top: 10px !important;
    padding: 10px !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.children .wc-ept-review-content {
    margin-left: 10px !important;
}
.children .wc-ept-author,
.children .wc-ept-text {
    margin-left: 0 !important;
}
.wc-ept-meta-row {
    margin-top: 0 !important;
    margin-bottom: 2px !important;
}
.wc-ept-verified-badge {
    display: inline-block !important;
    color: #0084ff !important;
    font-size: 15px !important;
    margin-left: 5px !important;
    vertical-align: middle !important;
} 
.wc-ept-swal-toast {
    z-index: 9999999 !important;
    min-width: 220px !important;
    max-width: 320px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18) !important;
    padding: 10px 18px !important;
    top: 20px !important;
    right: 20px !important;
} 

/* Reply section hidden by default, shown only when .show-replies is present */
.children { display: none; }
li.show-replies > .children { display: block !important; }

/* Show Replies button styling */
.wc-ept-show-replies-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    color: #0073aa !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    outline: none !important;
    cursor: pointer !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
.wc-ept-show-replies-btn:hover {
    color: #005177 !important;
    text-decoration: underline !important;
    background: none !important;
    border: none !important;
}
.wc-ept-show-replies-btn .fa {
    font-size: 14px !important;
    margin-right: 2px !important;
}

/* Improve reply form prompt visibility */
.wc-ept-reply-form textarea {
    border-radius: 6px !important;
    border: 1.5px solid #ddd !important;
    background: #fafbfc !important;
    font-size: 15px !important;
    color: #222 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}
.wc-ept-reply-form button {
    border-radius: 6px !important;
    background: #0073aa !important;
    color: #fff !important;
    font-size: 16px !important;
    transition: background 0.2s;
}
.wc-ept-reply-form button:hover {
    background: #005177 !important;
} 

/* Reply block smaller */
.wc-ept-reply-block {
    font-size: 13px !important;
    padding: 6px 0 !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}
.wc-ept-reply-block .wc-ept-avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
}
.wc-ept-reply-block .wc-ept-author {
    font-size: 13px !important;
    margin-left: 0 !important;
}
.wc-ept-reply-block .wc-ept-text {
    font-size: 13px !important;
    margin-left: 0 !important;
    padding: 2px 0 !important;
    line-height: 1.4 !important;
}
.wc-ept-reply-block .wc-ept-meta-row {
    margin-top: 0 !important;
    font-size: 12px !important;
}
.wc-ept-reply-block .wc-ept-meta-left {
    font-size: 12px !important;
}
.wc-ept-reply-block .wc-ept-meta-right {
    gap: 4px !important;
}
.wc-ept-reply-block .wc-ept-vote-container {
    gap: 4px !important;
}
.wc-ept-reply-block .wc-ept-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 13px !important;
}
.wc-ept-reply-block .wc-ept-icon .fa {
    font-size: 13px !important;
}
.wc-ept-reply-block .wc-ept-icon .count {
    font-size: 11px !important;
    min-width: 14px !important;
}
/* Review submit icon styling - no shadow */
.wc-ept-review-send-icon {
    color: #ff0000 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: color 0.2s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    width: 32px !important;
    right: 10px !important;
    bottom: 8px !important;
    box-shadow: none !important;
}
.wc-ept-review-send-icon:hover {
    color: #b30000 !important;
}
/* Remove Send text styling */
.wc-ept-review-send-text { display: none !important; } 
.comment-form textarea {
    padding-right: 40px !important;
} 
.comment-form textarea {
    border-radius: 14px !important;
}
.wc-ept-meta-row {
    margin-top: 2px !important;
} 


.woocommerce-js #reviews #comments ol.commentlist li img.avatar
 {height: 2.6em !important;
    width: 2.6em !important;
}

li.review {
    border-bottom: none !important;
}

.wc-ept-review-user-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-right: 10px !important;
    display: block !important;
}
.comment-form-comment {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}
.comment-form textarea {
    vertical-align: middle !important;
    margin: 0 !important;
    padding-left: 0 !important;
}
.wc-ept-review-send-icon {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    color: #ff0000 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    user-select: none !important;
    height: 32px !important;
    width: 32px !important;
    justify-content: center !important;
} 
.wc-ept-review-user-avatar-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}
.wc-ept-review-user-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto 0 auto !important;
}
.comment-form-comment {
    display: block !important;
    width: 100% !important;
}
.comment-form textarea {
    border-radius: 10px !important;
    margin: 0 !important;
    padding-left: 15px !important;
    padding-right: 50px !important;
}
.wc-ept-review-send-icon {
    position: absolute !important;
    right: 18px !important;
    bottom: 10px !important;
    top: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    color: #ff0000 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    user-select: none !important;
    height: 32px !important;
    width: 32px !important;
    justify-content: center !important;
} 
.wc-ept-review-input-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: relative;
}
.wc-ept-review-user-avatar-wrap {
    margin-right: 12px;
    margin-top: 2px;
}
.wc-ept-review-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.wc-ept-review-input-flex {
    flex: 1 1 0%;
    position: relative;
    width: 100%;
}
.wc-ept-review-input-flex textarea {
    border-radius: 12px !important;
    border: 1.5px solid #e0e0e0 !important;
    background: #fafbfc !important;
    font-size: 16px !important;
    padding: 14px 60px 14px 20px !important;
    width: 100% !important;
    min-height: 44px !important;
    max-height: 140px !important;
    resize: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border 0.2s, box-shadow 0.2s !important;
}
.wc-ept-review-send-icon {
    position: absolute !important;
    right: 16px !important;
    bottom: 7px !important;
    width: 36px !important;
    height: 36px !important;
    background: none !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ff0000 !important;
    font-size: 20px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: none !important;
    z-index: 2 !important;
}
.wc-ept-review-send-icon:hover {
    background: none !important;
    color: #ff0000 !important;
    box-shadow: none !important;
}
.wc-ept-review-input-flex textarea {
    padding: 7px 40px 7px 16px !important;
}
@media (max-width: 600px) {
    .wc-ept-review-user-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    .wc-ept-review-input-flex textarea {
        font-size: 15px !important;
        padding: 10px 48px 10px 12px !important;
    }
    .wc-ept-review-send-icon {
        width: 28px !important;
        height: 28px !important;
        right: 8px !important;
        bottom: 8px !important;
        font-size: 17px !important;
    }
}
.wc-ept-review-input-flex textarea:not(:focus):not(:active):not([rows="2"]):not([rows="3"]):not([rows="4"]):not([rows="5"]) + .wc-ept-review-send-icon {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
} 


      