/* Base Grid Styles */
.pg-wrapper-72a49867 {
    display: grid;
    grid-template-columns: repeat(var(--pg-cols, 4), 1fr);
    gap: 20px;
}

/* Remove full width styling for single product
.pg-wrapper-72a49867.pg-single-product-72a49867 {
    grid-template-columns: 1fr !important;
}
*/

.pg-item-72a49867 {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}
.pg-item-72a49867.is-filtered-out-72a49867,
.pg-item-72a49867.is-limit-hidden-72a49867 {
    display: none !important;
}
.pg-item-72a49867:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pg-labels-container-72a49867 {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pg-label-72a49867 {
    color: #fff;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
}

/* Category & Alert Buttons */
.pg-category-buttons-wrap-72a49867 {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: flex-end;
}

.pg-follow-btn-group-72a49867 {
    display: flex;
    align-items: stretch;
    gap: 2px;
}

.pg-cat-btn-72a49867,
.pg-alert-btn-72a49867,
.pg-alert-cog-btn-72a49867 {
    background-color: #F8002F;
    color: #fff !important;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-cat-btn-72a49867,
.pg-alert-btn-72a49867 {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.2;
}

.pg-alert-cog-btn-72a49867 {
    padding: 0 8px;
}

.pg-alert-cog-btn-72a49867 svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

.pg-cat-btn-72a49867:hover,
.pg-alert-btn-72a49867:hover,
.pg-alert-cog-btn-72a49867:hover {
    background-color: #000C14;
}

.pg-alert-btn-72a49867.is-following {
    background-color: #000C14;
}
.pg-alert-btn-72a49867.is-following:hover {
    background-color: #F8002F;
}

.pg-img-link-72a49867 {
    display: block;
    overflow: hidden;
    padding: 10px; 
    margin-top: 30px; 
}
.pg-img-wrap-72a49867 {
    height: 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}
.pg-img-72a49867 {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; 
    transition: transform 0.3s ease;
}

/* 
.pg-single-product-72a49867 .pg-img-wrap-72a49867 {
    height: 350px; 
}
*/

.pg-img-link-72a49867:hover .pg-img-72a49867 {
    transform: scale(1.05);
}

.pg-image-only-72a49867 .pg-img-wrap-72a49867 {
    height: auto;
    aspect-ratio: 1 / 1;
    padding-bottom: 0;
}

.pg-content-72a49867 {
    padding: 5px 15px 15px 15px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}
.pg-title-72a49867 {
    font-size: 16px;
    margin: 0 0 10px 0;
    line-height: 1.2; 
}

html body .pg-wrapper-72a49867 .pg-item-72a49867 .pg-content-72a49867 .pg-title-72a49867 a {
    color: #000C14 !important; 
    text-decoration: none !important;
    transition: color 0.2s ease;
}
html body .pg-wrapper-72a49867 .pg-item-72a49867 .pg-content-72a49867 .pg-title-72a49867 a:hover {
    color: #F8002F !important; 
}

.pg-desc-72a49867 {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    flex-grow: 1;
}
.pg-price-72a49867 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    color: #000C14;
}
.pg-price-72a49867 del {
    font-size: 12px;
    color: #999;
    margin-right: 5px;
    text-decoration: line-through;
}
.pg-price-72a49867 ins {
    text-decoration: none;
}

.pg-stock-72a49867 {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pg-stock-label-72a49867 {
    font-weight: bold;
}
.pg-stock-num-72a49867 {
    background-color: #F8002F;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pg-stock-text-72a49867 {
    color: #28a745;
    font-weight: bold;
}

.pg-atc-wrap-72a49867 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.pg-qty-wrap-72a49867 {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.pg-qty-input-72a49867 {
    width: 100%;
    text-align: center;
    border: none;
    padding: 8px 0;
    -moz-appearance: textfield;
}
.pg-qty-input-72a49867::-webkit-outer-spin-button,
.pg-qty-input-72a49867::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pg-btn-72a49867 {
    display: block;
    text-align: center;
    background-color: #F8002F;
    color: #fff !important;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.pg-btn-72a49867:hover {
    opacity: 0.9;
}

.pg-btn-login-72a49867 {
    display: block;
    text-align: center;
    background-color: #F8002F;
    color: #fff !important;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: auto;
}
.pg-btn-login-72a49867:hover {
    background-color: #000C14;
}

/* Re-sell Pricing Styling */
.pg-resell-pricing-wrap-72a49867 {
    margin-top: 10px;
    background: #000c14; 
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    position: relative;
}
.pg-resell-pricing-inner-72a49867 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.pg-resell-title-72a49867 {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.pg-resell-values-container-72a49867 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.pg-resell-value-72a49867 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.pg-resell-per-pint-72a49867 {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: normal;
}
.pg-resell-fractions-72a49867 {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
    margin-bottom: 6px;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 4px;
    width: 100%;
}
.pg-resell-fraction-col-72a49867 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.pg-resell-fraction-label-72a49867 {
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
}
.pg-resell-fraction-val-72a49867 {
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
}
.pg-resell-margin-72a49867 {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}
.pg-resell-cog-72a49867 {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    color: #ffffff !important; 
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 4px;
    opacity: 0.8;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pg-resell-cog-72a49867 svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.pg-resell-cog-72a49867:hover {
    opacity: 1;
    transform: rotate(90deg);
    color: #ffffff !important;
}

/* Modal Styling */
.pg-modal-overlay-72a49867 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 9999999; 
    display: flex;
    align-items: center;
    justify-content: center;
}
body.admin-bar .pg-modal-overlay-72a49867 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .pg-modal-overlay-72a49867 {
        top: 46px;
        height: calc(100vh - 46px);
    }
}
.pg-modal-content-72a49867 {
    background: #fff;
    border-radius: 8px;
    padding: 30px; 
    max-width: 600px; 
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}
.pg-modal-close-72a49867 {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    z-index: 10;
    transition: color 0.2s;
}
.pg-modal-close-72a49867:hover {
    color: #F8002F;
}
.pg-modal-body-72a49867 {
    margin-top: 10px;
    color: #333;
}


@media (max-width: 768px) {
    .pg-wrapper-72a49867 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .pg-img-wrap-72a49867 {
        height: 150px;
    }
    .pg-title-72a49867 {
        font-size: 14px;
    }
    .pg-price-72a49867, .pg-btn-72a49867 {
        font-size: 13px;
    }
    .pg-content-72a49867 {
        padding: 10px;
    }
    .pg-resell-fractions-72a49867 {
        gap: 8px;
        padding: 6px;
    }
}

/* --- Filter Widget Styles --- */
.pg-filters-wrapper-72a49867 {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.pg-filter-group-72a49867 {
    display: grid;
    grid-template-columns: 150px 1fr auto; 
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    position: relative;
}
.pg-filter-group-72a49867:first-child {
    padding-top: 0;
}
.pg-filters-wrapper-72a49867[data-dividers="compact"] .pg-filter-group-72a49867:not(:first-child) {
    border-top: 1px solid #f0f0f0;
    margin-top: 5px;
    padding-top: 15px;
}

.layout-stacked .pg-filter-group-72a49867 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 5px;
}
.layout-stacked .pg-filters-list-72a49867 {
    flex-direction: column;
}

.pg-filters-title-72a49867 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #000C14;
}

/* Select drop downs */
.pg-filter-select-72a49867 {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #000C14;
    background-color: #fff;
    width: 100%;
    max-width: 300px;
}

/* Toggles */
.pg-filter-resell-wrap-72a49867 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pg-toggle-switch-72a49867 {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.pg-toggle-switch-72a49867 input {
    opacity: 0;
    width: 0;
    height: 0;
}
.pg-toggle-slider-72a49867 {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.pg-toggle-slider-72a49867:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
.pg-toggle-cb-72a49867:checked + .pg-toggle-slider-72a49867 {
    background-color: #F8002F;
}
.pg-toggle-cb-72a49867:checked + .pg-toggle-slider-72a49867:before {
    transform: translateX(20px);
}
.pg-toggle-slider-72a49867.round {
    border-radius: 24px;
}
.pg-toggle-slider-72a49867.round:before {
    border-radius: 50%;
}
.pg-toggle-label-72a49867 {
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.pg-filters-list-72a49867 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.pg-filter-item-72a49867 {
    display: flex;
    align-items: center;
}
.pg-filter-item-72a49867.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}
.pg-filter-cb-72a49867 {
    display: none;
}
.pg-filter-label-72a49867 {
    cursor: pointer;
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: #000C14;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pg-filter-label-72a49867:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s ease;
}
.pg-filter-cb-72a49867:checked + .pg-filter-label-72a49867:after {
    content: '✓';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin-top: -1px;
}
.pg-filter-count-72a49867 {
    color: #888;
    font-size: 12px;
}

.pg-filters-reset-72a49867 {
    background-color: #F8002F;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    justify-self: end;
}
.layout-stacked .pg-filters-reset-72a49867 {
    justify-self: start;
}
.pg-filters-reset-72a49867:hover {
    opacity: 0.9;
}
.pg-filters-reset-72a49867.hidden {
    display: none !important;
}

/* Coming Soon Widget Styles - RESTORED BUTTON STYLING */
.cs-wrapper-72a49867 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 16px;
}
.cs-prefix-72a49867 {
    font-weight: bold;
    color: #000C14;
    margin-right: 5px;
}

/* Targeted tag selector to restore button styling */
a.cs-category-link-72a49867,
.cs-wrapper-72a49867 a.cs-category-link-72a49867 {
    display: inline-block;
    background-color: #F8002F !important;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
a.cs-category-link-72a49867:hover,
.cs-wrapper-72a49867 a.cs-category-link-72a49867:hover {
    background-color: #000C14 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}
/* Hide the comma separator when using buttons */
.cs-category-sep-72a49867 {
    display: none !important;
}

/* Hide everything inside the ABA integration wrap EXCEPT the modal */
.pg-aba-integration-wrap-72a49867 .aba-container-b3a527ef {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 0 !important;
    overflow: visible !important;
}
.pg-aba-integration-wrap-72a49867 .aba-header-b3a527ef,
.pg-aba-integration-wrap-72a49867 .aba-section-block-b3a527ef {
    display: none !important;
}
