.ptl-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ptl-tax-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ptl-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

.ptl-item a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Inline Layout styling with separators */
.ptl-layout-inline .ptl-item:not(:last-child)::after {
    content: ",";
    margin-right: 4px;
    color: inherit;
    opacity: 0.7;
}

/* Pills / Badges Layout styling */
.ptl-layout-pills .ptl-item a {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid transparent; /* default fallback border */
}

.ptl-layout-pills .ptl-item a:hover {
    background-color: #e0e0e0;
}

/* Stacked Layout styling */
.ptl-layout-stacked .ptl-tax-row {
    flex-direction: column;
    align-items: flex-start;
}
.ptl-layout-stacked .ptl-group {
    flex-direction: column;
    align-items: flex-start;
}
