section.div-classified {
    background: #000;
}

.inner-banner{
    background: url(https://eesa.in/assets/user/images/inr-bnr.jpg) 0 0 no-repeat;
    height: 300px;
    background-position: bottom center;
    background-size: cover;
}
.breadcrubs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    flex-direction: column;
}
.div-classif {
    color: #fff;
    border-radius: 50px;
    border: 1px solid #fff;
    padding: 4px 15px;
}
.breadcrubs {
    font-size: 40px;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    font-family: "DMSans-Regular", sans-serif;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Tablet (up to 991px) */
@media (max-width: 991px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* Mobile (up to 600px) */
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr; /* single column */
    gap: 15px;
    padding: 0 15px;
  }
}

    .category-card {
      border: 2px solid #ddd;
      border-radius: 10px;
      text-align: center;
      font-weight: 600;
      color: #0c2543;
      text-transform: uppercase;
      transition: 0.3s;
    }
    .category-card:hover {
      background: #00000054;
      color: #fff;
      transform: translateY(-4px);
    }
    .cardcategorytitle h4
    {
      color:#fff;
      font-family: "DMSans-Regular", sans-serif;
      font-size: 18px;
    font-weight: 600;
     padding: 30px 10px;
        margin-bottom:0px;
    }
    .cardcategorytitle
    {
      background: #000;
    border-radius: 10px;

    }
