

.diamond-search-sec .diamond-search {
    max-width: 972px;
    margin: auto;
}
.diamond-search-sec .search-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.diamond-search-sec .search-top{
    background:var(--pc);
    color:#fff;
    text-align:center;
    padding:16px;
    font-size:20px;
    font-weight:700;
}

.diamond-search-sec  .search-body{
    padding:16px 16px 16px 40px;
}

.diamond-search-sec .filter-row{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:18px;
}

.diamond-search-sec .filter-label{
    width:100px;
    font-weight:600;
    color:#333;
    font-size:18px;
    padding-top:8px;
    flex-shrink:0;
}

.diamond-search-sec .type-toggle{
    display:flex;
    background:#EDF4FA;
    border-radius:50px;    
    width:max-content;
    position: relative;
}

.diamond-search-sec .type-btn{
    border:none;
    background:transparent;
    padding:10px 22px;
    border-radius:50px;
    font-weight:600;
    color:var(--tc);
    transition:.3s ease;
    z-index:1;
    cursor: pointer;
}

.diamond-search-sec .type-toggle input[type="radio"]:checked + .type-btn{
    color:#fff;
}
.diamond-search-sec .type-toggle input[type="radio"]:checked + .type-btn::before{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:45%;
    height:100%;
    background:var(--tc);
    z-index:-1;
    border-radius: 50px;
    transition:.3s ease;
}
.diamond-search-sec .type-toggle input[type="radio"]:checked + .type-btn.lab-grown::before{
    left:45%;   
    width:55%;
    
}

.diamond-search-sec .filter-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    width:100%;
}

.diamond-search-sec .option-btn{
    min-width: 59px;
    height: 40px;
    border: none;
    background: #EDF4FA;
    border-radius: 8px;
    color: var(--tc);
    font-size: 14px;
    font-weight: 400;
    transition: .3s;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.diamond-search-sec .option-btn:hover{
    background:#dce9f7;
}
.diamond-search-sec .filter-options .filter-list{
    gap: 8px;
}
.diamond-search-sec .filter-options .filter-list input[type="checkbox"]:checked + .option-btn{
    background: var(--tc);
    color:#fff;
    font-weight: 600;
}

.diamond-search-sec .option-btn.shape-btn{
    width: 68px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:4px;
    padding: 8px 4px;
    cursor: pointer;
}
.diamond-search-sec .shape-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 90%;
  overflow: hidden;
  margin: auto;
  text-align: center;
}
.diamond-search-sec .shape-icon .shape-img{
    height:40px
}
.diamond-search-sec .diamond-shape-list .filter-options  li input[type="radio"]:checked + .option-btn.shape-btn {
    background:var(--tc);
    color:#fff;
    font-weight: 600;
}
.diamond-search-sec .diamond-shape-list .filter-options  input[type="radio"]:checked + .option-btn .shape-img{
    filter:brightness(0) invert(1);
}
.diamond-search-sec .filter-row.cut-filter .option-btn,
.diamond-search-sec .filter-row.polish-filter .option-btn,
.diamond-search-sec .filter-row.symmetry-filter .option-btn {
    min-width: 126px;
}
.diamond-search-sec .filter-row.fluorescence-filter .option-btn {
    min-width: 107px;
}
.diamond-search-sec .more-btn{
    border:none;
    background:transparent;
    color:var(--tc);
    font-weight:600;
    padding:10px;
}

.diamond-search-sec .more-btn i{
    transition:.3s;
}

.diamond-search-sec .more-btn.active i{
    transform:rotate(180deg);
}

.diamond-search-sec .extra-shape{
    display:none;
}
.diamond-search-sec .extra-shape.show{
    display:inline-flex;
    width:auto;
}


.diamond-search-sec .size-box{
    display:flex;
    gap:16px;
}
.diamond-search-sec .size-field label{
    font-size:14px;
    color:var(--tc);
    font-weight: 400;
}
.diamond-search-sec .size-field input{
   width:120px;
    height:40px;
    border:2px solid #E5E5E5;
    border-radius:6px;
    padding:0 10px;
}


.diamond-search-sec .advanced-filters{
    display:none;
}

