/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 01 2025 | 03:02:08 */
/* ===========================
   "+N" Button Styling
=========================== */
.wd-product-cats .wd-cats-more {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 12px;
  background: #ff09a9;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition: all 0.2s ease;
}
.wd-product-cats .wd-cats-more:hover {
  background: #ff31b8;
  transform: translateY(-1px);
}

/* Prevent line-height jump */
.wd-product-cats a,
.wd-product-cats .wd-cats-more {
  vertical-align: middle;
}

/* ===========================
   Modal Overlay + Dialog
=========================== */
#wd-cats-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
	
}

#wd-cats-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

#wd-cats-modal .wd-cats-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

/* Dialog container */
#wd-cats-modal .wd-cats-dialog {
  position: relative;
  z-index: 1000000;
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: popIn 0.35s ease-in-out;
  overflow: hidden;
}

/* Close button (circular luxury style) */
.wd-cats-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: none;
  background: #ff09a9;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(255, 9, 169, 0.4);
  transition: all 0.25s ease;
}
.wd-cats-close:hover {
  background: #fff;
  color: #ff09a9;
  box-shadow: 0 0 12px rgba(255, 9, 169, 0.7);
  transform: rotate(90deg);
}

/* ===========================
   Category Links Inside Modal
=========================== */
.wd-cats-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-top: 20px;
}

.wd-cats-item a {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 50px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.wd-cats-item a:hover {
  background: #ff09a9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 9, 169, 0.3);
}

/* ===========================
   Custom Scrollbar (if overflow)
=========================== */
#wd-cats-modal .wd-cats-dialog {
  max-height: 450px;
	min-height:250px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
	margin: 0 auto;
   
  margin-top: 100px;
}
}
#wd-cats-modal .wd-cats-dialog::-webkit-scrollbar {
  width: 6px;
}
#wd-cats-modal .wd-cats-dialog::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 6px;
}
#wd-cats-modal .wd-cats-dialog::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

/* ===========================
   Animations
=========================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===========================
   Responsive Adjustments
=========================== */
@media (max-width: 480px) {
  #wd-cats-modal .wd-cats-dialog {
    width: 92%;
    max-width: 360px;
    border-radius: 16px;
    padding: 28px 20px 32px;
  }
  .wd-cats-item a {
    padding: 12px 14px;
    font-size: 14px;
  }
  .wd-cats-close {
    width: 34px;
    height: 34px;
    top: 12px;
    right: 12px;
  }
	.wd-cats-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px 20px;
  margin-top: 20px;
}
}

/* ===========================
   Product Grid Fixes (WoodMart)
=========================== */
.wd-products.grid-items,
.products.wd-products-holder {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px !important;
  margin-bottom: 30px;
}

/* Card uniformity */
.wd-products .product-grid-item,
.wd-products .product-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-wrapper {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}


/* Bottom section alignment */
.product-element-bottom {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Category row layout fix */
.product-element-bottom .wd-product-cats {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
