/* ===== PSW Product Slider - CSS ===== */

.psw-wrapper {
    position: relative;
    padding-bottom: 10px;
}

/* ===== CARD ===== */
.psw-product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    user-select: none;
}

.psw-product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ===== IMAGE WRAP ===== */
.psw-product-image-wrap {
    position: relative;
    overflow: hidden;
    height: auto !important;
    background: #f8f8f8;
}

.psw-product-image-wrap a {
    display: inline-block;
    width: auto;
    height: 100%;
}

.psw-img-main,
.psw-img-hover {
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.45s ease, transform 0.45s ease;
    border-radius: 10px !important;
}

.psw-img-main {
    opacity: 1;
    z-index: 1;
	position: relative;
}

.psw-img-hover {
    opacity: 0;
    z-index: 2;
    transform: scale(1.04);
	position: absolute;
}

.psw-product-card:hover .psw-img-main {
    opacity: 0;
}

.psw-product-card:hover .psw-img-hover {
    opacity: 1;
    transform: scale(1);
}

/* ===== BADGE ===== */
.psw-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: #85d0e8;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* ===== WISHLIST ===== */
.psw-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 5;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #d48ab0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

.psw-wishlist-btn:hover {
    color: #e05c8a;
    transform: scale(1.2);
}

.psw-wishlist-btn.active svg {
    fill: #e05c8a;
    stroke: #e05c8a;
}

/* ===== CART OVERLAY ===== */
.psw-cart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    padding: 0 12px 12px;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
	text-align: center;
}

.psw-product-card:hover .psw-cart-overlay {
    opacity: 1;
    transform: translateY(0);
}

.psw-add-to-cart {
    display: block;
    width: 100%;
    text-align: center;
    background: #b56f50 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.psw-add-to-cart:hover {
    background: #8f5236 !important;
    color: #fff !important;
    transform: scale(1.02);
}

/* ===== PRODUCT INFO ===== */
.psw-product-info {
    padding: 14px 4px 16px;
}

/* ===== CATEGORY TAGS ===== */
.psw-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.psw-cat-tag {
    display: inline-block;
    background: #f0edf7;
    color: #5b2d8e;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none !important;
    transition: background 0.2s;
    border: 1px solid #e0d6f5;
}

.psw-cat-tag:hover {
    background: #e0d6f5;
}

/* ===== TITLE ===== */
.psw-product-title {
	font-family: 'Teachers',sans-serif;
    color: #1a1a1a;
    margin: 0;
    text-decoration: none;
	font-size: 21px;
  font-weight: 600;
  line-height: 25px;
  text-align: left;
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 50px;
  letter-spacing: -0.2px;
}

.psw-product-info a:hover .psw-product-title {
    color: #5b2d8e;
}

/* ===== DESCRIPTION ===== */
.psw-product-desc {
    color: #000 !important;
	font-family: 'Teachers',sans-serif;
    margin: 0 0 10px 0 !important;
	font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== PRICE ===== */
.psw-product-price {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0px;
}

.psw-product-price .woocommerce-Price-amount {
    color: #1a1a1a;
}

.psw-product-price del .woocommerce-Price-amount {
    color: #999;
    font-weight: 400;
}

/* ===== COLOR SWATCHES ===== */
.psw-swatches {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.psw-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}

.psw-swatch:hover,
.psw-swatch.active {
    border-color: #5b2d8e;
    transform: scale(1.15);
}

/* ===== NAVIGATION ARROWS ===== */
.psw-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    z-index: 10;
    border-radius: 50%;
    background: none !important;
	padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.psw-nav-btn:hover {
    background:none !important;
    color: #fff;
    border-color:none;
}

.psw-btn-prev {
    left: -18px;
}

.psw-btn-next {
    right: -18px;
}

/* ===== PAGINATION DOTS ===== */
.psw-pagination {
    text-align: center;
    margin-top: 18px;
}

.psw-pagination .swiper-pagination-bullet {
    background: #c8b8e8;
    opacity: 1;
    width: 8px;
    height: 4px;
    border-radius: 4px;
    transition: width 0.3s, background 0.2s;
}

.psw-pagination .swiper-pagination-bullet-active {
    background: #5b2d8e;
    width: 24px;
}

/* ===== BOTTOM PROGRESS BAR (optional visual) ===== */
.psw-wrapper .swiper-scrollbar {
    height: 3px;
    background: #e8e0f5;
    margin-top: 16px;
    border-radius: 2px;
}

.psw-wrapper .swiper-scrollbar-drag {
    background: #5b2d8e;
    border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .psw-btn-prev { left: -8px; }
    .psw-btn-next { right: -8px; }

}
