/**
 * Frontend Styles for Customer Reviews Pro
 */

/* Review Form Wrapper */
.crp-review-form-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.crp-form-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #333;
    text-align: center;
}

/* Form Layouts */
.crp-review-form {
    width: 100%;
}

/* Common form group styles */
.crp-form-group {
    margin-bottom: 20px;
}

/* Modern Form Layout */
.crp-form-modern .crp-form-group {
    margin-bottom: 20px;
}

.crp-form-modern label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.crp-form-modern input[type="text"],
.crp-form-modern input[type="email"],
.crp-form-modern input[type="url"],
.crp-form-modern textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.crp-form-modern input[type="text"]:focus,
.crp-form-modern input[type="email"]:focus,
.crp-form-modern input[type="url"]:focus,
.crp-form-modern textarea:focus {
    outline: none;
    border-color: #FFB800;
}

.crp-form-modern textarea {
    resize: vertical;
    min-height: 120px;
}

/* Classic Form Layout */
.crp-form-classic .crp-form-group {
    margin-bottom: 18px;
}

.crp-form-classic label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #444;
    font-size: 14px;
}

.crp-form-classic input[type="text"],
.crp-form-classic input[type="email"],
.crp-form-classic input[type="url"],
.crp-form-classic textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.crp-form-classic input[type="text"]:focus,
.crp-form-classic input[type="email"]:focus,
.crp-form-classic input[type="url"]:focus,
.crp-form-classic textarea:focus {
    outline: none;
    border-color: #FFB800;
    box-shadow: 0 0 3px rgba(255, 184, 0, 0.3);
}

.crp-form-classic textarea {
    resize: vertical;
    min-height: 100px;
}

/* Minimal Form Layout */
.crp-form-minimal .crp-form-group {
    margin-bottom: 15px;
}

.crp-form-minimal label {
    display: block;
    font-weight: 400;
    margin-bottom: 5px;
    color: #555;
    font-size: 13px;
}

.crp-form-minimal input[type="text"],
.crp-form-minimal input[type="email"],
.crp-form-minimal input[type="url"],
.crp-form-minimal textarea {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 14px;
    transition: border-bottom-color 0.2s ease;
    font-family: inherit;
    background: transparent;
    box-sizing: border-box;
}

.crp-form-minimal input[type="text"]:focus,
.crp-form-minimal input[type="email"]:focus,
.crp-form-minimal input[type="url"]:focus,
.crp-form-minimal textarea:focus {
    outline: none;
    border-bottom-color: #FFB800;
}

.crp-form-minimal textarea {
    resize: vertical;
    min-height: 80px;
}

/* Star Rating */
.crp-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    font-size: 32px;
    cursor: pointer;
}

.crp-star-rating .crp-star {
    color: #ddd;
    transition: color 0.2s ease;
}

.crp-star-rating .crp-star:hover,
.crp-star-rating .crp-star:hover ~ .crp-star,
.crp-star-rating .crp-star.active {
    color: #FFB800;
}

/* Photo Upload */
.crp-photo-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.crp-photo-upload-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crp-photo-upload-btn:hover {
    background-color: #FFB800;
    color: #fff;
    border-color: #FFB800;
}

.crp-photo-filename {
    font-size: 13px;
    color: #666;
}

