/* Product Attribute Terms List - 002d8068 */

.patl-002d8068-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.patl-002d8068-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patl-002d8068-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
    position: relative;
}

.patl-002d8068-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Full-tile overlay link */
.patl-002d8068-tile-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-decoration: none;
    border-radius: inherit;
}

.patl-002d8068-tile-link:focus-visible {
    outline: 2px solid #0073aa;
    outline-offset: -2px;
}

/* Ensure inner content is above the overlay for text selection etc. */
.patl-002d8068-thumb,
.patl-002d8068-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.patl-002d8068-thumb img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.patl-002d8068-content {
    flex: 1;
    min-width: 0;
}

/* ACF image + term name row */
.patl-002d8068-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.patl-002d8068-acf-img {
    flex-shrink: 0;
    line-height: 0;
}

.patl-002d8068-acf-img img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.patl-002d8068-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
}

.patl-002d8068-name a {
    text-decoration: none;
    color: inherit;
}

.patl-002d8068-name a:hover {
    text-decoration: underline;
}

.patl-002d8068-desc {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.patl-002d8068-count {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.patl-002d8068-acf-fields {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.patl-002d8068-acf-row {
    font-size: 13px;
}

.patl-002d8068-acf-value {
    color: #333;
}

/* Table layout */
.patl-002d8068-table {
    width: 100%;
    border-collapse: collapse;
}

.patl-002d8068-table th,
.patl-002d8068-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.patl-002d8068-table th {
    background: #f7f7f7;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

.patl-002d8068-table td.patl-002d8068-thumb img {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.patl-002d8068-table .patl-002d8068-name a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.patl-002d8068-table .patl-002d8068-name a:hover {
    text-decoration: underline;
}

.patl-002d8068-table .patl-002d8068-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.patl-002d8068-table .patl-002d8068-acf-img img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
