/* PGB Woo Product Card Styles */
.elementor-widget-pgb-woo-product-box .elementor-widget-container {
    height: 100%;
}

.pgb-woo-card-wrapper {
    border: 1px solid #e0e0e0;
    /*border-top: 4px solid #388e3c; */
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: inherit;
    height: 100%;
}

.pgb-woo-image-container {
    position: relative; 
    width: 100%;
    background-color: #dcedc8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.pgb-woo-img {
    width: 100%;
    height: 220px; /* Standardize the height for a clean product grid */
    object-fit: cover;
    display: block;
    margin: 0;
    /* Removed position: absolute, top, and left */
}

.pgb-woo-image-placeholder {
    color: #2e7d32;
    font-weight: 600;
    font-size: 14px;
    padding: 80px 20px; /* Gives the placeholder intrinsic height */
    text-align: center;
}

.pgb-woo-content {
    padding: 24px;
    border-top: 1px solid #f1f1f1;
}

.pgb-woo-title {
    margin: 0 0 10px;
    font-size: 20px;
    color: #111;
    font-weight: 800;
    line-height: 1.2;
}

.pgb-woo-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
    line-height: 1.5;
}

.pgb-woo-desc p {
    margin: 0; /* Override default WP paragraph margins in the desc */
}

.pgb-woo-price {
    font-size: 18px;
    color: #00c853; /* Bright green price */
    font-weight: 800;
    margin-bottom: 15px;
}

.pgb-woo-price ins {
    text-decoration: none;
}

.pgb-woo-price del {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    margin-right: 8px;
}

.pgb-woo-link {
    display: inline-block;
    color: #2e7d32; /* Darker green link */
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.pgb-woo-link:hover {
    color: #1b5e20;
}


/* NEW: Top Badge (Black label over image) */
.pgb-woo-top-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #111; /* Default background */
    color: #fff;            /* Default text color */
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
}

/* NEW: Sub Badge (Light green label above title) */
.pgb-woo-sub-badge {
    display: inline-block;
    background-color: #eaf3e5; /* Default background */
    color: #2e7d32;            /* Default text color */
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}


/*-----------------------------------------------
  PGB ICON WIDGET STYLES
-----------------------------------------------*/
.pgb-icon-container {
    display: flex;
    /* Optional: Change to center or flex-end if you want alignment controls later */
    align-items: flex-start; 
}

.pgb-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 1;
}

.pgb-icon-wrapper img {
    display: block;
    object-fit: contain;
}

.pgb-icon-wrapper svg {
    display: block;
}

/*-----------------------------------------------
  PGB PRODUCT HERO WIDGET STYLES
-----------------------------------------------*/
.pgb-hero-wrapper {
    background: #f7f7f5;
    padding: 72px 40px 64px;
    border-radius: 8px; /* Encapsulates the hero if placed inside a container */
    margin-bottom: 27px;    
}

.pgb-hero-content-col {
}

.pgb-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #2d8c2a;
    margin-bottom: 14px;
}

.pgb-hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 18px;
    letter-spacing: -1px;
    font-family: 'Archivo Black', 'Josefin Sans', Arial, sans-serif;
}

.pgb-hero-title span {
    color: #3db83a;
}

.pgb-hero-sub {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 460px;
}

.pgb-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pgb-hero-btn-p {
    background: #3db83a;
    color: #fff;
    padding: 13px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pgb-hero-btn-p:hover {
    opacity: 0.85;
}

.pgb-hero-btn-s {
    background: transparent;
    color: #1a1a1a;
    padding: 12px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid #1a1a1a;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.pgb-hero-btn-s:hover {
    background: #1a1a1a;
    color: #fff;
}

.pgb-hero-pills {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pgb-hero-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
}

.pgb-hero-pill-dot {
    width: 7px;
    height: 7px;
    background: #3db83a;
    border-radius: 50%;
    flex-shrink: 0;
}

.pgb-hero-img-col {
    height: 100%;
}

.pgb-hero-img-wrap {
    /*background: #d4e8c2;*/
    border-radius: 8px;
    /*min-height: 400px;*/
    overflow: hidden;
    position: relative;
    height: 100%;
}

.pgb-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /*position: absolute;*/
    top: 0;
    left: 0;
}

.pgb-hero-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    color: #2d8c2a;
    font-size: 14px;
    font-weight: 600;
}

.pgb-hero-price-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(26, 26, 26, 0.92);
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    z-index: 10;
}