.diamond-search-sec .advanced-filters.show{
    display:block;
    animation:fadeIn .3s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


.diamond-search-sec .show-more-wrap{
    margin-top:10px;
    max-width: calc(100% - 120px);
    margin-left: auto;
}

.diamond-search-sec .show-filter-btn{
    width:100%;
    height:40px;
    border:none;
    background:#EDF4FA;
    border-radius:8px;
    color:var(--tc);
    font-weight:400;
}


.diamond-search-sec .search-footer{
    display:flex;
    gap:12px;
    margin-top:25px;
}
.diamond-search-sec .search-footer button{
      flex:1;
    height:46px;
    border:none;
    border-radius:50px;    
    font-weight:700;
}
.diamond-search-sec .search-footer button.reset-btn{
    background:#cbe8f6;
    color:var(--sc);    
}

.diamond-search-sec .search-footer button.search-btn{
    background:var(--sc);
    color:#fff;
}


.diamond-search-sec .table {
  font-size: 14px;
  font-weight: 400;
}
.diamond-search-sec .table thead {
  background: #EDF4FA;
  border-bottom: 4px solid transparent;
}
.diamond-search-sec .table thead th {
  font-weight: 400;
}
.diamond-search-sec .table tbody tr:nth-child(even) td {
  background: #FBFBFB;
}
.diamond-search-sec .available-stones-count{
    background:#4F83AA;
    width:100%;
    padding: 16px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-radius: 15px 15px 0px 0px;
    color: #fff;
    position: sticky;
    left: 0;
    line-height: 24px;

}

.diamond-search-sec .available-stones-count .back-btn {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  display: flex;
  gap: 4px;
  align-items: center;
}
.diamond-search-sec .available-stones-count .back-btn img {
  filter: invert(1);
  transform: scale(.7);
}
#diamond-search-result-block{
    width:96%;
    margin:auto;
    background: #FFFFFF;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08), 0px 2px 20px rgba(0, 0, 0, 0.12);
    border-radius: 15px;
    overflow-x: auto;
    max-width: 1500px;
}
#diamond-search-result-block .table tr{
    vertical-align: middle;
}

.reveal-more-btn {
  background: #E6EDF3;
  padding: 8px 16px;
  border: none;
  margin: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #242424;
  display: inline-block;
}
.reveal-more-btn.mob-reveal-btn {
  display: block;
  text-align: center;
  margin: 12px 0;
}
.diamond-search-sec .table tbody td .media-icon-wrapper,
.mobile-results .result-card .media-icon-wrapper{
    width: 34px;
    height:34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:#E6EDF3;
    cursor: pointer;
}
.diamond-search-sec .table tbody td .media-icon-wrapper.disabled {
    pointer-events: none;
    opacity: .2;
}
/*================= diamond search form design css END ======================*/

/* media popup css  */
#item_media_modal .modal-xl{
    max-width:850px;
    border-radius: 25px;
}

.videoThumb {
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  min-width: 100px;
  width:100%;
  border-radius: 10px;
  cursor: pointer;
  height:100px;
}
.imgThumb {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  height: 100px;
  max-width: 100px;
  margin-bottom: 20px;min-width: 100px;
}

 .smThumbnailList, 
 .video-box #bigImg {
    height: 410px;
  }

 .smThumbnailList li img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, .2);
  margin-bottom: 10px;
  cursor: pointer;
}

#item_media_modal .modal-dialog.modal-xl {
max-width: 850px;
}
#item_media_modal .modal-content {
border-radius: 30px;
}
.modal-content .modal-body {
padding: 40px;
}
.smThumbnailList {
    padding: 0;
    overflow-y: auto;
    scrollbar-width: none;
}
.videoThumb .videoOv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}
#bigImg {
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  max-height: 548px;
  height: 100%;
  margin:auto;
  object-fit: cover;
}
#item_media_modal .btn-close {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index:1;
}

@media(min-width:1800px){
    .section-title {
        font-size: 65px;
    }
    .form-section .container {
        max-width: 1765px;
    }
    .form-section .form-left-content {
        padding-top: 250px;
    }
    .form-section .section-title {
        font-size: 100px;
        line-height: 121px;
    }
    .form-section .sec-sub-title {
        font-size: 35px;
        width: 660px;
        line-height: 42px;
    }
}

