/*
Theme Name: eurosidediamond
Author: Sid Vaghani
Description: css for portfolio
Version: 5.0
*/


/*
CSS for portfolio
*/

:root {
    --gap: 12px;
    --border: #979797;
    --muted: #666;
    --brand: #2563eb;
    --bg: #fff;
}

#portfolio {
    width: 100%;
    padding-bottom: 50px;
    position: relative;
    background-color: rgba(230, 210, 188, 0.6);
    color: black;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

#portfolio-header {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 20pt;
    padding-top: 70px;
    padding-bottom: 20px;
    height: fit-content;
}

#products {
    width: 100%;
    margin-bottom: 0px;
}

.product-clip {
    width: 420px;
    height: 300px;
    
    margin: 25px 25px 25px 25px;

    background-color: rgba(255, 255, 255, 0.7);

    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.567);
    border-radius: 30px 30px 30px 30px;

    float: left;
}

.product-data {
    width: 100%;
    height: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-right: 10px;
}

table,
tr,
td {
    margin: 0px;
    padding: 0%;
    border-spacing: 0px;
}

.product-data td,
th {
    border: none;
    height: 33%;
    width: 33%;
    max-width: 33%;
}

.product-img {
    width: 70%;
}

.product-img-col {
    text-align: center;
    padding-right: 10px;
    font-size: 14pt;
    width: 30%;
}

.product-key-col {
    font-weight: bold;
    text-align: left;
    vertical-align: top;
    width: 25%;
    padding-left: 10px;
    padding-top: 10px;
    font-size: 10pt;
}

.product-val-col {
    text-align: left;
    vertical-align: top;
    width: 45%;
    padding-top: 10px;
    font-size: 10pt;
}

.product-clip #explore-more {
    text-decoration: underline;
    text-underline-offset: 7px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 0, 0, 0.8);
    font-size: 20pt;
    width: 70%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    color: black;
    display: block;
    text-align: center;
    align-content: center;
    line-height: 1.5;
}

.soldout{
    background-image: url(https://eurosidediamond.com/wp-content/uploads/2025/10/soldout.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media screen and (max-width: 900px) {

    #products {
        flex-direction: column;
    }

    .product-clip {
        width: 70%;
        height: 40%;
        background-color: rgba(255, 255, 255, 0.7);

        float: inline-start;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;

        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.567);
        border-radius: 30px 30px 30px 30px;
    }

    .product-clip #explore-more {
        text-decoration: none;
        font-size: 16pt;
        width: 100%;
        height: 100%;
        min-height: 50px;
        color: black;
        display: block;
        text-align: center;
        align-content: center;
    }


}


/*---------------------- all product page -------------------------*/

#all-product-collection {
    width: 100vw;
    height: fit-content;
    min-height: 500px;
}

#product-banner {
    width: 100%;
    height: fit-content;
    min-height: 400px;
    display: flex;

    background-image: url(https://eurosidediamond.com/wp-content/uploads/2025/09/banner1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#product-filters {
    width: 100%;
    height: fit-content;
    z-index: 5;
    margin-top: auto;
    background-color: rgba(255, 255, 255, 0.9);
}

.collection {
    width: 100%;
    margin-bottom: 0px;
    height: fit-content;
}


/*----------------- filters -----------------*/

/* Filters panel */
.filters {
    position: sticky;
    top: 16px;
    border-radius: 10px;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: fit-content;
}

.filters header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.filters h2 {
    font-size: 16px;
    margin: 0;
}

.filters .clear-all {
    font-size: 12px;
    border: 1px solid var(--border);
    background: #f7f7f7;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
}

fieldset.filter-group {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    margin: 12px 0;
    height: 150px;
    overflow-y: scroll;
    margin-left: 30px;
    margin-right: 30px;
    min-width: 150px;
}

fieldset.filter-group legend {
    font-weight: 600;
    padding: 0 6px;
}

.option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
}

.option:hover {
    background: #f5f8ff;
}

.option input {
    transform: translateY(1px);
}

.count {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}

.group-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.group-actions button {
    font-size: 12px;
    border: 1px solid var(--border);
    background: #f7f7f7;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
}

.hidden {
    display: none !important;
}