/*-----------Penn Custom style--------------*/

/*----------------careers page custom style-----------------*/


@media (min-width: 782px) {
    .page-id-375 .wp-block-column:not(:first-child) {
        margin-left: 0rem !important;
    }
}

 /*------------------custom style for the product page------------------*/
 .pcs-main {
    margin: 10px auto;
}

.pcs-products {
    display: flex;
    gap: 25px;
    padding: 20px 10px;
    overflow: hidden;
    border-radius: 6px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pcs-product {
    border: 1px solid #d9d9d9;
    border-radius: 25px;
    padding: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent */
    backdrop-filter: blur(10px); /* Apply blur effect */
    -webkit-backdrop-filter: blur(10px); /* For older Safari browsers */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pcs-product-img {
    width: 250px;
    margin-bottom: 10px;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pcs-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-top: 1px solid #d9d9d9;
    padding-top: 10px;
    width: 100%;
    text-align: center;
    margin-bottom: 6px;
}

.pcs-description {
    max-width: 270px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.pcs-product-btn,
.pcs-search-btn,
.pcs-categories-btn,
.pcs-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    background: #0099d8;
    border: 1px solid #0099d8;
    transition: background 0.3s;
}

.pcs-product-btn {
    width: 85%;
}

.pcs-clear-btn {
    display: none;
    margin-left: 10px;
}

.pcs-product-btn:active,
.pcs-search-btn:active,
.pcs-categories-btn:active,
.pcs-clear-btn:active {
    color: white;
}

.pcs-product-btn:hover,
.pcs-search-btn:hover,
.pcs-categories-btn:hover,
.pcs-clear-btn:hover {
    color: #0099d8;
    background: #f0f3f3;
    border: 1px solid #f0f3f3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pcs-product-btn i,
.pcs-search-btn i,
.pcs-categories-btn i,
.pcs-clear-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.pcs-search-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.pcs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    gap: 10px;
    flex-wrap: wrap;
}

.pcs-search-box {
    display: flex;
}

.pcs-search-inp {
    width: 250px;
    padding: 10px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #0099d8;
}

#pcs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 9998;
}

/* modal */

.pcs-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 9999;
}

.pcs-modal {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 500px;
}

.pcs-modal h2 {
    margin-top: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 20px;
}

.pcs-modal-container.show,
#pcs-overlay.show {
    visibility: visible;
    opacity: 1;
}

.pcs-categories {
    display: flex;
    gap: 25px;
    padding: 5px 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pcs-category {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    background-color: #f0f3f3;
    border: 1px solid #f0f3f3;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pcs-category label {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #0099d8;
}

.pcs-category img {
    background-color: #f0f3f3;
    border: 1px solid #f0f3f3;
    border-radius: 25px;
    padding: 5px;
    width: 50px;
    aspect-ratio: 1;
}

.pcs-category.pcs-selected {
    background: #0099d8;
}

.pcs-category.pcs-selected label {
    color: white;
}

.pcs-category.pcs-selected img {
    background: #f0f3f3;
    border-color: #f0f3f3;
}

.pcs-loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}
.pcs-loader::before , .pcs-loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #FFF;
    animation: prixClipFix 2s linear infinite ;
}
.pcs-loader::after{
    inset: 8px;
    transform: rotate3d(90, 90, 0, 180deg );
    border-color: #0099d8;
}

@keyframes rotate {
    0%   {transform: rotate(0deg)}
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    75%, 100%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
}