
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2'),
       url('/fonts/Inter-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
body {
    font-family: 'Inter', sans-serif;
}

    .banner-container {
    
     

    }

    .horse-banner {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      height: 350px;
    }

    .banner-image {
      width: 100%;  
      height: 100%;
      object-fit: cover;
    }      

    .overlay {                            
        position: absolute;
        top: 0;
        left: 0;
        width: 70%;
        height: 100%;
        background: linear-gradient(94.38deg, #394623 16.6%, #BFB4A7 92.8%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        border-radius: 0% 333px 0% 0%;
 
    }

    .banner-text {
      color: white;
      font-weight: 500;
    }

    .banner-heading {
      font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
  font-family: Inter;
  letter-spacing: -0.32px;
    }

    .carousel-indicators {
      bottom: 20px;
      
    }

    .carousel-indicators button {
      width: 100%;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      margin: 0 4px;
    }

    .carousel-indicators .active {
      background-color: white;
    }

   

    @media (max-width: 768px) {
      .search-input{
          width: 70%;
      }
      .overlay {
        width: 100%;
        background: linear-gradient(to bottom, rgba(94, 114, 86, 0.95) 70%, rgba(94, 114, 86, 0.7));
      }

      .banner-heading {
        font-size: 1.5rem;
      }
    }


    .carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
 
}


#searchIcon{
  margin-right: 10px;
}
.search-container {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(237, 241, 243, 1);
  box-shadow: 0px 1px 2px 0px rgba(228, 229, 231, 0.24);
         
        }
        
        .search-input {
            border: none;
            outline: none;
            background: transparent;
            flex: 1;
            font-size: 24px;
            color: rgb(190, 190, 190);
            font-family: Inter;
            font-weight: 400;
            line-height: 140%;
            letter-spacing: -1%;
            padding-left: 10px;
        }
        
        .search-input::placeholder {
            color: #9ca3af;
        }
        
        .search-icon {
            color: #f59e0b;
            font-size: 18px;
            margin-right: 12px;
        }
        
        .filter-section{
         
            padding-left: 16px;
            margin-left: 16px;
        }
        
        .filter-btn {
          color: rgb(50, 49, 53);
          background: none;
          border: none;
          font-size: 14px;
          font-weight: 500;
          font-family: Inter;
          line-height: 140%;
          letter-spacing: 0%;
          gap: 10px;
          display: flex;
          justify-content: center;
          align-items: center;
        }
        
        .filter-btn:hover {
            color: #d97706;
        }
        
        .filter-icon {
            font-size: 16px;
        }
        
        .filter-count {
            background: #f59e0b;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
        }
        .nav-pills .nav-link {
          border-radius: 22px;
          color: rgb(50, 49, 53);
          margin-right: 0.5rem;
          margin-bottom: 0.5rem;
          font-weight: 500;
          padding: 0.5rem 1.25rem;
          transition: all 0.2s ease;
          border: 1px solid rgba(255, 214, 166, 1);
          background: rgba(248, 248, 248, 1);
          font-family: Inter;
          letter-spacing: 0%;
        }
        
        .nav-pills .nav-link:hover {
          background: rgba(248, 248, 248, 0.8);
            color: rgb(50, 49, 53);
        }
        .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
          background: rgba(248, 248, 248, 1) ;
          color: rgb(50, 49, 53);
        }




     
   
        
        .category-card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            height: 180px;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .category-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .category-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(180deg, rgba(131, 148, 103, 0) 43.18%, rgba(31, 47, 4, 0.9) 88.64%);
            padding: 1rem;
            display: flex;
            align-items: flex-end;
        }
        
        .category-title {
          color: white;
          font-size: 1.1rem;
          font-weight: 600;
          margin: 0;
          text-shadow: 0 1px 3px rgba(0,0,0,0.5);
          font-family: Inter;
          line-height: 21px;
          letter-spacing: -0.32px;
        }
        
        .tab-container {
          
            padding-top: 1.5rem;
        }
        
       
        
        @media (max-width: 768px) {
            .category-card {
                height: 160px;
            }
            
            .category-title {
                font-size: 1rem;
            }
            
            .nav-pills .nav-link {
                margin-right: 0.25rem;
                padding: 0.375rem 1rem;
                font-size: 0.9rem;
            }
            
            .tab-container {
                padding-top: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .category-card {
                height: 140px;  
            }
            
            .category-title {
                font-size: 0.95rem;
            }
        }




        .news-container {
            
        }
        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .news-card {
            border-radius: 12px;
            overflow: hidden;
            border-radius: 12px;
            margin-bottom: 5px;
            background-color: #fff;
            height: 100%;
        }
        .news-img-container {
            position: relative;
            
        }
        .news-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 12px;

        }
        .news-actions {
            position: absolute;
            bottom: 10px;
            left: 10px;
            display: flex;
     
            z-index: 10;
        }
        .action-icon {
          font-family: Inter;
 
            border-radius: 6px;
            padding: 5px 8px;
            display: flex;
            align-items: center;
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }
        .action-icon svg {
            margin-right: 3px;
            width: 20px;
            height: 20px;
          }
        .news-content {
          padding-left: 0px;
          padding-top: 20px;
        }
        .news-title {
          font-size: 18px;
          margin-bottom: 5px;
          color: rgb(26, 26, 26);
          font-family: Inter;
          font-weight: 600;
          line-height: 16px;
          letter-spacing: -0.32px;
        }
        .news-time {
          color: rgb(145, 145, 145);
          font-family: Inter;
          font-weight: 400;
          font-size: 12px;
          line-height: 16px;
          letter-spacing: -0.32px;
        }
        .new-img-overly {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(180deg, rgba(131, 148, 103, 0) 42.27%, rgba(31, 47, 4, 0.9) 85.57%);
            padding-bottom: 60px !important;
            padding: 1rem;
            display: flex;
            border-radius: 12px;
            align-items: flex-end;
        }
        .text-muted {
          --bs-text-opacity: 1;
          color: rgb(131, 148, 103);
          font-family: Inter;
          font-weight: 400;
          line-height: 21px;
          letter-spacing: -0.32px;
          font-size: 18px;
          text-decoration: none;
        }
        .news-header h2 {
        font-family: Inter;
        font-weight: 600;
        line-height: 21px;
        letter-spacing: -0.32px;
      }










        /* Sort Section Styling */
        .sort-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            margin-bottom: 20px;
            background-color: #fff;
          
        }
        .sort-section h2 {
          font-family: Inter;
          font-weight: 600;
          line-height: 21px;
          letter-spacing: -0.32px;
        }
            .filterSectionforsale .sort-controls ,  .sort-section .sort-controls {
            display: flex;
            align-items: center;
            gap: 10px;
      
            border-radius: 6px;
            padding: 10px 20px;
        }
       .filterSectionforsale .sort-controls .dropdown button   ,  .sort-section .dropdown button {
          font-size: 26px;
          color: rgb(26, 26, 26);
          display: flex;
          gap: 19px;
          padding: 0px;
          align-items: center;
          font-family: Inter;
          font-weight: 400;
          line-height: 140%;
          letter-spacing: -1%;
        }
        .filterSectionforsale    .dropdown button:focus  , .sort-section .dropdown button:focus {
            outline: none;
            box-shadow: none;
        }
        .filterSectionforsale  .dropdown button:active    , .sort-section .dropdown button:active{
          border: none  !important;
          border-color: #fff !important;
        }
      .filterSectionforsale   .dropdown-menu  , .sort-section .dropdown-menu {
            border-radius: 10px;
            min-width: 150px;
        }
       .filterSectionforsale .dropdown-item ,   .sort-section .dropdown-item {
            font-size: 0.9rem;
            color: #6c757d;
        }
       .filterSectionforsale  .dropdown-item:hover  ,  .sort-section .dropdown-item:hover {
            background-color: #e9ecef;
        }
       .filterSectionforsale svg ,  .sort-section svg {
       width: 26px;
        height: 26px;
        cursor: pointer;
        }
        /* Tabs Styling */
        .nav-tabs .nav-link {
      color: rgb(0, 0, 0);
        border: none;
        border-radius: 8px;
        padding: 8px 20px;
        margin-right: 5px;
        background: rgba(242, 243, 240, 1);
        font-family: Inter;
        font-weight: 400;
        line-height: 140%;
        letter-spacing: -1%;
        text-align: center;
        font-size: 20px;
        }
        #myTab {
        gap: 15px;
      }
        .nav-tabs .nav-link.active {
            background-color: rgba(131, 148, 103, 1);
            color: white;
        }
        /* Card Container Styling */
        .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 20px;
        }
        @media (min-width: 1200px) {
            .card-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (min-width: 768px) and (max-width: 1199px) {
            .card-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 767px) {
            .card-container {
                grid-template-columns: 1fr;
            }
        }
                .card-container-cate {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 20px;
        }
        @media (min-width: 1200px) {
            .card-container-cate {
                grid-template-columns: repeat(1, 1fr);
            }
        }
        @media (min-width: 768px) and (max-width: 1199px) {
            .card-container-cate {
                grid-template-columns: repeat(1, 1fr);
            }
        }
        @media (max-width: 767px) {
            .card-container-cate {
                grid-template-columns: 1fr;
            }
        }
        /* Card Styling */
        .card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            background-color: #fff;
            min-height: 400px;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        .card-header {
            position: relative;
            height: 200px;
            overflow: hidden;
            padding: 0px;
        }
        .card-img-top {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .icon-bar svg {
          width: 30px;
          height: 30px;
        }
        .icon-bar {
            position: absolute;
            top: 10px;
            right: 10px;
            display: flex;
            gap: 10px;
        color: #fff;
        font-size: 20px;
            padding: 5px;
            border-radius: 10px;
            z-index: 10;
        }
        .card-body {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .card-title {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 5px;
            color: rgba(26, 26, 26, 1);
                display: flex;
            justify-content: space-between;
            font-family: Inter;
            font-weight: 700;
            font-size: 25px;
            line-height: 21px;
            letter-spacing: -0.32px;
        }
        .card-title svg {
            width: 30px;
            height: 30px;
          }
        .card-text {
         font-size: 0.9rem;
          margin-bottom: 7px;
          border-radius: 22px;
          color: rgb(50, 49, 53);
          padding: 7px;
          border: 1px solid rgba(222, 231, 235, 1);
          background: rgb(237, 243, 228);
          margin-right: 10px;
        }
        .price {
            font-size: 1.1rem;
            font-weight: bold;
            color: rgba(131, 148, 103, 1);
            margin-top: 10px;
            font-family: Inter;
            font-weight: 600;
            line-height: 21px;
            letter-spacing: -0.32px;

        }
        .bid-info {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .profile-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
        }
        .modal-content {
            border-radius: 15px;
        }
        .modal-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 15px 15px 0 0;
        }
        .rating {
            color: #ffc107;
        }
        .like-icon {
            position: absolute;
            bottom: 10px;
            right: 10px;
            width: 24px;
            height: 24px;
            fill: #ff6b6b;
            stroke: #ff6b6b;
            stroke-width: 1;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        /* List View Styling */
        .list-view .card-container {
            grid-template-columns: 1fr;
        }
        .list-view .card {
            flex-direction: row;
            min-height: 200px;
            align-items: center;
            padding: 10px;
        }
        .list-view .card-header {
            width: 40%;
            height: 100%;
            margin-right: 10px;
            padding: 0px;
        }
        .list-view .card-img-top {
            width: 100%;
            height: 100%;
            border-radius: 15px 0 0 15px;
            border-right: 1px solid #eee;
        }
        .list-view .card-body {
            width: 60%;
            padding: 0 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .list-view .card-text {
            margin-bottom: 5px;
        }
        .list-view .price, .list-view .bid-info {
            margin-top: 5px;
        }
        .list-view .d-flex {
            margin-top: 10px;
        }
        /* Responsive Adjustments */
        @media (max-width: 767px) {
            .sort-section h2 {
                font-size: 1.2rem;
            }
            .sort-section .dropdown button {
                padding: 3px 10px;
                font-size: 0.8rem;
            }
            .card {
                min-height: 350px;
            }
            .card-header {
                height: 150px;
            }
            .list-view .card {
                min-height: 150px;
            }
            .list-view .card-header {
                width: 40%;
            }
            .list-view .card-body {
                width: 60%;
            }
            .modal-img {
                height: 200px;
            }
        }
        .justify-content-space-between{
          justify-content: space-between !important;
        }
        
      .hsn-btn{
         font-family: Inter;
          font-weight: 500;
          font-size: 12px;
          leading-trim: Cap height;
          line-height: 140%;
          letter-spacing: -1%;
          text-align: center;
          background: rgba(255, 255, 255, 1);
          border: 1px solid;
          border-image-source: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
          color: rgba(161, 181, 127, 1);
      }

 
        .price-header {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
       
            color: #555;
            font-size: 1.25rem;
            font-weight: 500;
        }
        .start-price {
            color: #4a4a4a;
        }
        .current-price {
            color: #6c8a60;
            font-weight: bold;
        }
        .bid-section {
            background-color: #748f67;
            color: white;
            border-radius: 8px;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
        }
        .bid-count {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: bold;
        }
        .bid-count i {
            margin-right: 10px;
            font-size: 1.5rem;
        }
        .time-left {
            text-align: right;
        }
        .time-label {
            font-size: 0.875rem;
            opacity: 0.9;
            margin-bottom: 0;
        }
        .time-value {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 0;
        }
        .bid-count svg {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        }





        .horse-card {
            width: 100%;
            height: 100%;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            position: relative;
            background-image: url('https://www.post-your-horse.com/public/images/hsn/cate4.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .card-overlay {
          background: linear-gradient(180deg, rgba(23, 48, 86, 0) 2.78%, #173056 61.94%);

            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            margin-bottom: auto;
        }
        
        .logo-icon {
            width: 20px;
            height: 20px;
            margin-right: 6px;
        }
        
        .brand-text {
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            letter-spacing: 1px;
        }
        
        .content-bottom {
            margin-top: auto;
        }
        
        .horse-title {
           font-size: 28px;
            color: #fff;
            margin-bottom: 15px;
            font-family: Inter;
            font-weight: 700;
            line-height: 40.64px;
            letter-spacing: -0.42px;
            text-transform: uppercase;
        }
        
        .buy-btn {
           border: none;
            color: white;
            padding: 18px 0;
            border-radius: 8px;
            font-weight: 600;
            font-size: 24px;
            width: 100%;
            transition: all 0.3s ease;
            letter-spacing: 0.3px;
            background: rgb(255, 154, 36);
        }
        
        .buy-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
            color: white;
        }

 .marque .slider {
      height: 80px;
      position: relative;
      width: 100%;
      display: grid;
      place-items: center;
      overflow: hidden;
    }

  .marque  .slider::before,
  .marque  .slider::after {
      position: absolute;
      content: "";
      height: 100%;
      width: 15%;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(to right, white 0%, transparent 100%);
    }

  .marque  .slider::after {
      right: 0;
      top: 0;
      transform: rotateZ(180deg);
    }

   .marque .slider::before {
      left: 0;
      top: 0;
    }

   .marque .slide-track {
      width: calc(120px * 20); /* 10 images   2 sets */
      display: flex;
      animation: scroll 25s linear infinite;
      justify-content: space-between;
    }

  .marque  .slide {
      width: 120px;
      height: 60px;
      display: grid;
      place-items: center;
      padding: 5px;
      transition: 0.5s;
      cursor: pointer;
    }

  .marque  .slide img {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
    }

  .marque  .slide:hover {
      transform: scale(0.85);
    }
  .marque  h2 {
  font-family: Inter;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.32px;
}

    @keyframes scroll {
      0% {
        transform: translateX(0px);
      }
      100% {
        transform: translateX(calc(-120px * 10));
      }
    }

    @media screen and (max-width: 768px) {
    .marque  .slide-track {
        width: calc(80px * 20);
      }

    .marque  .slide {
        width: 80px;
      }

      @keyframes scroll {
        0% {
          transform: translateX(0px);
        }
        100% {
          transform: translateX(calc(-80px * 10));
        }
      }
    }



    /* header */

          .logo-text {
    font-family: 'Impact', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, #ffcc00, #ff6600);
    /* -webkit-background-clip: text; */
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    margin-bottom: 0;
}    
.create-icon{
  width: 35px !important;
  height: 35px !important;
  background-color: rgba(80, 104, 201, 1);
  box-shadow: 0px 0px 5px 0px rgba(80, 104, 201, 1);

}
.create-icon svg{
    width: 18px;
  height: 18px;
}
.subtext {
    font-family: 'Arial', sans-serif;
    font-size: 0.75rem;
    font-style: italic;
    margin-top: -5px;
    color: #555;
    margin-left: 3px;
}   

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    border-radius: 50%;
 
    position: relative;
}

.nav-icon.user-icon {
    background-color: #ffc107;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background-color: #ff6600;
    border-radius: 50%;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-container {
    padding: 10px 15px;  
}

.nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

 

/* Dropdown styling */
.dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0.5rem 0;
    min-width: 240px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.dropdown-item svg {
    margin-right: 0.5rem;
}

.dropdown-item:hover {
    background-color: #EDF1F3;
}

.dropdown-item.text-danger:hover {
    background-color: #fff5f5;
}

.dropdown-header {
    font-weight: 600;
    color: #333;
}

/* Notification dropdown specific styling */
.dropdown-menu .small {
    font-size: 0.8rem;
}

/* Responsive adjustments for small screens (320px to 490px) */
@media (max-width: 490px) {
    .logo-container img{
        width: 100px;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    
    .subtext {
        font-size: 0.6rem;
        margin-top: -3px;
    }
    
    .nav-icon {
        width: 32px;
        height: 32px;
        margin-left: 6px;
    }
    
    .nav-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .notification-badge {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
    
    .header-container {
        padding: 8px 10px;
    }
}

.dropdown-toggle::after {
    display: none !important;
  }



 

  /* single-product styling */
 
 
        /* Popup Overlay */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .popup-overlay.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Popup Content */
        .popup-content {
            background: white;
            border-radius: 16px;
            padding: 32px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.8);
            animation: popIn 0.3s ease forwards;
        }

        .popup-title {
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin-bottom: 16px;
        }

        .popup-message {
            color: #666;
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 32px;
        }

        .popup-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .popup-button {
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            border: none;
            transition: all 0.2s ease;
            min-width: 100px;
        }

        .register-btn {
          background: linear-gradient(90deg, #A3AF90 1.86%, #5068C9 50.93%, #F99D32 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
            color: white;
        }

        .register-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(132, 250, 176, 0.4);
        }

        .cancel-btn {
            background: #EDF1F3;
            color: #666;
            border: 1px solid #e9ecef;
        }

        .cancel-btn:hover {
            background: #e9ecef;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes popIn {
            to {
                transform: scale(1);
            }
        }

        .demo-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .demo-title {
            font-size: 28px;
            color: #333;
            margin-bottom: 20px;
        }
 
   .single-product .pedigree-title {
    text-align: left;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

.single-product .pedigree-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 8px;
    margin: 5px;
    text-align: center;
    font-size: 14px;
    color: #666;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.single-product .generation-row {
    margin-bottom: 15px;
}

.single-product .gen-1 {
    max-width: 100%;
    margin: 0 auto 50px;
}

.single-product .gen-2 {
    max-width: 100%;
    margin: 0 auto 50px;
}

.single-product .gen-3 {
    max-width: 100%;
    margin: 0 auto 50px;
}

.single-product .gen-4 {
    max-width: 100%;
    margin: 0 auto 50px;
}

.single-product .gen-5 {
    max-width: 100%;
    margin: 0 auto 50px;
}

.single-product .gen-6 {
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .single-product .pedigree-box {
        font-size: 12px;
        padding: 8px 4px;
        margin: 3px;
        min-height: 40px;
    }
}

   .single-product .category-overlay{
      display: block;
   }
   .rating_button{
    border: 1px solid #DEE7EB;

    color:#1A1A1A;
    font-size:16px;
    padding:10px 20px;
      background: #FFFFFF;
      border: 1px solid #DEE7EB


   }
   .ratting_section_name{
      color:#839467;
    
      font-size:16px;
      font-weight:500;
   }

   p{
      color:#979797;
      font-size:16px;
   }
    .single-product .icon_modal {
        top: 95% !important;
    }

    .single-product .page-title {
        font-family: Inter;
        font-weight: 600;
        font-size: 30px;
        color: #000;
        line-height: 120%;
        letter-spacing: -2%;
        vertical-align: middle;
    }

    .single-product .single_img_top {
        position: relative;
        overflow: hidden;
        padding: 0px;
    }

    .single-product .header {
      margin-top: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .single-product .ref-number {
        font-size: 16px;
        color: #6c757d;
    }

    .single-product .notification-icon {
        position: relative;
    }

    .single-product .horse-title {
        font-size: 24px;
        font-weight: 700;
        margin: 20px 0px 15px 0px;
        color: #212529;
    }

    .single-product .horse-info {
       
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        align-items: center;
    }

    .single-product .info-badge {
        background: #fff;
        padding: 5px 12px;
        border-radius: 8px;
        font-size: 14px;
        color: #495057;
        border: 1px solid #dee2e6;
    }

    .single-product .rating-section {
       
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
        justify-content: space-between;
    }

    .single-product .rating {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .single-product .star {
        color: #ffc107;
        font-size: 16px;
    }

    .single-product .rating-text {
        font-size: 16px;
        color: #212529;
        font-weight: 500;
    }

    .single-product .review-count {
        font-size: 16px;
        color: #6c757d;
    }

    .single-product .stats {
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 16px;
        color: #6c757d;
    }

    .single-product .stat-item {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .single-product .current-bid-section {
        background: #28a745;
        
       
        border-radius: 15px;
        text-align: center;
        color: white;
        margin-bottom: 20px;
    }

    .single-product .current-bid-label {
        font-size: 16px;
        opacity: 0.9;
        margin-bottom: 5px;
    }

    .single-product .current-bid-amount {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .single-product .auction-details {
 
        margin-bottom: 20px;
    }

    .single-product .detail-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #EDF1F3;
    }

    .single-product .detail-row:first-child {
        border-top: 1px solid #EDF1F3;
    }

    .single-product .detail-label {
        font-size: 16px;
        color: #495057;
    }

    .single-product .detail-value {
        font-size: 16px;
        font-weight: 600;
        color: #212529;
    }

    .single-product .countdown-value {
        color: #dc3545;
        font-weight: 600;
    }

    .single-product .characteristics-section {
  
        margin-bottom: 30px;
        border-bottom: 1px solid #EDF1F3;
    }

    .single-product .characteristics-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
       margin: 20px 0;
    }

    .single-product .characteristic-item {
        text-align: center;
        border-right: 1px solid #EDF1F3;
    }

    .single-product .characteristic-item:last-child {
        border-right: none;
    }

    .single-product .characteristic-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px auto;
    }

    .single-product .characteristic-label {
        font-size: 13px;
        color: #6c757d;
        margin-bottom: 3px;
    }

    .single-product .characteristic-value {
        font-size: 16px;
        font-weight: 600;
        color: #212529;
    }

    .single-product .place-bid-btn {
        background: linear-gradient(90deg, #A3AF90 1.86%, #5068C9 50.93%, #F99D32 100%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
        color: white;
        padding: 10px 20px;
        font-size: 24px;
        font-weight: 600;
        border-radius: 10px;
        width: 100%;
        margin: 0 0px 20px 0px;
        cursor: pointer;
        border: none;
        transition: all 0.3s ease;
    }

    .single-product .place-bid-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(111, 66, 193, 0.3);
    }

    .single-product .bid-notice {
        text-align: center;
        font-size: 14px;
        color: #FFFFFF66;
        font-weight: 400;
        margin-bottom: 0px;
    }

    .single-product .icon-svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .single-product .icon-svg-large {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }
            @media (max-width: 768px) {
              
               .single-product .single_header  .col-md-5{
                    width:20% !important;
               }
               .single-product .single_header  .col-md-7{
                    width:80% !important;
                    text-align:left !important;
               }
              .single-product .icon_modal {
                     top: 75% !important;
                     }
                     .single-product .horse-info{
                        display: grid;
                        grid-template-columns: 2fr 1fr;
                     }
                     .single-product .rating-section{
                        display: block;
                     }
                      .single-product .rating-section  .rating{
                          margin-bottom:10px;
                      }
                      .single-product .characteristics-grid{
                        grid-template-columns: repeat(2, 1fr);
                      }
                      .single-product  .hsn_res_loc .col-2{
                        width:40% !important;
                      }
                        .single-product  .hsn_res_loc .col-10{
                        width:60% !important;
                      }
            }
 





            /* horses for sale */

 
 .header-bar {
            background-color: #ffffff;
            padding: 16px 20px;           
        }   
        
        .back-arrow {
            color: #333333;
            text-decoration: none;
            font-size: 24px;
            margin-right: 16px;
            display: inline-flex;
            align-items: center;
        }
        
        .back-arrow:hover {
            color: #666666;
        }
        
        .page-title {
       font-family: Inter;
        font-weight: 600;
        font-size: 30px;
        color: #000;
        line-height: 120%;
        letter-spacing: -2%;
        vertical-align: middle;

        }
      #filterTextforsale{
        font-size: 24px;
      }

    
     .serach-btn-forsale {
           border: none;
            color: white;
            padding: 15px 0;
            border-radius: 8px;
            font-weight: 600;
            font-size: 24px;
            width: 100%;
            transition: all 0.3s ease;
            letter-spacing: 0.3px;
            background: #839467;
            margin-top:20px
        }
        
        .serach-btn-forsale:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
            color: white;
        }
    .totalnumberofresult{
        font-family: Inter;
        font-weight: 400;
        font-size: 24px;
        line-height: 140%;
        letter-spacing: 0%;
        color:#828282;
        padding-top:20px;
            }









          /* extra  css */


       .filterSectionforsale .sort-controls   {
         display: flex;
        align-items: center;
        gap: 10px;
        padding: 0px 20px;
        }
       .filterSectionforsale .sort-controls .dropdown button    {
          font-size: 26px;
          color: rgb(26, 26, 26);
          display: flex;
          gap: 19px;
          padding: 0px;
          align-items: center;
          font-family: Inter;
          font-weight: 400;  
          line-height: 140%;
          letter-spacing: -1%;
        }
        .filterSectionforsale    .dropdown button:focus   {
            outline: none;
            box-shadow: none;
        }
        .filterSectionforsale  .dropdown button:active    {
          border: none  !important;
          border-color: #fff !important;
        }
      .filterSectionforsale   .dropdown-menu    {
            border-radius: 10px;
            min-width: 150px;
        }
       .filterSectionforsale .dropdown-item  {
            font-size: 0.9rem;
            color: #6c757d;
        }
       .filterSectionforsale  .dropdown-item:hover    {
            background-color: #e9ecef;
        }
       .filterSectionforsale svg   {
       width: 26px;
        height: 26px;
        cursor: pointer;
        }
   



        /* whyare you selling page */

          .cancel-button{
        background:#fff;
        color: #000;
        padding: 10px 20px;
        font-size: 24px;
        font-weight: 600;
        border-radius: 10px;
        width: 100%;
        margin: 0 0px 20px 0px;
        cursor: pointer;
        border: 1px solid #EDF1F3 !important;
        border: none;
        transition: all 0.3s ease;
    }

  .place-bid-btn {
        background: linear-gradient(90deg, #A3AF90 1.86%, #5068C9 50.93%, #F99D32 100%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
        color: white;
        padding: 10px 20px;
        font-size: 24px;
        font-weight: 600;
        border-radius: 10px;
        width: 100%;
        margin: 0 0px 20px 0px;
        cursor: pointer;
        border: none;
        transition: all 0.3s ease;
    }

    #Description{
        min-height:100px;
    }
    .upload-box {
      border: 2px dashed #EDF1F3;
      border-radius: 0.75rem;
      background-color: #FBFBFB;
      min-height: 200px;
      width:100%;
      padding:40px;
      align-items: center;
      justify-content: center;
      text-align: center;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .upload-box:hover {
      background-color: #EDF1F3;
    }

    .upload-box svg {
      width: 48px;
      height: 48px;
      color: #7a8a5c;
      margin-bottom: 1.5rem;
    }

    .upload-text {
      font-size: 1.15rem;
    }

    .upload-text span {
      color: #728748;
      font-weight: 600;
    }
    .form-check-input:focus {
      display:none;
    }
    /* Custom radio button color */
    .form-check-input:checked {
      border-color: #728748;
      background-color: #728748;
    }
        .tag-input-wrapper {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      padding: 6px 12px;
      border: 1px solid #EDF1F3;
      border-radius: 10px;
      background-color: #fff;
      box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
      min-height: 48px;
      gap: 6px;
    }

    .tag-input-wrapper input {
      border: none;
      outline: none;
      flex-grow: 1;
      min-width: 100px;
      font-size: 16px;
    }

    .tag {
      background-color: #f1f1f1;
      color: #333;
      padding: 6px 10px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      font-size: 14px;
    }

    .tag .remove-tag {
      background: transparent;
      border: none;
      font-size: 16px;
      line-height: 1;
      margin-left: 6px;
      color: #888;
      cursor: pointer;
    }

    .tag .remove-tag:hover {
      color: #dc3545;
    }

    .form-label {
      font-size: 14px;
      color: #6C7278;
      font-weight: 500;
      margin-bottom: 6px;
    }

    .WhyAreYouSelling  .single_header{
        border-bottom: 1px solid #EDF1F3
    }
            @media (max-width: 768px) {
                         .page-title{
                    font-size:25px;
                }
            }
             
            /* Desktop Layout */
        @media (min-width: 768px) {
            .form-container {
                max-width: 700px;
                padding: 40px;
            }
        }
        
        .form-label {
            color: #6C7278;
            font-weight: 400;
            margin-bottom: 6px;
            font-size: 16px;
        }

        .required::after {
            content: " *";
            color: #dc3545;
        }
        
        .form-select, .form-control {
            border: 1px solid #EDF1F3;
            border-radius: 10px;
            padding: 8px 12px;
            font-size: 16px;
            background-color: #fff;
            color: #495057;
            height: 48px;
           box-shadow: 0px 1px 2px 0px #E4E5E73D;
            margin-bottom: 20px;
        }
        
        .form-select:focus, .form-control:focus {
          border-color: #EDF1F3;
            box-shadow: 0 0 0 0rem rgba(0, 123, 255, 0.25);
            background-color: white;
            outline: none;
        }
        
        .form-select {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px 12px;
            cursor: pointer;
        }

        .form-control {
            background-color: #fff;
        }
        
        .location-title {
            color: #495057;
            font-weight: 500;
            margin-bottom: 16px;
            margin-top: 24px;
            font-size: 16px;
        }

        .form-group {
            margin-bottom: 0;
        }

        /* Mobile spacing - matches your image exactly */
        .category-group {
            margin-bottom: 24px;
        }

        .adtype-group {
            margin-bottom: 32px;
        }

        .zipcode-group {
            margin-bottom: 24px;
        }

        .country-group {
            margin-bottom: 0;
        }

        /* Desktop Layout - Two columns */
        @media (min-width: 768px) {
 
            .desktop-row {
                display: flex;
                gap: 20px;
                align-items: end;
            }

            .desktop-row .form-group {
                flex: 1;
            }

            .category-group, 
            .adtype-group,
            .zipcode-group,
            .country-group {
                margin-bottom: 0;
            }

            .top-row {
                margin-bottom: 24px;
            }

            .location-section {
                margin-top: 32px;
            }

            .location-row {
                margin-top: 16px;
            }

            /* Adjust form-select and form-control margin for desktop */
            .desktop-row .form-select,
            .desktop-row .form-control {
                margin-bottom: 0;
            }
        }

        /* Search Button */
        .search-btn {
            background-color: #007bff;
            border: none;
            border-radius: 4px;
            padding: 12px 24px;
            font-size: 16px;
            font-weight: 500;
            color: white;
            width: 100%;
            margin-top: 30px;
            transition: background-color 0.3s ease;
        }

        .search-btn:hover {
            background-color: #0056b3;
        }

        .search-btn:focus {
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }