/* Container to handle scrolling on small screens */
.ppc-wdat-wrapper {
    width: 100%;
    margin-bottom: 20px;
    overflow-x: auto; /* Horizontal scroll */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.ppc-wdat-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 300px; /* Ensure it doesn't squish too much */
}

/* Header Styles */
.ppc-wdat-table thead th {
    background-color: #f8f8f8;
    color: #333;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border: 1px solid #ddd;
}

.ppc-wdat-table th.ppc-wdat-corner {
    background: transparent;
    border-top: none;
    border-left: none;
}

/* Cell Styles */
.ppc-wdat-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

/* First Column (Labels) Styling */
.ppc-wdat-table td.ppc-wdat-label {
    background-color: #fafafa;
    font-weight: 600;
    text-align: left;
    min-width: 120px;
}

/* Size Row Styling */
.ppc-wdat-size-row td {
    background-color: #f1f1f1;
}

/* Cross icon for out of stock */
.ppc-wdat-cross {
    color: #ccc;
    font-weight: bold;
}

/* Footer note */
.ppc-wdat-footer {
    font-size: 12px; 
    font-weight: 700; 
    margin-top: 5px; 
    color: #666;
}

/* Mobile Specifics */
@media screen and (max-width: 768px) {
    .ppc-wdat-wrapper {
        box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.1); /* Shadow hint for scrolling */
    }
    
    .ppc-wdat-table td, 
    .ppc-wdat-table th {
        padding: 8px 5px;
        font-size: 13px;
    }
}