.cardcategorytitle img {
    width: 100%;
    height: 200px;
    object-fit: cover;
        border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.breadcrubs-container {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;         /* adjust as needed */
    position: relative;
    padding: 20px 0px;   /* optional, just for visibility */
}
.breadcrubs {
    font-size: 35px;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    font-family: "DMSans-Regular", sans-serif;
}

.breadcrubs a {
    text-decoration: none;
    color: #333;
    margin: 0 5px;
}

.divbreadcrubs {
    font-size: 12px;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    font-family: "DMSans-Regular", sans-serif;
        padding: 20px 0px;
}

.divbreadcrubs a {
    text-decoration: none;
    color: #fff;
    margin: 0 5px;
}

.breadcrubs span {
    color: #555;
}
.div-productdetail {
    background: #fff;
        background: #fff;
    margin: 20px 0px;
    border-radius: 10px;
}

 .product-sort {
   /* display: flex;*/
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    background: #000;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 300px;
    margin-left: auto;
    display: none!important;
  }

  .product-sort label {
    font-weight: 600;
    color: #333;
  }

  .product-sort select {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
  }

.divcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 20px;
    max-width: 1300px;
    margin: 20px auto;
    padding: 0 10px;
}



  .divcategory-card
  {
          border: 2px solid #33333314;
    text-align: center;
    font-weight: 600;
    color: #0c2543;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        background: #fff;
    }

    .divcardcategorytitle h4
    {
      color:#000;
      font-family: "DMSans-Regular", sans-serif;
     padding: 30px 10px;
        margin-bottom:0px;
         font-size: 14px;
    font-weight: 600;
    }
 .divcardcategorytitle {
    border-radius: 10px;
    padding-bottom: 20px;
}
.divcardcategorytitle img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 20px;
}
.button-category a
{
  font-size: 12px;
  color: #000!important;
}
.button-category a:hover
{
  font-size: 12px;
  color: #fff!important;
}
.button-category a:hover
{
  background-color: #a13469;
  color: #fff!important;
    border: 1px solid #fff;
}
.button-category a {
    border: 1px solid #000;
    color: #000!important;
    border-radius: 10px;
    padding: 8px 10px; /* add horizontal padding for better spacing */
    display: inline-block; /* ensures width fits text */
    width: auto; /* make width depend on content */
    background: #fff; /* optional */
}
.div-classified {
    background: #000;
}
  .product-page {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

 /* Main product card */
  .product-card{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:32px;
    background:var(--card-bg);
    padding:28px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    border:1px solid rgba(0,0,0,0.03);
    background: #fff;
    border-radius: 10px;
  }

  /* Gallery (left) */
  .gallery {
    position:relative;
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .main-image-wrap{
    position:relative;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #e8e8e8;
    background:#fafafa;
  }
  .main-image{
      width: 100%;
    height: 450px;
    /* object-fit: cover; */
    display: block;
}
  /* zoom icon */
  .zoom-icon {
    position:absolute;
    top:12px;
    right:12px;
    z-index:10;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(0,0,0,0.6);
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:background .18s;
  }
  .zoom-icon:hover{background:rgba(0,0,0,0.85)}

  /* thumbnail strip */
  .thumbs{
    display:flex;
    gap:10px;
    align-items:center;
    overflow-x:auto;
    padding-bottom:6px;
  }
.thumbs img {
    width: 150px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    flex: 0 0 auto;
}
  .thumbs img.active{border-color:var(--accent-2)}

  /* Product info (right) */
  .info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 30px;
}
  .title{
    font-size:22px;
    font-weight:700;
    margin:0;
  }


  /* Zoom modal */
  .zoom-modal{
    position:fixed;
    inset:0;
    display:none;
    place-items:center;
    background:rgba(0,0,0,0.75);
    z-index:9999;
    padding:24px;
  }
  .zoom-modal.active{display:grid}
  .zoom-modal img{
    max-width:calc(100% - 80px);
    max-height:calc(100% - 80px);
    border-radius:10px;
    box-shadow:0 10px 40px rgba(0,0,0,0.6);
  }
  .zoom-close{
    position:absolute;top:20px;right:30px;color:#fff;font-size:28px;cursor:pointer;font-weight:700;
  }
  .div-productcontact {
    background: #000;
    border-radius: 10px;
    padding: 20px;
}
p.div-contper {
    color: #ed3237;
    font-weight: 600;
    margin-bottom: 10px;
}
p.div-contpername {
    color: #fff;
}
.div-cs {
    padding: 10px 30px;
}
p.div-pdtitle {
    color: #000;
    font-weight: 600;
    margin-bottom: 10px;
}
.div-pd {
    padding: 20px;
}
span.div-cont {
    font-size: 20px;
}
p.div-pdcontpername {
    font-size: 14px;
}
.div-pdcontpername {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 16px !important;
    color: #333 !important;
}
.div-pdcontpername p {
    margin-bottom: 0px;
}
.div-pdcontpername i {
    font-size: 18px !important;
    margin-right: 6px !important;
}


  /* responsive */
  @media (max-width: 900px){
    .product-card{grid-template-columns: 1fr; padding:18px}
    .main-image{height:340px}
  }
  @media (max-width: 520px){
    body{padding:16px}
    .main-image{height:260px}
    .thumbs img{width:56px;height:56px}
  }
   .related-section {
    max-width: 100%;
    margin: auto;
  }

 .related-section h2 {
    font-size: 25px;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: left;
    color: #000;
}

  .related-section .carousel-container {
        max-width: 100%;
    position: relative;
    overflow: hidden;
  }

  .related-section .carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
  }

  .related-section .product-card {
    border-radius: 10px;
    padding: 10px;
    width: 300px;
    text-align: center;
    flex-shrink: 0;
    display: block;
  }

  .related-section .product-card .divcategory-card
{
    border: none;
    text-align: center;
    font-weight: 600;
    color: #0c2543;
    text-transform: uppercase;
    transition: 0.3s;
        box-shadow: rgb(149 157 165 / 0%) 0px 8px 24px;
}
  .related-section .product-card img {
    width: 100%;
    border-radius: 0px;
    object-fit: cover;
    height: 180px;
        background: #000;
  }
  .related-section .divcardcategorytitle h4 {
    color: #fff;
    background-color: #000;
}

.related-section .divcardcategorytitle {
    border-radius: 0px;
    padding-bottom: 20px;
    background-color: #000;
}

.related-section .carousel-container {
    background: #fff;
}

  .related-section .product-card h3 {
    font-size: 15px;
    margin: 0;
    color: #333;
  }

  /* Navigation arrows */
  .related-section .arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }

  .related-section .arrow:hover {
    background: #000;
  }

  .related-section .arrow.left { left: -10px; }
  .related-section .arrow.right { right: -10px; }

  @media (max-width: 600px) {
    .related-section .product-card { min-width: 150px; }
    .divcategory-grid {
        grid-template-columns: 1fr; /* single column */
    }
  }
  
  /* Tablet view (2 columns) */