@media(min-width:768px){
    .diamond-search-sec .table {
        display: inline-table!important;
    }
}
@media(max-width:1399px){
    .diamond-search-sec .table thead th ,
    .diamond-search-sec .table tbody td {
        /* font-size: 13px; */
        padding: 6px 4px;
    }
}
@media(max-width:1200px){
 
   .diamond-search .diamond-search .option-btn {
        min-width: 56px;
   }
   .diamond-search .filter-row.cut-filter .option-btn, 
   .diamond-search .filter-row.polish-filter .option-btn, 
   .diamond-search .filter-row.symmetry-filter .option-btn {
        min-width: 120px;
    }
    .diamond-search .filter-row.fluorescence-filter .option-btn {
        min-width: 102px;
    }
}
@media(max-width:991px){
    
    .form-section .section-title {
        font-size: 38px;
    }
    .form-section p b{
        font-size:20px;
    }
   
    .diamond-search .diamond-search .option-btn {
        min-width: 50px;
    }
    .diamond-search .filter-row.cut-filter .option-btn, 
    .diamond-search .filter-row.polish-filter .option-btn, 
    .diamond-search .filter-row.symmetry-filter .option-btn {
        min-width: 80px;
    }
    .diamond-search .filter-row.fluorescence-filter .option-btn {
        min-width: 67px;
    }
}
@media(max-width:768px){
    .diamond-search .search-top {
        font-size: 14px;
    }
    .diamond-search .filter-row.fluorescence-filter .option-btn {
        min-width: 61px;
    }
    .diamond-search .filter-row.cut-filter .option-btn, 
    .diamond-search .filter-row.polish-filter .option-btn, 
    .diamond-search .filter-row.symmetry-filter .option-btn {
        min-width: 73px;
    }
      .diamond-search .search-top{
        font-size:18px;
        padding:14px;
    }

    .diamond-search  .search-body{
        padding:18px;
    }

    .diamond-search  .filter-row{
        flex-direction:column;
        gap:10px;
    }

    .diamond-search  .filter-label{
        width:100%;
        padding-top:0;
    }

    .diamond-search  .shape-btn{
        width:72px;
    }

     .video-box ul.smThumbnailList {
        height: auto;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        width: auto;
        justify-content: center;
    }
    .video-box .big-frame-col{
        min-height: 300px;
    }

    /* mobile diamond result cards css  */
    .mobile-results .result-card {
        box-shadow:  2px 2px 4px rgba(0, 0, 0, 0.06), 0px 2px 14px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
        padding: 12px;
        border: none;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }
    .mobile-results .result-card:first-child {
        border-radius: 0px 0px 15px 15px;
    }
    .mobile-results .result-card .title {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 0;
    }

    .mobile-results .result-card p {
        font-size: 13px;
        margin: 0;
    }

    .mobile-results .result-card .reveal-price-mob {
        background: var(--tc);
        width: 100%;
        padding: 6px;
        line-height: 22px;
        font-weight: 600;
        color: #fff;
        border-radius: 30px;
        cursor: pointer;
        border: none;
    }

    .mobile-results .result-card .reveal-price-mob img {
        filter: invert(1) brightness(8.5);
    }
    .diamond-search-sec .available-stones-count {
        font-size: 16px;
        padding: 12px 16px;
    }
    #diamond-search-result-block:has(.mobile-results){
        box-shadow: none;
        overflow: visible;
    }
    #diamond-search-result-block:has(.no-diamond-available){
        box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08), 0px 2px 20px rgba(0, 0, 0, 0.12);
    }
    .mobile-results   .show-more-wrap .show-filter-btn {
        background: #EDF4FA;
        width: 100%;
        border-radius: 5px;
    }

    .diamond-search-sec .mobile-results .show-more-wrap {
        width: 100%;
        margin: 0;
        max-width: 100%;
        border-radius: 5px;
    }
}
@media(max-width:575px){
    .modal-content .modal-body {
        padding: 14px;
    }
    .imgThumb {
        height: 80px;
        max-width: 80px;
        min-width: 80px;
    }
    .videoThumb {
        min-width: 80px;
        width: 80px;
        height: 80px;
    }
    #item_media_modal .modal-content {
        border-radius: 10px;
    }
    #item_media_modal .btn-close {
        right: 0px;
        top: 0px;
    }

}
@media(max-width:500px){
    .diamond-search-sec .diamond-shape-list .filter-options li{
        width:calc((100% - 40px) / 5);
    }
    .diamond-search-sec .diamond-shape-list .option-btn.shape-btn {
        width: 100%;
    }
    .diamond-search-sec .diamond-shape-list .more-btn,
    .diamond-search-sec .diamond-shape-list .more-btn{
        padding:5px;
        width:62px;
    }
    .diamond-search-sec .filter-list li {
        width: calc((100% - 50px ) / 6);
    }
    .diamond-search-sec .filter-list li {
        width: calc((100% - 40px) / 6);
    }
    .diamond-search-sec .option-btn {
        min-width: 40px;
    }
    .diamond-search-sec .show-more-wrap {
        margin-right: auto;
    }

    .diamond-search-sec .show-filter-btn {
        background: none;
    }
    .diamond-search-sec .search-footer{
        flex-direction: column;
    }
    .diamond-search-sec .search-footer button {min-height: 40px;}
    .diamond-search .filter-row.cut-filter .option-btn, 
    .diamond-search .filter-row.polish-filter .option-btn, 
    .diamond-search .filter-row.symmetry-filter .option-btn {
        min-width: 50px;
    }
    .diamond-search .filter-row.fluorescence-filter .option-btn {
        min-width: 47px;
    }
    .diamond-search-sec .section-title {
        font-size: 28px;
        font-weight: 600;
    }
     .diamond-search .search-top {
        font-size: 15px;
     }
    .video-box #bigImg {
        height: auto;
        margin-bottom: 30px;
    }
}
@media(max-width:390px){
     .diamond-search-sec .diamond-shape-list .filter-options li{
        width:calc((100% - 30px) / 4);
    }
    .diamond-search-sec .diamond-shape-list .option-btn.shape-btn {
        width: 75px;
    }
    .diamond-search-sec .option-btn {
        min-width: 48px;
    }
}
@media(max-width:389px){
    .video-section .video{
        height: 169px;
        width: 300px;
        border-radius: 0;
    }
   .diamond-search .filter-row .size-field input {
        width: 110px;
    }
     .diamond-search-sec .diamond-shape-list .option-btn.shape-btn {
        width: 66px;
    }
    .diamond-search-sec .filter-list li {
        width: calc((100% - -21px) / 6);
    }
}
