#pcn-container {
    display: flex;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.pcn-category-panel,
.pcn-product-panel {
    flex: 1;
    overflow-y: scroll;
}

.pcn-category-panel {
    position: relative;
    border-right: 1px solid #eee;
}

.pcn-product-panel .pcn-message-container {
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content: space-around;
}

.pcn-category-list,
.pcn-product-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.pcn-category-list li {
    display: flex;
    align-items: center;
}

.pcn-category-list li a,
.pcn-category-button,
.pcn-product-list li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pcn-category-button:hover,
.pcn-product-list li a:hover {
    /*background-color: #f5f5f5;*/
}

.pcn-category-button.active {
   /* background-color: #0073aa;  Highlight color */
    color: #ffffff; /* Text color */
}

.pcn-category-button.active:hover {
  /*  background-color: #005a8c;*/ /* Slightly darker color on hover */
}


.pcn-category-image {
    width: var(--pcn-image-size, 100px); /* Image width */
    height: var(--pcn-image-size, 100px); /* Image height */
    object-fit: contain;
    display: block;
}

.pcn-image-left .pcn-category-button,
.pcn-image-right .pcn-category-button {
    flex-direction: row;
}

.pcn-image-top .pcn-category-button,
.pcn-image-bottom .pcn-category-button {
    flex-direction: column;
}

.pcn-category-name {
    flex: 1;
    font-size: 16px;
}
.pcn-category-icon {
	font-size: 18px;
	color: inherit;
}
.pcn-image-left .pcn-category-name {
    margin-left: 10px;
}

.pcn-has-children::after {
    /*content: attr(data-icon);*/
    margin-left: 10px;
}

.pcn-back-icon {
    display: inline-block;
    margin-right: 5px;
    font-size: 16px;
}
#pcn-back-button {
    /*display: flex;
    align-items: center;
    justify-content: flex-start;
    */
    width: 100%;
    height: auto;
    padding: 10px;
    margin: 2px 0 2px 0;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    border-radius: 0;
}

#pcn-back-button {
    color: inherit;
    background: inherit;
}

#pcn-back-button:hover {
    color: inherit;
    background: inherit;
}

.pcn-transitioning {
    transition: transform 0.2s ease-in-out;
}

.pcn-product-list-container {
    padding: 10px;
}

.pcn-product-list li {
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
}

.pcn-product-list li a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Target product titles specifically */
.pcn-product-list .pcn-product-title {
    font-size: 14px;
    text-align: left;
    font-weight: bold;
}

.pcn-product-sku {
    font-size: 10px;
    color: #666;
    margin-top: 3px;
}
.pcn-product-price {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #000;
}

.pcn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pcn-disabled:hover {
    background-color: inherit;
}

/* Lightbox styles */
#pcn-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

#pcn-lightbox .pcn-lightbox-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


#pcn-lightbox .pcn-lightbox-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

#pcn-lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}


.pcn-add-to-cart {
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.pcn-view-more {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #0073aa;
}

.fancybox-button svg {
display: block;
height: 100%;
overflow: visible;
position: relative;
width: 50%;
max-width: 150px;
}

/* Style elements in the content-single-product-lightbox template */
.product-lightbox-summary .quantity {
    display: inline-block; /* Keep the quantity field and button on the same line */
    width: auto; /* Prevent the quantity field from taking too much space */
    margin-right: 10px; /* Space between the quantity field and the add to cart button */
    vertical-align: middle; /* Align the quantity field with the button */
}

.product-lightbox-summary .quantity input[type="number"] {
    width: 60px; /* Adjust the width of the quantity input */
    padding: 5px; /* Add some padding for better appearance */
    text-align: center; /* Center the number within the field */
}

.product-lightbox-summary button.single_add_to_cart_button {
    display: inline-block;
    vertical-align: middle; /* Align the button with the quantity field */
    margin-top: 0; /* Remove any unwanted margin */
}

/* Hide the bundle product form in the lightbox to save space - user can add to cart but not see the included options. */
#pcn-lightbox .bundle_form {
	display: none;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    #pcn-container {
        flex-direction: row;
    }

    .pcn-category-panel,
    .pcn-product-panel {
        width: 50%;
    }

    .pcn-category-panel {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .pcn-category-image {
        width: 80px;
        height: 80px;
    }
}
