/* Toha Product Slider – Frontend Styles */
.tps-slider-wrap {
    position: relative;
    width: 100%;
    padding: 0 44px;
    box-sizing: border-box;
    margin: 24px 0;
    font-family: inherit;
}

/* Track */
.tps-track-outer {
    overflow: hidden;
    border-radius: 10px;
}
.tps-track {
    display: flex;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

/* Slides */
.tps-slide {
    flex: 0 0 calc(33.333% - 14px);
    margin: 0 7px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.tps-slide:hover {
    box-shadow: 0 8px 28px rgba(231,76,60,.18);
    transform: translateY(-3px);
}

/* Image */
.tps-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: #f7f7f7;
    overflow: hidden;
}
.tps-img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.tps-slide:hover .tps-img-wrap img { transform: scale(1.06); }

.tps-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Product info */
.tps-product-link { text-decoration: none; color: inherit; flex: 1; display: flex; flex-direction: column; }
.tps-product-info { padding: 14px 16px 10px; flex: 1; }
.tps-product-title {
    font-size: .95rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tps-price { font-size: .95rem; font-weight: 700; color: #e74c3c; }
.tps-price del { color: #aaa; font-weight: 400; font-size: .85em; margin-right: 4px; }
.tps-price ins { text-decoration: none; }

/* CTA button */
.tps-add-to-cart {
    display: block;
    background: #e74c3c;
    color: #fff !important;
    text-align: center;
    padding: 11px 0;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-decoration: none !important;
    margin: 0;
    border-radius: 0 0 10px 10px;
    transition: background .2s;
}
.tps-add-to-cart:hover { background: #c0392b; }

/* Arrows */
.tps-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
    transition: background .2s, transform .2s;
}
.tps-arrow:hover { background: #c0392b; transform: translateY(-50%) scale(1.08); }
.tps-prev { left: 0; }
.tps-next { right: 0; }
.tps-arrow:disabled { background: #ddd; cursor: default; transform: translateY(-50%); }

/* Dots */
.tps-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
}
.tps-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}
.tps-dot.active { background: #e74c3c; transform: scale(1.3); }

/* -------- Mobile -------- */
@media (max-width: 767px) {
    .tps-slider-wrap { padding: 0 36px; }
    .tps-slide {
        flex: 0 0 calc(100% - 14px);
    }
}