.pgb-hero-price-tag .pgb-p {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.pgb-hero-price-tag .pgb-l {
    font-size: 11px;
    color: #9be58f;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Tablet & Mobile Overrides */
@media (max-width: 900px) {
    .pgb-hero-wrapper {
        padding: 40px 20px;
    }
    
    .pgb-hero-title {
        font-size: 32px;
    }

    .pgb-hero-img-wrap {
        min-height: 300px;
    }
}


/*-------------------------------------------------
PGB ELEMENTOR KITS
------------------------------------------------*/    
/* IMAGE BOXES */
/* Force the Elementor widget container to stretch */
.elementor-widget-pgb-image-box .elementor-widget-container {
    height: 100%;
}

.pgb-image-box-wrapper {
    border: 1px solid #e0e0e0; 
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* <-- Add this line */
}

.image-box-green .pgb-image-box-wrapper {
    border-top: 3px solid #3db83a !important;
}

.pgb-image-container {
    position: relative;
    width: 100%;
}

.pgb-image-box-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.pgb-popular-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #111;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.pgb-image-box-content {
    padding: 20px;
    display: flex;             /* <-- Add this */
    flex-direction: column;    /* <-- Add this */
    flex-grow: 1;              /* <-- Add this to fill remaining space */
}

.pgb-sub-tag {
    display: inline-block;
    background-color: #eaf3e5; 
    color: #2e7d32; 
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    align-self: flex-start;    /* <-- Add this so it doesn't stretch full width */
}

.pgb-image-box-title {
    margin: 0 0 8px;
    font-size: 20px;
    color: #111;
    font-weight: bold;
}

.pgb-image-box-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.pgb-image-box-link {
    display: inline-block;
    color: #2e7d32; 
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;          /* <-- Add this to push to the bottom */
}

.pgb-image-box-link:hover {
    text-decoration: underline;
}

/* HACK DIRTY GREEN BOX */
div[data-id='b4ad618'] .pgb-image-box-wrapper {
    border: 1px solid #3DB83A; 
    background: #f9fef9;
}

div[data-id='b4ad618'] .pgb-image-box-wrapper {
    background: #f9fef9;
}




/*-----------------------------------------------
  PGB WOO SPECS WIDGET STYLES
-----------------------------------------------*/
.pgb-specs-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    font-family: 'Josefin Sans', Arial, sans-serif;
    color: #1a1a1a;
    align-content: center;
}

/* Image Column */
.pgb-specs-img-wrap {
    background: #d4e8c2;
    border-radius: 8px;
    min-height: 340px;
    /*overflow: hidden;*/
    position: relative;
    height: 100%;
}

.pgb-specs-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.pgb-specs-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    color: #2d8c2a;
    font-size: 14px;
    font-weight: 600;
}

/* Pricing & Reviews */
.pgb-specs-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.pgb-specs-price-val {
    font-size: 34px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -1px;
    font-family: 'Archivo Black', 'Josefin Sans', Arial, sans-serif;
}

.pgb-specs-price-unit {
    font-size: 14px;
    color: #777;
    font-weight: 600;
}

.pgb-specs-review-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pgb-specs-stars {
    color: #3db83a;
    display: flex;
    gap: 2px;
}

.pgb-specs-review-link {
    font-size: 13px;
    color: #2d8c2a;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pgb-specs-review-link:hover {
    opacity: 0.8;
}

/* Specs Table */
.pgb-specs-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin-top: 8px;
    margin-bottom: 22px;
}

.pgb-specs-table td {
    padding: 14px 18px;
    font-size: 13px;
    border-bottom: 1px solid #e8e8e8;
}

.pgb-specs-table tr:last-child td {
    border-bottom: none;
}

.pgb-specs-table td.pgb-spec-lbl {
    font-weight: 700;
    color: #888;
    letter-spacing: .05em;
    font-size: 11px;
    width: 46%;
    background: #fafafa;
}

.pgb-specs-table td.pgb-spec-val {
    font-weight: 800;
    color: #1a1a1a;
}

/* Buttons */
.pgb-specs-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pgb-specs-btn-p {
    background: #3db83a;
    color: #fff;
    padding: 13px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pgb-specs-btn-p:hover {
    opacity: 0.85;
}

.pgb-specs-btn-s {
    background: transparent;
    color: #1a1a1a;
    padding: 12px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid #1a1a1a;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.pgb-specs-btn-s:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .pgb-specs-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pgb-specs-img-wrap {
        min-height: 280px;
    }
}


