.dsand-gallery-wrap {
  width: 100%;
  max-width: 100%;
  margin: auto;
  padding: 20px 10px;
}

.dsand-filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    text-align: center;
    gap: 50px;
}

.dsand-filter-btn {
    background: #cabbd9;
    color: #000000;
    border: 0;
    margin-bottom: 20px;
    padding: 22px 45px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    font-family: "Raleway", Sans-serif;
    font-weight: 400;
    text-transform: capitalize;
}
.dsand-filter-btn:hover {
    background: #c98fa8;
    color: black;

}
.dsand-filter-btn.active {
  background: #c98fa8;
  font-weight: 600;
}

/* View All button */
.dsand-viewall-wrap{
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
  margin-right: 40px;
}

.dsand-viewall-btn{
  background:#111;
  color:#fff;
  padding:8px 14px;
  border-radius:6px;
  text-decoration:none;
  font-size:14px; 
  display: block !important;
}

.dsand-viewall-btn:hover{
  background:#d40000;
  color:#fff;
}

.dsand-carousel-section {
  display: none;
}

.dsand-carousel-section.active {
  display: block;
}

.dsand-carousel {
  position: relative;
  overflow: hidden;
}

.dsand-track {
  display: flex;
  gap: 0px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.dsand-card {
  flex: 0 0 calc(50% - 8px); 
  border-radius: 14px;
  box-sizing: border-box;
  background: #ffffff00 !important;
}

@media (max-width: 768px) {
  .dsand-card {
    flex: 0 0 100%;
  }
	
	.dsand-filter-btn{
	background: #cabbd9;
    color: #000000;
    border: 0;
    margin-bottom: 6px;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 6px;
    font-family: "Raleway", Sans-serif;
    font-weight: 400;
    text-transform: capitalize;
	}	
	
	.dsand-filter-bar{
		display: block;
	}
}

/* GRID */
.dsand-grid {
  display: grid;
  gap: 10px;
}
.dsand-gallery-wrap .dsand-grid {
    display: grid;
    gap: 20px;
    padding: 18px;
}
/* Layout A: top 2 small (square), bottom 1 big */
.dsand-gallery-wrap .dsand-card.layout-a .dsand-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 300px;
}

.dsand-card.layout-a .box1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.dsand-card.layout-a .box2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.dsand-card.layout-a .box3 { grid-column: 1 / 3; grid-row: 2 / 3; }

/* Layout B: top 1 big, bottom 2 small (square) */
.dsand-gallery-wrap .dsand-card.layout-b .dsand-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 300px;
}

.dsand-card.layout-b .box1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.dsand-card.layout-b .box2 { grid-column: 1 / 2; grid-row: 2 / 3; }
.dsand-card.layout-b .box3 { grid-column: 2 / 3; grid-row: 2 / 3; }

.dsand-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover !important;
  background-position: center;
}

.dsand-box span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #000000;
  padding: 6px 10px;
  border-radius: 6px;
 }

/* Nav */
.dsand-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 0;
    width: 52px !important;
    height: 52px !important;
    font-size: 30px !important;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    padding: 0px !important;
}

.dsand-prev { left: 8px; }
.dsand-next { right: 8px; }

/* Dots */
.dsand-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dsand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.dsand-dot.active {
  background: #111;
}
