/* PPL Parts Loop CSS */
.ppl-parts-loop {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.ppl-parts-loop.ppl-columns-2 .ppl-part-item {
    width: 50%;
}

.ppl-parts-loop.ppl-columns-3 .ppl-part-item {
    width: 33.333%;
}

.ppl-parts-loop.ppl-columns-4 .ppl-part-item {
    width: 25%;
}

@media (max-width: 768px) {

    .ppl-parts-loop.ppl-columns-3 .ppl-part-item,
    .ppl-parts-loop.ppl-columns-4 .ppl-part-item {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .ppl-parts-loop .ppl-part-item {
        width: 100% !important;
    }
}

.ppl-part-item {
    padding: 10px;
    box-sizing: border-box;
}

.ppl-part-content {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.ppl-part-content:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ppl-part-image {
    margin-bottom: 10px;
}

.ppl-part-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.ppl-part-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.ppl-part-title a {
    text-decoration: none;
    color: #333;
}

.ppl-part-title a:hover {
    color: #0073aa;
}

.ppl-part-price {
    margin: 10px 0;
    font-weight: bold;
    color: #2c5aa0;
}

.ppl-part-actions {
    margin-top: 15px;
}

.ppl-part-actions .button {
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.ppl-part-actions .button:hover {
    background: #005177;
    color: white;
}

/* PPL Product Card CSS */
.ppl-product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.ppl-product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ppl-card-image {
    position: relative;
    overflow: hidden;
}

.ppl-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ppl-card-image:hover img {
    transform: scale(1.05);
}

.ppl-card-content {
    padding: 20px;
}

.ppl-card-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    line-height: 1.3;
}

.ppl-card-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.ppl-card-title a:hover {
    color: #0073aa;
}

.ppl-card-full-name {
    margin: 0 0 10px 0;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

.ppl-card-type {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ppl-type-product {
    background: #d4edda;
    color: #155724;
}

.ppl-type-part {
    background: #cce7ff;
    color: #004085;
}

.ppl-card-article-number {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: #666;
}

.ppl-card-price {
    margin: 15px 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #2c5aa0;
}

.ppl-card-description {
    margin: 15px 0;
    color: #555;
    line-height: 1.5;
}

/* Breadcrumbs CSS */
.ppl-breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.ppl-breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}

.ppl-breadcrumbs a:hover {
    text-decoration: underline;
}

.ppl-breadcrumb-current {
    font-weight: bold;
    color: #333;
}

/* PPL Part Card CSS */
.ppl-part-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.ppl-part-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ppl-part-card-image {
    position: relative;
    overflow: hidden;
}

.ppl-part-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ppl-part-card-image:hover img {
    transform: scale(1.05);
}

.ppl-part-card-content {
    padding: 20px;
}

.ppl-part-card-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    line-height: 1.3;
}

.ppl-part-card-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.ppl-part-card-title a:hover {
    color: #0073aa;
}

.ppl-part-card-full-name {
    margin: 0 0 10px 0;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

.ppl-part-card-type {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: #cce7ff;
    color: #004085;
}

.ppl-part-card-article-number {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: #666;
}

.ppl-part-card-price {
    margin: 15px 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #2c5aa0;
}

.ppl-part-card-description {
    margin: 15px 0;
    color: #555;
    line-height: 1.5;
}

.ppl-part-card-parents {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.ppl-part-card-parents h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
}

.ppl-parent-products-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ppl-parent-products-list li {
    margin-bottom: 5px;
}

.ppl-parent-products-list a {
    color: #0073aa;
    text-decoration: none;
    font-size: 13px;
}

.ppl-parent-products-list a:hover {
    text-decoration: underline;
}

.ppl-part-card-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.ppl-part-card-actions .button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    cursor: pointer;
}

.ppl-part-card-actions .button:hover {
    background: #005177;
    color: white;
}