@media (max-width: 1024px) {
    .divcategory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile view (1 column) */
@media (max-width: 767px) {
    .divcategory-grid {
        grid-template-columns: 1fr;
    }
    .product-sort {
    padding: 10px 0px;
}
.info {
    padding: 10px 0px;
}
.div-pd {
    padding: 5px 15px;
}
.div-productcontact {
    padding: 0;
}
.div-cs {
    padding: 5px;
}
}
  
  .button-group {
      display: flex;
      gap: 10px;
    }


    .button-group button {
    padding: 10px 20px;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 10px;
    width: 100%;

    }

    .green { background-color: #28a7454a;color:#28a745; }
    .blue { background-color: #007bff45; color:#007bff; }
    .red { background-color: #dc35456b;color:#dc3545;  }
    .yellow { background-color: #ffc10769; color: #ffc107; }

    button:hover {
      opacity: 0.8;
    }
    
    
    
    .related-section {
    background-color: #fff;
        padding: 20px;
        border-radius: 10px;
}

.related-section .product-card {
    background: #000;
}

.related-section .divcategory-card {
    background: #fff;
}


/**** New Classifieds Listing Design *****/

.div-catlist {
    margin: 20px 10px;
}

.div-catlist h4 {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}
.divbutton 
{
    border: 1px solid #ed3237;
    border-radius: 10px;
    padding: 8px 10px;
    display: block;       
    width: fit-content;   
    background: #ed3237;
    text-align: center;
    margin: 30px auto;
}

.div-catbtn {
    color: #fff;
     font-size: 16px;
     text-transform:uppercase;
}
.div-catbtn:hover {
    color:#fff!important;
}
.divbutton:hover {
    border: 1px solid #fff;
    background-color: #a13469;
}


.div-payment p, li {
    color: #000;
}

.div-payment {
    background: #fff;
    padding: 30px 20px;
}

.div-head{
    color: #fff;
    font-weight: 600;
    font-size: 30px;
    text-align: center;
}
.div-payment h3
{
    font-size:22px;
}

.div-payment h4 {
    font-size: 18px;
    color: #fff;
    background: #000;
    padding: 5px 10px;
    border-radius: 5px;
    width: auto;
    display: inline-block;
}
.div-payment h3, h4{
    color: #000;
    font-weight: 600;
}

.div-prodet
{
    text-align: center;
}

.catg-img
{
    width: 65px;
}
.button-category:hover {
    color: #fff;
}
 .h-search-form{
      position: relative;
     text-align:center;
   }
   .h-search-form input{
      width: 50%;
      padding: 0 30px;
      border-radius: 50px;
      border: none;
      font-weight: 600;
      font-size: 16px;
      text-transform: capitalize;
      position: relative;
      color: #333;
      height: 39px;
   }
   .h-search-form button{
          position: relative;
    right: 45px;
    height: 35px;
    color: #000;
    top: 0px;
    border-radius: 50px;
    border: none;
   }



@media only screen and (max-width: 640px) 
{
    #searchResults {
    width: 100%!important;
    left: 0!important;
}
    .div-catlist h4 {
    font-size: 25px;
}
.h-search-form button {
    position: relative;
    right: -132px;
    top: -37px;
}
.h-search-form input {
    width: 100%;
}
}

.list-group-item {
    text-align: left;
}

#searchResults {
    width: 45%;
    left: 333px;
}

.h-search-form {
    text-align: right!important;
}



          @media (max-width: 600px) {
            .related-section .product-card { min-width: 150px; }
        	.div-membertitle {
            text-align: center;
        }
        .filter-left h5 {
            display: inline-block;
            margin-right: 0px;
        	font-size:15px;
        }
            .filter-bar select {
        padding: 4px !important;
        height: 40px;
    }
.filter-left {
    width: 50%;
    margin-left: 10px;
}
.filter-right {
    width: 50%;
}
        .member-letterfilter {
            padding: 0!important;
            max-width: 100%!important;
        }
         .div-membersidebar {
            background: #fff;
            padding: 20px!important;
            margin-left: 0px!important;
        }
        .div-featgal .owl-prev {
            left: 40%!important;
        }
        .div-featgal .owl-next {
            right:35%!important;
        }
        .div-featgal .owl-carousel .item img {
            width: 100%;
            height: 250px!important;
        	}
          
          }
          
          /* member detail */
          .div-membertitleimg img {
            display: block;
            margin: 0 auto;
            padding: 20px;
                width: 30%;
    height: 190px;
    object-fit: cover;
        }
        hr.div-hr {
            border: 1px solid #fff;
        }
        .div-memberdetai {
            padding: 30px 0px;
        }
        .div-memclass .card {
            background: #000;
            color: #fff;
            border: 1px solid #fff;
            padding: 0px 10px;
        }
        .div-memclass img.card-img-top {
            width: 20%;
            margin: 20px 0px 0px 10px;
        }
        .div-memclass .card-body.text-center {
            padding-top: 5px;
            padding-left: 10px;
        }
        
        .div-memclass h5.card-title {
            font-size: 12px;
            text-align: left;
        }
        .div-memdetcontent h2 {
            padding-bottom: 10px;
        }
        .div-memdetcontent p  {
            color: #fff;
        	    font-size: 14px;
        		line-height:25px;
        }
        .div-memdetcontent ul li {
            color: #fff;
        	    font-size: 14px;
        		padding-bottom: 10px;
        }
        .div-membersidebar {
            background: #fff;
            padding: 50px;
        margin-left: 20px;
        }
        .div-memdetcontent {
            margin-right: 20px;
        }
        .icon-list {
          list-style: none;
          padding: 0;
        }
        .icon-list li {
          margin-bottom: 18px;
          font-size: 18px;
        }
        .icon-list li i {
          margin-right: 8px;
          color: #ff6a00;
        }
        .social-icons {
          list-style: none;
          padding: 0;
              margin: 30px 0 0px;
        }
        .icon-list li a {
            color: #000;
        }
        .icon-list li i {
            color: #000;
        }
        .social-icons li {
          display: inline-block;
          margin: 0 8px;
        }
        
        .social-icons li a {
          font-size: 20px;
          color: #333;
          text-decoration: none;
        }
        
        .social-icons li a:hover {
          color: #007bff;
        }
        .div-emptyspace {
            margin: 40px 0px;
        }
        .div-featvideo h4 {
            color: #000;
            padding-bottom: 10px;
            font-weight: 600;
        }
        .div-featgal h4 {
            color: #000;
            padding-bottom: 10px;
            font-weight: 600;
        	    padding-top: 20px;
        }
        .div-featgal .owl-carousel .item img {
          width: 100%;
          height: 150px;
          object-fit: cover;
          border-radius: 10px;
          cursor: pointer;
        }
        
        .div-featgal .owl-nav button {
          position: absolute;
          bottom: 0;
          top: auto;
          transform: translateY(50%);
          background: transparent;
          color: #000 !important;
          border-radius: 50%;
          width: 63px;
          height: 40px;
          border: none;
        }
        
        .div-featgal .owl-prev {
          left: 40%;
        }
        
        .div-featgal .owl-next {
          right: 40%;
        }
        
        .div-featgal .owl-nav span {
            font-size: 30px;
        }
        .gslide-media.gslide-image img {
            width: 100%;
            height: auto;
        }
        
        /* member list */
        .div-membercontent p {
            color: #fff;
            text-align: center;
            font-size: 16px;
        }
        .div-membercontent {
            margin-top: 50px;
        }
        .member-filter {
            display: flex;
            justify-content: flex-start;
            align-items: start;
            gap: 10px;
            background: #000;
            padding: 30px 0px;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }
        .member-letterfilter {
            display: flex;
            justify-content: flex-start;
            align-items: start;
            gap: 10px;
            background: #000;
            padding: 10px 0px;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            max-width: 70%;
        }
        .filter-bar {
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap; /* for mobile */
          gap: 10px;
        }
        
        .filter-left h5 {
          display: inline-block;
          margin-right: 10px;
        }
        
        .filter-bar select {
          padding: 8px 12px;
          border-radius: 6px;
          border: 1px solid #ccc;
        }
        .member-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
          gap: 10px;
          padding: 5px 10px;
          border: 1px solid #fff;
            color: #fff;
        }
        
        .member-title h3 {
          margin: 0;
          font-size: 20px;
          color: #fff;
        }
        
        .az-filter {
          display: flex;
          flex-wrap: wrap;
          gap: 5px;
          margin: 0;
          padding: 0;
          list-style: none;
        }
        .member-title span {
            font-size: 10px;
        }
        .az-filter li a {
            display: block;
            padding: 1px 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
            text-decoration: none;
            color: #fff !important;
            font-weight: 500;
            font-size: 10px;
            transition: 0.2s;
            margin: 5px 0px;
        }
        .div-memberlist {
            padding: 50px 0px 20px 0px;
        }
        .az-filter li a:hover {
          background: #007bff;
          color: #fff;
          border-color: #007bff;
        }
        .member-title h3 {
            color: #fff;
        }
        .member-list .card-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr); /* ✅ exactly 3 cards per row */
          gap: 20px;
          padding: 20px 0px;
        }
        
        .member-list .card-item {
          background: #fff;
          border: 1px solid #ddd;
          text-align: center;
          padding: 20px;
          box-shadow: 0 2px 6px rgba(0,0,0,0.1);
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          height: 300px;
          transition: all 0.3s ease;
        }
        
        .member-list .card-item img {
          max-width: 100%;
          height: 100px;
          object-fit: cover;
          border-radius: 8px;
        }
        
        .member-list .card-item h4 {
            margin-top: 15px;
            font-size: 20px;
            color: #333;
            font-weight: 600;
        }
        
        /* Hover effect */
        .member-list .card-item:hover {
          transform: translateY(-5px);
          box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }
        
        /* ✅ Responsive for smaller screens */
        @media (max-width: 991px) {
          .member-list .card-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        }
        
        @media (max-width: 575px) {
            .member-list .card-grid {
                grid-template-columns: repeat(2, 1fr);
                padding: 20px 0px;
            }
        	.member-list .card-item {
            height: 160px!important;
        }
        .member-list .card-item img {
            max-width: 100%;
            height: 50px!important;
        }
        .member-list .card-item h4 {
            font-size: 16px;
        }
        }
        
        .pagination-wrapper {
          display: flex;
          justify-content: flex-end; /* ✅ moves pagination to right */
          width: 100%;
        }
        .pagination-bar {
         display: flex;
          justify-content: center;
          align-items: center;
          gap: 15px;
          background: #000;
          color: #fff;
          padding: 5px;
          border-radius: 8px;
          border: 1px solid #fff;
        }
        
        .pagination-bar button {
          background: transparent;
          color: #fff;
          border: none;
          font-size: 16px;
          cursor: pointer;
          transition: all 0.3s ease;
        }
        
        .pagination-bar button:hover {
          background: #f15b4c;
          color: #dc3339;
        }
        .pagination-bar span {
            font-size: 12px;
        }
        
        
        .div-memberlist nav {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* moves items to the right */
    gap: 6px;
        margin-top: 20px;
}

.div-memberlist .sm\:hidden {
    display: none;
}

.div-memberlist nav svg {
    width: 12px !important;
    height: 12px !important;
}

.div-memberlist nav span,
.div-memberlist nav a {
    margin: 0 1px !important;
}

.div-memberlist nav a {
   padding: 5px !important;
}

.div-memberlist nav .cursor-default {
    
    padding: 5px !important;
}

.div-memberlist nav p {
    display: none !important;
}

.filter-bar select {
    width: 70%;
}

.filter-left,
.filter-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-left { width: 50%; float: left; }
.filter-right { width: 50%; justify-content: flex-start; }