/*-----------------------------------------------
  PGB WOO CARD LINK WIDGET STYLES
-----------------------------------------------*/
.pgb-woo-card-link {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 18px;
    text-decoration: none;
    display: block;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    height: 100%;
}

.pgb-woo-card-link:hover {
    border-color: #3db83a;
}

.pgb-wcl-name {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-family: 'Archivo Black', 'Josefin Sans', Arial, sans-serif;
    line-height: 1.2;
}

.pgb-wcl-spec {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    font-family: inherit;
}

.pgb-wcl-price {
    font-size: 16px;
    font-weight: 900;
    color: #3db83a;
    font-family: inherit;
}

.pgb-wcl-price span {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    margin-left: 2px;
}

/* Ensure the Elementor container stretches to fill the grid if placed in a Flexbox/Grid layout */
.elementor-widget-pgb-woo-card-link .elementor-widget-container {
    height: 100%;
}


/*-----------------------------------------------
  PGB WOO CTA WIDGET STYLES
-----------------------------------------------*/
.pgb-woo-cta-container {
    background: #1A1A1A;
    padding: 72px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    border-radius: 0;
    width: 100%;
    font-family: 'Josefin Sans', Arial, sans-serif;
}

.pgb-wcta-left .pgb-wcta-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #3db83a;
    margin-bottom: 10px;
}

.pgb-wcta-left .pgb-wcta-title {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -.5px;
    font-family: 'Archivo Black', 'Josefin Sans', Arial, sans-serif;
}

.pgb-wcta-left .pgb-wcta-sub {
    font-size: 15px;
    color: #aaa;
    line-height: 1.65;
    max-width: 440px;
}

/* Right Side Card */
.pgb-wcta-card {
    background: rgba(255, 255, 255, .05);
    border-radius: 0;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    border-radius: 15px;
}

.pgb-wcta-card p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Stacked Buttons */
.pgb-wcta-btn {
    display: block;
    text-align: center;
    padding: 13px 26px;
    border-radius: 5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.pgb-wcta-btn-1 {
    background: #3db83a;
    color: #fff;
}

.pgb-wcta-btn-1:hover {
    opacity: 0.85;
}

.pgb-wcta-btn-2 {
    background: #2d8c2a;
    color: #fff;
}

.pgb-wcta-btn-2:hover {
    opacity: 0.85;
}

.pgb-wcta-btn-3 {
    border: 1.5px solid #555;
    background: transparent;
    color: #ccc;
    margin-bottom: 0;
}

.pgb-wcta-btn-3:hover {
    border-color: #777;
    color: #fff;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .pgb-woo-cta-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 32px;
    }
}


/*-----------------------------------------------
  PGB SORTABLE PRODUCT TILES WIDGET STYLES
-----------------------------------------------*/
.pgb-sortable-wrapper {
    width: 100%;
    font-family: 'Josefin Sans', Arial, sans-serif;
}

/* Pills */
.pgb-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.pgb-pill {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pgb-pill:hover {
    background: #3db83a;
    color: #fff;
}

.pgb-pill.active {
    background: #3db83a;
    color: #fff;
    border-color: #3db83a;
}

/* Grid Layout */
.pgb-sortable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Cards */
.pgb-sortable-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* JS Hidden State */
.pgb-sortable-card.pgb-hidden {
    display: none;
}

.pgb-sc-img-wrap {
    /*height: 180px;*/
    background: #f4f5f6;
    overflow: hidden;
    border-bottom: 1px solid #efefef;
}

.pgb-sc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pgb-sc-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #2d8c2a;
    font-size: 12px;
    font-weight: 600;
}

.pgb-sc-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pgb-sc-badge {
    display: inline-block;
    background-color: #eaf3e5;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}

html body .pgb-sc-title {
    font-size: 20px !important;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.2;
    font-family: 'Archivo Black', 'Josefin Sans', Arial, sans-serif;
    text-transform: uppercase !important;
}

.pgb-sc-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Footer container that strictly locks to the bottom */
.pgb-sc-footer {
    margin-top: auto !important;
    width: 100%;
}

.pgb-sc-price {
    font-size: 20px;
    font-weight: 900;
    color: #3db83a;
    margin-bottom: 20px;
}

.pgb-sc-btn {
    display: block;
    text-align: center;
    background: #fff;
    color: #1a1a1a;
    padding: 10px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pgb-sc-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Tablet / Mobile Overrides */
@media (max-width: 900px) {
    .pgb-sortable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pgb-sortable-grid {
        grid-template-columns: 1fr;
    }
}