.crp-photo-preview {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.crp-photo-preview img {
    max-width: 200px !important;
    max-height: 200px !important;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    display: block;
}

.crp-photo-remove {
    position: absolute;
    top: -10px;
    right: calc(100% - 210px);
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s 
ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;

}

.crp-photo-remove:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Phone Input Group */
/* intl-tel-input custom styling */
.crp-phone-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.crp-phone-input:focus {
    outline: none;
    border-color: #FFB800;
}

/* intl-tel-input library overrides */
.iti {
    width: 100%;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: #f9f9f9;
    border-right: 1px solid #e0e0e0;
}

.iti__flag {
    background-image: url('https://cdn.jsdelivr.net/npm/intl-tel-input@23.1.0/build/img/flags.png');
    background-repeat: no-repeat;
    width: 20px;
    height: 15px;
}

.iti__flag-loading {
    background: url('data:image/gif;base64,R0lGODlhDwAPAKECAAAAzf/////+/yH+HkNyZWF0ZWQgd2l0aCBHSU1QIG9uIFB1YnB1YiABLAAAAAAIAAgAAAILlBDEWotIUXoUAAA7');
}

.iti__country-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.iti__country {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.iti__country:hover {
    background-color: #f5f5f5;
}

.iti__country.iti__highlight {
    background-color: #e8f4f8;
}

.iti__country-name {
    margin-left: 10px;
    font-size: 14px;
}

.iti__dial-code {
    margin-left: auto;
    color: #999;
    font-size: 13px;
}

/* Reviewer Details - Phone Display */
.crp-reviewer-phone {
    font-size: 13px;
    color: #666;
    margin: 4px 0;
}

/* Submit Button */
.crp-submit-btn {
    display: inline-block;
    padding: 14px 40px !important;
    background-color: #C29825 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100% !important;
    text-align: center;
}

.crp-submit-btn:hover {
    background-color: #E5A500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.crp-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.crp-form-messages {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.crp-form-messages.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.crp-form-messages.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.required {
    color: #e74c3c;
}

.crp-field-description {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

/* Reviews Display */
.crp-reviews-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 30px 0;
    padding: 0 20px;
}

.crp-reviews-stats {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
}

.crp-average-rating {
    display: inline-block;
}

.crp-rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #FFB800;
    line-height: 1;
}

.crp-rating-stars {
    font-size: 24px;
    margin: 10px 0;
}

.crp-total-reviews {
    font-size: 16px;
    color: #666;
}

/* Review Items - Card Layout (Modern Luxury) */
.crp-reviews-card .crp-review-item {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.crp-reviews-card .crp-review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFB800, #FF8800);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.crp-reviews-card .crp-review-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.crp-reviews-card .crp-review-item:hover::before {
    transform: scaleX(1);
}

/* Review Items - List Layout */
.crp-reviews-list .crp-review-item {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px 0;
    padding-left: 0;
    border-left: 4px solid transparent;
    transition: all 10s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 16px;
        padding-right: 16px;
}

.crp-reviews-list .crp-review-item:hover {
    
    border-left-color: #FFB800;
    background: rgba(255, 184, 0, 0.02);
}

.crp-reviews-list .crp-review-item:last-child {
    border-bottom: none;
}

/* Review Items - Grid Layout (Modern Luxury) */
.crp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.crp-reviews-grid .crp-review-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.crp-reviews-grid .crp-review-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFB800, #FF8800);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.crp-reviews-grid .crp-review-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 184, 0, 0.2);
}

.crp-reviews-grid .crp-review-item:hover::after {
    transform: scaleX(1);
}

/* Review Items - Slider Layout (Testimonial Style) */
.crp-reviews-slider {
    position: relative;
    overflow: visible;
    padding: 80px 80px 100px 80px;
    background: transparent;
    border-radius: 0;
    margin: 60px auto;
    border: none;
    box-shadow: none;
    max-width: 100%;
}

/* Multi-column slider keeps modern styling */
.crp-reviews-slider:not([data-columns="1"]) {
    background: transparent;
    border-radius: 24px;
    border: none;
    box-shadow: none;
    padding: 0px 80px 0px 80px;
}

/* Inner container for overflow control */
.crp-slider-track {
    overflow: visible;
}

.crp-slider-track {
    width: 100%;
}

.crp-slider-slide {
    width: 100%;
    outline: none;
}

.crp-slider-grid {
    display: grid;
    gap: 30px;
    width: 100%;
    /* min-height: 300px; */
    align-items: stretch; /* Force all items to equal height */
}

/* Ensure slider review items stretch to full height */
.crp-slider-grid .crp-review-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Slick slider override for smooth transitions */
.crp-reviews-slider .slick-list {
    overflow: hidden;
    margin: 0 -12px;
}

