    .container-custom {
        margin: 50px auto;
        max-width: 1170px;
    }

    .list-items-grid {
        max-width: 33.3%;
        width: 100%;
        flex: 0 0 33.3%;
        padding: 0 15px 15px 0px;
    }

    .list-items-grid .grid-content {
        padding: 18px;
        display: inline-block;
        box-shadow: 0px 0px 8px -1px #e5e5e5;
        text-decoration: none;
        color: #000;
        width: 100%;
    }

    .list-items-grid .grid-content img {
        width: 100%;
        height: 206px
    }

    .listing-grid {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -15px;
    }

    .list-items-grid .grid-content h4 a {
        font-size: 23px;
        margin: 0;
        padding-top: 12px;
        color: #000;
        font-size: 26px;
        font-weight: 600;
    }

    .list-items-grid .grid-content ul {
        margin: 0;
        padding: 0;
        border: 1px solid #f2f2f2;
        margin-top: 20px;
    }

    .list-items-grid .grid-content ul li:nth-child(even) {
        background-color: #f4f4f4;
    }

    .list-items-grid .grid-content ul li {
        list-style: none;
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #f2f2f2;
    }

    .header-title-area {
        background-image: url('../img/home-first-hero-desktop.jpg');
        background-position: 0px -223px;
        min-height: 470px;
        display: grid;
    }

    .header-main-title h2 {
        color: #000000;
        font-family: "Work Sans", Sans-serif;
        font-weight: 600;
        background: rgb(255 255 255 / 80%);
        padding: 20px 30px;
    }

    .header-main-title {
        display: grid;
        width: auto;
        place-content: center;
        height: 100%;
    }

    .listing-main {
        padding: 0 20px;
    }
     
    .listing-main .dropdowns {
        display: flex;
        gap: 50px;
       justify-content: right;
       margin: 20px;
    }

    #category-select{
      width:240px;
    }

     #attribute-select{
      width:240px;
    }

    .pagination a,
    .pagination span {
        padding: 5px;
        background: #f3f5f8;
        width: 40px;
        height: 40px;
        display: flex;
        text-align: center;
        color: #000;
        font-weight: 600;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
    }

    .pagination span {
        color: #fff;
        background-color: #f40e3b;
    }

    .pagination {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination a.next {
        background: transparent;
    }

    @media (max-width:1024px) {
        .header-title-area {
            min-height: 300px;
        }
    }

    @media (max-width:767px) {
        body .header-title-area {
            min-height: 300px;
        }

        body .list-items-grid {
            max-width: 100%;
            width: 100%;
            flex: 0 0 100%;
        }

        body .listing-grid {
            padding: 0 20px;
            gap: 20px;
        }

        body .list-items-grid .grid-content {
            width: 100%;
        }

        body .listing-grid {
            padding: 0 !important;
        }

        .header-main-title {
            text-align: center;
            margin: 0 20px;
            padding: 15px;
        }

        .header-main-title h2 {
            font-size: 26px;
        }
    }
  /* Add spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style for the loader */
.loader {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 20px auto; /* Adjust margin as needed */
}

.container-custom p {
        font-family: "Work Sans", sans-serif;
        font-size: 16px;
    }

    .container-custom img {
        width: 100%;
    }

    .container-custom {
        margin: 50px auto;
        max-width: 1170px;
        font-family: "Work Sans", sans-serif;
        padding: 20px;
    }

    .list-items-grid {
        max-width: 33.3%;
        width: 100%;
        flex: 0 0 33.3%;
        padding:0 15px;
    }

    .list-items-grid a {
        padding: 18px;
        display: inline-block;
        box-shadow: 0px 0px 8px -1px #e5e5e5;
        text-decoration: none;
        color: #000;
        width:100%;
    }

    .list-items-grid a img {
        width: 100%;
        height:206px
    }

    .listing-grid {
        display: flex;
        flex-wrap: wrap;
        margin:0 -15px;
    }

    .list-items-grid a h4 {
        font-size: 23px;
        margin: 0;
        padding-top: 12px;
    }

    .list-items-grid a ul {
        margin: 0;
        padding: 0;
        border: 1px solid #f2f2f2;
        margin-top: 20px;
    }

    .list-items-grid a ul li:nth-child(even) {
        background-color: #f4f4f4;
    }

    .list-items-grid a ul li {
        list-style: none;
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #f2f2f2;
    }
    .header-title-area {
        background-image: url('../img/home-first-hero-desktop.jpg');
        background-position: 0px -223px;
        min-height: 470px;
        display: grid;
    }

    .header-title-area.color-overlay.details-header h2 {
        color: #000000;
        font-family: "Work Sans", Sans-serif;
        font-weight: 600;
        background: rgb(255 255 255 / 80%);
        padding: 20px 30px;
    }

    .header-main-title {
        display: grid;
        width: auto;
        place-content: center;
        height: 100%;
    }

    .detail-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 40px;
        align-items: center;
    }

    .detail-row div {
        width: 50%;
    }

    button.info-buttons {
        background: #F40E3B;
        border: none;
        padding: 18px 30px;
        color: #fff;
        font-weight: 600;
        font-size: 18px;
        font-family: 'Work Sans', sans-serif;
    }

    .details-content p {
        font-size: 16px;
        font-family: 'Work Sans', sans-serif;
        line-height: 25px;
        margin-bottom: 20px;
    }

    .divider-space {
        display: inline-block;
        width: 100%;
        height: 1px;
        background: #ccc;
        margin: 50px 0px;
    }

    .product-info-header {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
    }

    .product-info-header a.pdf-btn{
        padding: 15px 25px;
        background: transparent;
        border: 1px solid #f40e3b;
        color: #f40e3b;
        font-family: 'Work Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
    }

    table.table {
        border-collapse: collapse;
        width: 100%;
        text-align: left;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    table.table th,
    table.table td {
        padding: 15px;
        border: 1px solid #ccc;
        border-collapse: collapse;
    }

    table.table tr:nth-child(even) {
        background: #f4f4f4;
    }

    h3.widget-heading,
    .product-info-header h2 {
        font-size: 45px;
        margin-top: 25px;
        font-weight: 600;
    }

    .detail-product-info {
        margin-bottom: 80px;
    }

    /* gallery */
    .photos-grid-container {
        grid-gap: 15px;
        align-items: start;
        margin-top: 50px;
        width: 100%;
    }
    @media (max-width:1024px){
    .header-title-area.color-overlay.details-header h2, h3.widget-heading, .product-info-header h2{
            font-size:32px;
        }
        .header-title-area {
            min-height: 300px;
        }
    }
    @media (max-width:767px){
        .list-items-grid {
            max-width: 100%;
            flex: 0 0 100%;
        }
        .header-title-area.color-overlay.details-header h2, h3.widget-heading, .product-info-header h2{
            font-size:32px;
        }
        h3.widget-heading, .product-info-header h2{
            margin-top:0px;
        }
        .detail-row {
        flex-wrap: wrap;
        }
        .detail-row div {
            width: 100%;
        }
        body .listing-grid {
            padding: 0  !important;
            gap:30px;
        }
        .listing-main {
            padding: 0;
        }
        .detail-product-info {
    margin-bottom: 50px;
        }
        .container-custom {
            margin: 30px auto;
        }
        table.table {
            margin-top: 0;
        }
        .sub div {
    width: 100% !important;
    height: 250px !important;
}
.container-custom{
    padding:0;
}
.header-main-title {
    text-align: center;
    margin: 0 20px;
    padding:15px;
}
.header-main-title h2 {
    font-size: 26px;
}
    }
    @media (max-width: 580px) {
        .photos-grid-container {
            grid-template-columns: 1fr;
        }
    }

    .img-box {
        border: 1px solid #ffffff;
        position: relative;
    }

    .img-box:hover .transparent-box {
        background-color: rgba(0, 0, 0, 0.6);
    }

    .img-box:hover .caption {
        transform: translateY(-5px);
    }

    img {
        max-width: 100%;
        display: block;
        height: auto;
    }

    .caption {
        color: white;
        transition: transform 0.3s ease, opacity 0.3s ease;
        font-size: 1.5rem;
    }

    .transparent-box {
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 0;
        left: 0;
        transition: background-color 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-photo {
        grid-row: 1;
        grid-column: 1;
    }

    .sub div {
    width: 33.3%;
    height: 206px;
    padding: 0 8px;
    margin-bottom: 15px;
}

    .hide-element {
        border: 0;
        clip: rect(1px 1px 1px 1px);
        /* IE6, IE7 */
        clip: rect(1px, 1px, 1px, 1px);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .sub {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}
    .pagination a, .pagination span {
    padding: 5px;
    background: #f3f5f8;
    width: 40px;
    height: 40px;
    display: flex;
    text-align: center;
    color: #000;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}
.pagination span {
    color: #fff;
    background-color: #f40e3b;
}
.pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.pagination a.next, .pagination a.prev  {
    background: transparent;
}
.sub div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@media screen and (min-width: 1280px) {
    .container {
        margin: 0 auto;
        width: 1250px;
    }
}
