.adc-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 0;
    border-radius: 4px;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
}

.adc-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.adc-container .filter-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    cursor: pointer !important;
    width: fit-content !important;
}

.adc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.adc-filter-group {
    position: relative;
    width: calc(20% - 16px);
    min-width: 150px;
}

.adc-filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.adc-filter-toggle svg {
    opacity: 0.6;
}

.adc-filter-group.active .adc-filter-toggle {
    border-bottom-color: #333;
}

.adc-filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 10px;
    border-radius: 4px;
    max-height: 250px;
    overflow-y: auto;
}

.adc-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 16px;
}

.adc-checkbox input {
    margin: 0;
}

/* Table styling */
.adc-table-wrapper {
    overflow-x: auto;
    background: transparent;
}

.adc-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    text-align: center;
}



.adc-data-table th {
    background: #D9D9D9;
    padding: 18px 10px;
    font-weight: 400;
    border: none;
    font-size: 14px;
    text-transform: capitalize;
    text-align: center;

}

.adc-data-table td {
    padding: 15px 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    text-align: center;
}

.adc-data-table tr.adc-product-row:hover td {
    background-color: #fafafa;
}

.col-img img {
    mix-blend-mode: darken;
    /* removes white bg if image has white bg on grey table */
}

.adc-product-details {
    background: #fff;
}

.adc-product-details td {
    border-top: none;
    padding: 0 !important;
}

/* Expanded Details Wrapper */
.adc-details-wrapper {
    padding: 40px;
    background: #fff;
    border: 1px solid #f2f2f2;
    margin: 10px 0;
}

.adc-details-header h3 {
    font-size: 26px;
    margin: 0 0 30px 0;
    color: #000;
    font-weight: 500;
    text-align: start;
}

/* Images Grid */
.adc-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.adc-image-item {
    text-align: center;
}

.adc-image-item img {
    width: 100%;
    height: auto;
    background: #fff;
    margin-bottom: 15px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border: 1px solid #f9f9f9;
}

.adc-image-item span {
    font-size: 13px;
    color: #666;
    display: block;
    font-weight: 400;
}

/* Specs Grid */
.adc-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.adc-spec-col h4 {
    text-align: start;
    font-size: 18px;
    margin: 0 0 20px 0;
    color: #000;
    font-weight: 600;
    border-bottom: 1.5px solid #eee;
    padding-bottom: 8px;
}

.adc-spec-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adc-spec-col ul li {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
    padding-left: 12px;
    position: relative;
}

.adc-spec-col ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ccc;
    font-size: 18px;
    top: -2px;
}

.adc-rich-val {
    margin-top: 5px;
    font-weight: 400;
    line-height: 1.6;
    text-align: start;
    font-size: 16px;
}

.adc-rich-val ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adc-rich-val ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.adc-rich-val ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

.adc-rich-val p {
    margin: 0 0 5px 0;
}

/* Footer Section */
.adc-details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.adc-pdf-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.adc-pdf-link .dashicons,
.adc-pdf-link svg {
    flex-shrink: 0;
}

.adc-pdf-link:hover {
    color: #000;
}

.adc-footer-actions {
    display: flex;
    gap: 20px;
}

.adc-btn-download,
.adc-btn-video {
    padding: 12px 35px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-weight: 400;
}

.adc-btn-download:hover {
    background: #000;
    color: #fff;
}

.adc-btn-video {
    background: #fff;
}

.adc-btn-video:hover {
    background: #fafafa;
}

.adc-btn-video svg {
    width: 20px;
    height: 20px;
}

/* Mobile Optimization */
@media screen and (max-width: 768px) {
    .adc-container {
        padding: 15px;
    }

    .filter-toggle {
        display: flex !important;
        background: #333;
        color: #fff;
        padding: 12px;
        border-radius: 4px;
        justify-content: center;
        margin-bottom: 20px;
        cursor: pointer;
    }

    .adc-filters {
        display: none;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .adc-filters.active {
        display: flex !important;
    }

    .adc-container .adc-filter-group {
        width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .adc-images-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .adc-specs-grid {
        grid-template-columns: 1fr !important;
    }

    .adc-details-wrapper {
        padding: 20px;
    }

    .adc-details-footer {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: flex-start !important;
    }

    .adc-footer-left {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
    }

    .adc-footer-actions {
        width: 100% !important;
        flex-direction: column !important;
    }

    .adc-btn-download,
    .adc-btn-video {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Force Table to scroll horizontally */
    .adc-data-table {
        min-width: 800px !important;
    }

    .adc-table-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch;
    }
}

/* Lifestyle Footer */
.adc-lifestyle-footer {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.adc-lifestyle-item {
    flex: 1;
    overflow: hidden;
}

.adc-zoom-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.adc-zoom-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.adc-lifestyle-item:hover .adc-zoom-wrapper img {
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .adc-lifestyle-footer {
        flex-direction: column;
    }
}

/* Table Groups & Pagination */
.adc-table-group {
    background: #fff;
    margin-bottom: 50px;
}

.adc-group-title {
    font-size: 24px;
    margin: 30px 0 15px 0;
    font-weight: 600;
    color: #333;
}

.adc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 15px;

    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.adc-page-btn {
    padding: 0px;
    border: 1px solid #ccc;
    background: transparent;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 32px;
}

.adc-page-btn.active,
.adc-page-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

.adc-page-prev,
.adc-page-next {
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #333;
    padding: 10px;
}

.adc-page-prev:hover,
.adc-page-next:hover {
    color: #000;
}

.adc-page-prev:disabled,
.adc-page-next:disabled,
.adc-page-prev.disabled,
.adc-page-next.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}