.crp-reviews-slider .slick-track {
    display: flex;
}

/* Add gap between slider slides */
.crp-reviews-slider .slick-slide {
    margin: 60px 12px;
}

/* Multi-column slider review items */
.crp-reviews-slider:not([data-columns="1"]) .crp-review-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 184, 0, 0.3);
}

/* Multi-column slider specific styling */
.crp-reviews-slider:not([data-columns="1"]) .crp-review-header {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 20px;
    order: 1;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-info {
    flex-direction: row;
    text-align: left;
    gap: 16px;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.crp-avatar-reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    object-fit: initial !important; 
    border: 0px solid #f8f9fa  !important; ;
    box-shadow: none  !important; ;
}

.crp-reviews-slider[data-columns="1"] .crp-review-header .crp-avatar-reviewer-photo {
    width: 80px;
    height: 80px;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #000000;
    flex-shrink: 0;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-details {
    flex: 1;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-designation {
    font-size: 12px;
    color: #999;
    margin: 6px 0 0 0;
    line-height: 1.4;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-location {
    font-size: 12px;
    color: #999;
    margin: 6px 0 0 0;
    line-height: 1.4;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-link {
    margin: 6px 0 0 0;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-review-rating {
    margin-left: auto;
    text-align: right;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-stars {
    font-size: 20px;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-review-content {
    order: 2;
    flex: 1;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-review-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    text-align: left;
}

/* ========================================
   ALTERNATIVE CARD STYLE (Modern Compact)
   Add class "crp-style-modern" to slider
   Layout: Avatar at top center (overlapping) → Name → Designation → Rating → Content
   ======================================== */

/* Increase gap for modern style cards */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-slider-grid {
    gap: 90px 30px;
}

/* Modern Compact Card Style */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 70px 28px 32px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    position: relative;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

/* Header container - vertical layout */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-header {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    width: 100%;
    position: static;
}

/* Avatar at top center (overlapping card top) */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-info {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    border: none;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-photo {
    width: 100px;
    height: 100px;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    margin-bottom: 16px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-avatar {
    width: 100px;
    height: 100px;
    font-size: 36px;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    margin-bottom: 16px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    width: 100%;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    text-align: center !important;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-designation {
    font-size: 13px;
    color: #888;
    margin: 0;
    font-weight: 400;
    line-height: 1.3;
    text-align: center !important;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-location {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.3;
    text-align: center !important;
    display: block;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-link {
    margin: 0;
    text-align: center !important;
    display: block;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-link a {
    text-align: center !important;
}

/* Rating meta container - show it and position below name */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-meta {
    display: block;
    margin: 0;
    width: 100%;
    text-align: center;
    margin-top: 12px;
}

/* Rating below name/designation */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-rating {
    text-align: center;
    margin: 0;
    padding: 0;
    border: none;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-stars {
    font-size: 18px;
    display: inline-flex;
    gap: 2px;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-star-full {
    color: #FFB800;
}

/* Content at bottom */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-content {
    order: 2;
    margin-bottom: 0;
    flex: 1;
    text-align: center;
    width: 100%;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    display: block;
}

.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    text-align: center;
}

/* Fix arrow positioning for default single-column slider - properly center vertically */
.crp-reviews-slider[data-columns="1"] .slick-prev,
.crp-reviews-slider[data-columns="1"] .slick-next {
    margin-top: 0;
}

/* Fix arrow positioning for modern style (account for card margin-top) */
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .slick-prev,
.crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .slick-next {
    margin-top: 0;
}

/* Date removed - no longer displayed */
/* .crp-reviews-slider:not([data-columns="1"]) .crp-review-footer {
    order: 3;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.crp-reviews-slider:not([data-columns="1"]) .crp-review-date {
    font-size: 12px;
    color: #999;
} */

/* Single column slider (default testimonial style - WordPress Testimonial Widget Style) */
.crp-reviews-slider[data-columns="1"] {
    padding: 0px 80px 10px 80px;
    background: #fafafa;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.crp-reviews-slider[data-columns="1"] .crp-review-item {
    background: transparent;
    border-radius: 0;
    padding: 40px 80px;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Equal height for all slides */
    justify-content: center; /* Center content vertically */
}

.crp-reviews-slider[data-columns="1"] .crp-review-item:hover {
    transform: none;
    box-shadow: none;
}

/* Testimonial content first */
.crp-reviews-slider[data-columns="1"] .crp-review-content {
    order: 1;
    margin-bottom: 30px;
    width: 100%;
}

/* Author info at bottom */
.crp-reviews-slider[data-columns="1"] .crp-review-header {
    order: 2;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    margin-top: 10px;
}

/* Date removed - no longer displayed */
/* .crp-reviews-slider[data-columns="1"] .crp-review-footer {
    order: 3;
    margin-top: 15px;
} */

.crp-reviews-slider .crp-reviewer-info {
    flex-direction: column;
    text-align: center;
    gap: 12px;
}

.crp-reviews-slider[data-columns="1"] .crp-reviewer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid #f5f5f5;
    margin-bottom: 8px;
}

.crp-reviews-slider[data-columns="1"] .crp-reviewer-avatar {
    width: 80px;
    height: 80px;
    font-size: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.crp-reviews-slider[data-columns="1"] .crp-reviewer-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.crp-reviews-slider[data-columns="1"] .crp-reviewer-designation {
    font-size: 15px;
    color: #999;
    font-weight: 400;
    margin: 6px 0 0 0;
    font-style: italic;
    line-height: 1.4;
    text-align: center !important;
}

.crp-reviews-slider[data-columns="1"] .crp-reviewer-location {
    font-size: 15px;
    color: #999;
    margin: 6px 0 0 0;
    line-height: 1.4;
    text-align: center !important;
}

.crp-reviews-slider[data-columns="1"] .crp-reviewer-link {
    margin: 6px 0 0 0;
    text-align: center !important;
}

.crp-reviews-slider[data-columns="1"] .crp-review-rating {
    text-align: center;
    margin: 20px 0 20px 0;
    order: 0;
}

.crp-reviews-slider[data-columns="1"] .crp-stars {
    font-size: 20px;
    color: #FFB800;
}

.crp-reviews-slider[data-columns="1"] .crp-review-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 16px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.crp-reviews-slider[data-columns="1"] .crp-review-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: center;
    font-style: normal;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Quote marks removed - not suitable */

/* Date removed - no longer displayed */
/* .crp-reviews-slider .crp-review-footer {
    justify-content: center;
    margin-top: 24px;
} */

/* Slick Slider Arrows (Modern Professional Style) */
.crp-reviews-slider .slick-prev,
.crp-reviews-slider .slick-next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    font-size: 20px;
    color: #333;
    user-select: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    line-height: 1;
    margin-top: -50px;
}

.crp-reviews-slider .slick-prev:hover,
.crp-reviews-slider .slick-next:hover {
    background: #FFB800;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.crp-reviews-slider .slick-prev {
    left: -60px;
}

.crp-reviews-slider .slick-next {
    right: -60px;
}

/* Disabled arrow states */
.crp-reviews-slider .slick-prev.slick-disabled,
.crp-reviews-slider .slick-next.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.crp-reviews-slider .slick-prev:before,
.crp-reviews-slider .slick-next:before {
    content: '';
}

/* Slick Slider Dots (Modern Professional Style) */
.crp-reviews-slider .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0px 0 0 0;
    padding: 0;
    list-style: none;
    position: static;
    bottom: auto;
}

.crp-reviews-slider .slick-dots li {
    width: auto;
    height: 10px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.crp-reviews-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0;
    line-height: 0;
    display: block;
}

.crp-reviews-slider .slick-dots li button:before {
    display: none;
    content: '';
}

.crp-reviews-slider .slick-dots li.slick-active button {
    background: #FFB800;
    width: 32px;
    border-radius: 5px;
}

.crp-reviews-slider .slick-dots li button:hover {
    background: #FFB800;
    opacity: 0.7;
}

/* Review Header (Luxury Design) */
.crp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.crp-reviewer-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.crp-reviewer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.crp-reviewer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;

    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.25);
}

.crp-reviewer-details {
    flex: 1;
}

.crp-reviewer-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.crp-reviewer-designation {
    margin: 6px 0 0 0;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
    text-align: left !important;
}


.crp-reviewer-location {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.4;
}
/* 
.crp-reviewer-location::before {
    content: '📍';
    font-size: 12px;
} */

.crp-reviewer-link {
    margin: 6px 0 0 0;
    text-align: left !important;
}

.crp-reviewer-link a {
    color: #FFB800;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    line-height: 1.4;
}

.crp-reviewer-link a:hover {
    color: #FF8800;
    text-decoration: underline;
}

/* Review Rating */
.crp-review-rating {
    text-align: right;
}

.crp-stars {
    font-size: 18px;
    line-height: 1;
}

.crp-star-full {
    color: #FFB800;
}

.crp-star-half {
    color: #FFB800;
    opacity: 0.5;
}

.crp-star-empty {
    color: #ddd;
}

.crp-featured-badge {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 10px;
    background: #fff3cd;
    color: #856404;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

/* Review Content (Luxury) */
.crp-review-content {
    margin: 20px 0;
}

.crp-review-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    line-height: 1.4;
}

.crp-review-text {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 16px;
}

/* Date removed - no longer displayed */
/* Review Footer (Luxury) */
/* .crp-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.crp-review-date {
    font-style: normal;
    color: #999;
    font-size: 13px;
} */

/* No Reviews */
.crp-no-reviews {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
}

/* Stats Widget */
.crp-stats-widget {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.crp-stats-summary {
    text-align: center;
    margin-bottom: 20px;
}

.crp-stats-number {
    font-size: 48px;
    font-weight: 700;
    color: #FFB800;
    line-height: 1;
}

.crp-stats-total {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}

.crp-stats-breakdown {
    margin-top: 20px;
}

.crp-stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.crp-stats-label {
    min-width: 40px;
    font-size: 14px;
    font-weight: 600;
}

.crp-stats-bar {
    flex: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.crp-stats-bar-fill {
    height: 100%;
    background: #FFB800;
    transition: width 0.3s ease;
}

.crp-stats-count {
    min-width: 30px;
    text-align: right;
    font-size: 14px;
    color: #666;
}
.crp-reviews-card .crp-reviewer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #f8f9fa !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
.crp-reviews-list .crp-reviewer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.25);
}
.crp-style-default.slider-col-2-row-1 .slick-prev,
.crp-style-default.slider-col-2-row-1 .slick-next {
    top: 60%;
}
.crp-style-default.slider-col-2-row-1 .crp-reviewer-avatar, .crp-style-default.slider-col-2-row-1 .crp-reviewer-photo {
        width: 80px;
        height: 80px;
}
.crp-style-modern.slider-col-2-row-1 .slick-dots {
    margin: 60px 0 0 0;
}
.crp-style-modern .slick-dots {
    padding-top: 60px;
}
.crp-style-modern.slider-col-3-row-1 .slick-dots {
    margin: 60px 0 0 0;
}
.crp-style-default.slider-col-3-row-1 .slick-prev,
.crp-style-default.slider-col-3-row-1 .slick-next {
    top: 60%;
}
.crp-style-modern.slider-col-3-row-2 .slick-prev,
.crp-style-modern.slider-col-3-row-2 .slick-next {
    top: 50%;
}
@media (max-width: 1300px) {
    .crp-review-header {
        flex-direction: column;
    }
}

/* Responsive (Mobile Optimized) */
@media (max-width: 768px) {
    .crp-review-form-wrapper {
        padding: 20px;
        margin: 20px 0;
    }

    .crp-form-title {
        font-size: 22px;
    }

    .crp-review-header {
        flex-direction: column;
        gap: 12px;
    }

    .crp-review-rating {
        text-align: left;
    }

    .crp-reviews-grid {
        grid-template-columns: 1fr;
    }

    .crp-reviews-card .crp-review-item {
        padding: 24px;
        margin-bottom: 16px;
    }

    /* Slider Mobile */
    .crp-reviews-slider {
        padding: 30px 15px;
        margin: 20px 0;
    }

    .crp-reviews-slider:not([data-columns="1"]) {
        padding: 30px 20px;
    }

    .crp-reviews-slider .crp-review-item {
        padding: 20px 15px;
    }

    /* Force single column on mobile for multi-column sliders */
    .crp-slider-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 16px;
        min-height: auto;
    }

    /* Multi-column slider mobile adjustments */
    .crp-reviews-slider:not([data-columns="1"]) .crp-review-item {
        padding: 20px 16px;
    }

    .crp-reviews-slider:not([data-columns="1"]) .crp-review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .crp-reviews-slider:not([data-columns="1"]) .crp-reviewer-info {
        flex-direction: row;
        width: 100%;
    }

    .crp-reviews-slider:not([data-columns="1"]) .crp-review-rating {
        margin-left: 0;
        text-align: left;
        margin-top: 8px;
    }

    /* Slick arrows mobile */
    .crp-reviews-slider .slick-prev,
    .crp-reviews-slider .slick-next {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .crp-reviews-slider .slick-prev {
        left: 10px;
    }

    .crp-reviews-slider .slick-next {
        right: 10px;
    }

    .crp-reviews-slider[data-columns="1"] .crp-review-item {
        padding: 30px 15px;
    }

    .crp-reviews-slider[data-columns="1"] .crp-review-text {
        font-size: 15px;
        padding-top: 20px;
    }

    .crp-reviews-slider[data-columns="1"] .crp-review-text::before {
        font-size: 50px;
        top: -30px;
    }

    .crp-reviews-slider[data-columns="1"] .crp-reviewer-photo,
    .crp-reviews-slider[data-columns="1"] .crp-reviewer-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .crp-slider-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .crp-slider-nav.prev {
        left: 10px;
    }

    .crp-slider-nav.next {
        right: 10px;
    }

    .crp-reviews-slider .crp-review-title {
        font-size: 20px;
    }

    .crp-reviews-slider .crp-review-text {
        font-size: 16px;
    }

    .crp-reviews-slider .crp-review-text::before {
        font-size: 60px;
        left: -15px;
    }

    .crp-reviewer-photo,
    .crp-reviewer-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .crp-reviewer-name {
        font-size: 16px;
    }

    .crp-reviewer-designation {
        font-size: 13px;
    }

    .crp-review-title {
        font-size: 18px;
    }

    .crp-review-text {
        font-size: 15px;
    }

    /* Modern style mobile adjustments */
    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-slider-grid {
        gap: 60px 20px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-item {
        margin-top: 40px;
        padding: 60px 20px 24px 20px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-photo,
    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-avatar {
        width: 80px;
        height: 80px;
        font-size: 28px;
        top: -40px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-name {
        font-size: 15px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-designation {
        font-size: 12px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-location {
        font-size: 11px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-stars {
        font-size: 16px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-title {
        font-size: 14px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-text {
        font-size: 13px;
    }
    .crp-style-default.slider-col-2-row-1 .slick-prev, .crp-style-default.slider-col-2-row-1 .slick-next {
    top: 54%;
}

     .crp-style-modern.slider-col-2-row-1 .slick-prev, .crp-style-modern.slider-col-2-row-1 .slick-next {
    top: 53%;
}
     .crp-style-default.slider-col-3-row-1 .slick-prev, .crp-style-default.slider-col-3-row-1 .slick-next {
    top: 53%;
}
    .crp-style-default.slider-col-2-row-1 .slick-prev, .crp-style-modern.slider-col-2-row-1 .slick-prev {
        left: -45px;
    }
    .crp-style-default.slider-col-2-row-1 .slick-next, .crp-style-modern.slider-col-2-row-1 .slick-next {
        right: -45px;
    }
    .crp-style-default.slider-col-3-row-1 .slick-prev, .crp-style-modern.slider-col-3-row-1 .slick-prev {
        left: -45px;
    }
    .crp-style-default.slider-col-3-row-1 .slick-next, .crp-style-modern.slider-col-3-row-1 .slick-next {
        right: -45px;
    }
        .crp-style-default.slider-col-3-row-2 .slick-prev, .crp-style-modern.slider-col-3-row-2 .slick-prev {
        left: -40px;
    }
    .crp-style-default.slider-col-3-row-2 .slick-next, .crp-style-modern.slider-col-3-row-2 .slick-next {
        right: -40px;
    }
    .crp-style-default.slider-col-2-row-1 .crp-reviewer-avatar, .crp-style-default.slider-col-2-row-1 .crp-reviewer-photo {
    width: 50px;
    height: 50px;
}
.slider-col-1-row-2 {
    padding: 10px 20px 10px 20px !important; 
}
.slider-col-1-row-2 .slick-slide  {
    margin: 0px 12px !important;
}
.slider-col-1-row-2 .slick-prev {
        top: 50%;
        left: -20px;
    }
    .slider-col-1-row-2 .slick-next {
            top: 50%;
        right: -20px;
    }
}

/* Tablet Responsive (Medium Screens) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Reduce columns on tablets for better readability */
    .crp-slider-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
    }

    .crp-reviews-slider {
        padding: 50px 30px;
    }

    .crp-reviews-slider:not([data-columns="1"]) .crp-review-item {
        padding: 20px 18px;
    }

    .crp-reviews-slider .slick-prev {
        left: 15px;
    }

    .crp-reviews-slider .slick-next {
        right: 15px;
    }

    /* Modern style tablet adjustments */
    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-slider-grid {
        gap: 70px 25px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-item {
        padding: 65px 24px 28px 24px;
        margin-top: 45px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-photo,
    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-avatar {
        width: 90px;
        height: 90px;
        font-size: 32px;
        top: -45px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-reviewer-name {
        font-size: 16px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-title {
        font-size: 14px;
    }

    .crp-reviews-slider.crp-style-modern:not([data-columns="1"]) .crp-review-text {
        font-size: 13px;
    }
    .crp-reviewer-avatar {
    width: 50px;
    height: 50px;
    }
    .crp-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    .crp-style-default.slider-col-2-row-1 .slick-prev {
        left:-85px;
    }
    .crp-style-default.slider-col-2-row-1 .slick-next {
        right:-85px;
    }
        .crp-style-default.slider-col-3-row-1 .slick-prev {
        left:-85px;
    }
    .crp-style-default.slider-col-3-row-1 .slick-next {
        right:-85px;
    }
    .crp-style-default.slider-col-3-row-1 .slick-prev, .crp-style-default.slider-col-3-row-1 .slick-next {
    top: 55%;
}
}

/* Pagination Styles */
.crp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.crp-pagination-btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.crp-pagination-btn:hover {
    background-color: #516547;
    color: #fff;
    border-color: #516547;
}

.crp-pagination-btn:disabled,
.crp-pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.crp-pagination-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.crp-page-number {
    display: inline-block;
    padding: 8px 12px;
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 38px;
    text-align: center;
}

.crp-page-number:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

.crp-page-number.active {
    background-color: #C29826;
    color: #fff;
    border-color: #C29826;
    font-weight: 600;
}

.crp-page-ellipsis {
    padding: 8px 4px;
    color: #999;
    font-size: 14px;
}

.crp-pagination-info {
    font-size: 13px;
    color: #666;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* Mobile responsive pagination */
@media (max-width: 768px) {
    .crp-pagination {
        gap: 5px;
        padding: 15px 10px;
    }

    .crp-pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .crp-page-number {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 34px;
    }

    .crp-pagination-info {
        font-size: 12px;
        padding: 8px 12px;
    }
/* 
    .crp-pagination-numbers {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
    } */
    
}
