.finder-section-blk {
    background-color: #ffffff;
    position: relative;
    padding: 0px 0;
}
.wp-block-my-theme-find-perfect-modal{
        margin-top: 20px;
}
    .finder-section-blk .finder-modal-container {
        padding: 20px 16px;
        background: #000000;
        border-radius: 20px;
          box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
    }

.finder-section-blk .finder-modal-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
}

.finder-section-blk .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.finder-section-blk .section-title {
    font-size: 2rem;
    color: #ffffff;
    margin-block: 0 !important;
    display: inline-block;
}

.finder-section-blk .section-header p {
    font-size: 18px;
    color: #fff;
    position: relative;
}

.finder-section-blk .section-header p::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #ffb800 0%, rgba(255, 184, 0, 0) 100%);
}

.finder-section-blk .finder-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.finder-section-blk .finder-form-wrapper {
    background: #000000;
    padding: 0px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.finder-section-blk .finder-form {
    text-align: center;
}

.finder-section-blk .input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.finder-section-blk .model-helper {
    margin-top: 0px;
}

.finder-section-blk a {
    background: none;
    border: none;
    color: #ffd700 !important;
    width: fit-content;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
    justify-content: center;
}

.finder-section-blk a:hover {
    color: #fff8dc !important;
}

.finder-section-blk .popular-models {
    margin-top: 10px;
    text-align: center;
    color: #ffffff;
}

.finder-section-blk .popular-models h5 {
    font-size: 1.75rem;
    font-weight: 600;
}

.finder-section-blk .shortcode-container div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.finder-section-blk input#dgwt-wcas-search-input-4,
.finder-section-blk input#dgwt-wcas-search-input-1 {
    border: 2px solid #ffd700 !important;
}

.finder-section-blk .model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.finder-section-blk .model-tag {
    background: #ffd700;
    color: #000000;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.finder-section-blk .model-tag:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* More Models Dropdown Styles */
.finder-section-blk .more-models-dropdown {
    position: relative;
    margin-top: 20px;
    display: inline-block;
}

.finder-section-blk .more-models-btn {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    border: none;
    color: #000000;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.finder-section-blk .more-models-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.finder-section-blk .more-models-btn:hover::before {
    left: 100%;
}

.finder-section-blk .more-models-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.finder-section-blk .more-models-btn i {
    transition: transform 0.3s ease;
}

.finder-section-blk .more-models-dropdown.active .more-models-btn i {
    transform: rotate(180deg);
}

.finder-section-blk .dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 280px;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
}

.finder-section-blk .more-models-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.finder-section-blk .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: #333333 !important;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.finder-section-blk .dropdown-item:last-child {
    border-bottom: none;
}

.finder-section-blk .dropdown-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.4s ease;
}

.finder-section-blk .dropdown-item:hover::before {
    left: 100%;
}

.finder-section-blk .dropdown-item:hover {
    background: linear-gradient(135deg, #fff9e6, #fffcf0);
    color: #000000 !important;
    transform: translateX(5px);
}

.finder-section-blk .model-number {
    font-weight: 600;
    font-size: 14px;
    color: #333333;
}

.finder-section-blk .model-sales {
    font-size: 12px;
    color: #666666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.finder-section-blk .dropdown-item:hover .model-number {
    color: #000000;
}

.finder-section-blk .dropdown-item:hover .model-sales {
    background: #ffd700;
    color: #000000;
}

/* Custom Scrollbar for Dropdown */
.finder-section-blk .dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.finder-section-blk .dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.finder-section-blk .dropdown-content::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

.finder-section-blk .dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #ffb800;
}

/* Loading Animation */
.finder-section-blk .loading-models {
    color: #ffd700;
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* pop up modal */
.model-guide {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* When the popup is shown, set display to flex */
.model-guide.active {
    display: flex;
}


.guide-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.guide-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.guide-steps h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.guide-steps ol {
    padding-left: 20px;
    margin-left: 0 !important;
}

.guide-steps li {
    margin: 10px 0;
    color: #6b7280;
}
/* .tfc-category-header-section  .wp-block-my-theme-find-perfect-modal{
display: none;
} */
/* Responsiveness Tab and mobile */
@media (max-width: 768px) {
    .finder-section-blk {
        padding: 30px 0;
    }

.model-tags span:last-child {
  display: none;
}

    .finder-section-blk .finder-modal-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.finder-section-blk .section-title {
    font-size: 2rem;
    color: #000000;
    margin-block: 0 !important;
    display: inline-block;
}
.finder-section-blk .finder-form-wrapper {
    background: #000000;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.finder-section-blk .section-header {
    text-align: center;
    margin-bottom: 40px;
}
    .finder-section-blk .finder-modal-container {
        padding: 20px 16px;
        background: #FFD60287;
        border-radius: 20px;
    }
    .mobile-filter-row .finder-section-blk .finder-modal-container {
        background-color: #FFD60287;
      padding:0px;
  
    }
          .mobile-filter-row .finder-section-blk {
        padding: 0px 0 0px !important;
    }
   .mobile-filter-row .finder-section-blk .section-header{
    margin-bottom: 30px;
}
    .finder-section-blk {
        padding: 30px 0;
    }
    .tfc-category-header-section  .wp-block-my-theme-find-perfect-modal{
display: block;
margin: 14px 0px;
}
}

@media (max-width: 480px){
    .finder-section-blk .finder-form-wrapper{
        padding: 24px;
    }
    .finder-section-blk .popular-models {
    margin-top: 12px;
}
    .finder-section-blk .section-title {
    font-size: 1.5rem;
}
.finder-section-blk .popular-models h5 {
    font-size: 1.5rem;
}
.finder-section-blk {
        padding: 0px 0 10px;
    }
        .tfc-mobile-description {
             margin-top: 5px !important;
        }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .finder-section-blk {
        padding: 30px 0;
    }
}