/*
 Theme Name:   LoveTravel Child
 Theme URI:    https://nicdark.com
 Description:  Child theme for LoveTravel
 Author:       Your Name
 Template:     lovetravel
 Version:      1.0
*/


/* === ND Travel - Review Form exact styling === */
.nd-review-heading {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin: 20px 0 12px;
    color: #111;
}

/* Tabs */
.nd-review-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.nd-review-tab {
    background: transparent;
    border: none;
    padding: 8px 14px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    border-radius: 8px;
}
.nd-review-tab.nd-active {
    background: #fe8c11;
    color: #fff;
}

/* form wrapper styles (applies to default WP comment-respond container) */
.comment-respond {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    max-width: 980px;
    margin: 18px auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    font-family: inherit;
}

/* Rows/columns */
.nd-review-row {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.nd-review-col {
    flex: 1 1 48%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

/* Labels and inputs */
.nd-review-col label,
.nd-review-textarea label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.nd-review-col input[type="text"],
.nd-review-col input[type="email"],
.nd-review-col select,
.nd-review-textarea textarea,
#comment {
    width: 100% !important;
    background: #f5f6fc !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    color: #222 !important;
    box-shadow: none !important;
}

/* textarea specific */
.nd-review-textarea {
    margin-top: 6px;
}
.nd-review-textarea textarea {
    min-height: 120px;
    resize: vertical;
}

/* rating stars (radio inputs visually replaced by stars) */
.nd-rating-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    background: #f5f6fc;
    border-radius: 10px;
}

/* hide radios visually but keep accessible */
.nd-rating-stars input[type="radio"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 0;
    height: 0;
}

/* star labels */
.nd-rating-stars label {
    font-size: 22px;
    color: #cfcfcf;
    cursor: pointer;
    line-height: 1;
    transition: color .12s ease;
}

/* checked and hover colors */
.nd-rating-stars input:checked ~ label,
.nd-rating-stars label:hover,
.nd-rating-stars label:hover ~ label {
    color: #ffd037;
}

/* Submit button */
.nd-review-submit,
button.nd-review-submit,
.btn-submit-review {
    background: #fe8c11 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    font-weight: 700;
    cursor: pointer;
    float: right;
    margin-top: 8px;
}
.nd-review-submit:hover,
button.nd-review-submit:hover,
.btn-submit-review:hover {
    background: #e07c10 !important;
}

/* Displayed/stored rating stars in comments */
.nd-comment-rating { margin-bottom: 8px; }
.nd-comment-rating .nd-star { color: #cfcfcf; font-size: 16px; margin-right: 4px; }
.nd-comment-rating .nd-star.nd-filled { color: #ffd037; }

/* small country label style */
.nd-comment-country { font-size: 13px; color: #666; margin-top: 6px; }

/* responsive */
@media (max-width: 768px) {
    .nd-review-col { flex-basis: 100%; }
    .nd-review-tabs { gap: 8px; flex-wrap: wrap; }
    .nd-review-submit { width: 100%; float: none; }
}








/* --- Fix responsiveness & layout for tabs --- */
.nd-add-review, .nd-reviews-list {
    display: none;
}
.nd-active-tab {
    display: block !important;
}
.nd-hidden-tab {
    display: none !important;
}

/* Make sure inputs stay within the box */
.nd-review-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.nd-review-row {
    flex-wrap: wrap;
}

/* Keep form fields aligned properly when tab toggles */
.comment-respond {
    overflow: hidden;
}

/* Fix for name/email fields overflow on small screens */
@media (max-width: 768px) {
    .nd-review-row {
        flex-direction: column;
        gap: 10px;
    }
}







/* Average Rating Display */
.nd-average-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #222;
}
.nd-average-rating .nd-star {
    font-size: 18px;
    color: #cfcfcf;
}
.nd-average-rating .nd-star.nd-filled {
    color: #ffd037;
}
.nd-average-rating .nd-average-number {
    font-size: 16px;
    margin-left: 4px;
    color: #111;
}









/* Related Packages Slider Layout */
.nd-related-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.nd-related-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.nd-related-slider .swiper-slide {
  width: 350px; /* adjust to match your layout */
  margin-right: 20px;
  flex-shrink: 0;
}

.nd-related-slider .swiper-button-next,
.nd-related-slider .swiper-button-prev {
  color: #fe8c11; /* orange brand color */
  top: 45%;
}

@media (max-width: 768px) {
  .nd-related-slider .swiper-slide {
    width: 80%;
  }
}







/* === Contact Buttons Row === */
.nd-contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

/* Same style as your orange tabs but custom colors per platform */
.nd-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: #fff !important;
    transition: all 0.25s ease;
    border: none;
    line-height: 1;
}

/* WhatsApp button */
.nd-whatsapp {
    background-color: #25D366;
}
.nd-whatsapp:hover {
    background-color: #1ebe5d;
}

/* Messenger button */
.nd-messenger {
    background-color: #0084FF;
}
.nd-messenger:hover {
    background-color: #0073e6;
}

/* Icons inside */
.nd-contact-btn i {
    font-size: 18px;
    line-height: 1;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .nd-contact-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    .nd-contact-btn {
        flex: 1 1 48%;
        justify-content: center;
    }
}
