.tp-carousel-wrapper {
    position: relative;
    width: 100%;
}

.tp-track-container {
    overflow: hidden;
}

.tp-track {
    display: flex;
    will-change: transform;
}

.tp-item {
    box-sizing: border-box;
}

.tp-item-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.tp-item-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Default hover shadow */
}

/* Layout: Stacked */
.tp-item-content[style*="flex-direction: column;"] {
    text-align: center;
}
.tp-item-content[style*="flex-direction: column;"] .tp-name {
    margin-bottom: 8px;
}
.tp-item-content[style*="flex-direction: column;"] .tp-sep {
    display: none;
}

/* Layout: Row */
.tp-item-content[style*="flex-direction: row;"] .tp-name,
.tp-item-content[style*="flex-direction: row;"] .tp-price {
    white-space: nowrap;
}
.tp-item-content[style*="flex-direction: row;"] .tp-sep {
    margin: 0 15px;
    color: #ccc;
}


.tp-name, .tp-price {
    line-height: 1.4;
}


/* Navigation Buttons */
.tp-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 0;
    -webkit-appearance: none;
}

.tp-btn:hover {
    background-color: #fff;
    color: #000;
}

.tp-btn.prev {
    left: -20px;
}

.tp-btn.next {
    right: -20px;
}

/* RTL Support */
[dir="rtl"] .tp-btn.prev {
    left: auto;
    right: -20px;
}

[dir="rtl"] .tp-btn.next {
    right: auto;
    left: -20px;
}