.pp-managed-product .pp-product-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin: 0 0 14px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 999px;
    background: rgba(0, 0, 0, .045);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pp-managed-product .pp-summary-best-for {
    display: grid;
    gap: 5px;
    padding: 13px 0;
    margin: 10px 0 16px;
    border-top: 1px solid rgba(0, 0, 0, .12);
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.pp-managed-product .pp-summary-label,
.pp-managed-product .pp-fit-kicker {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .62;
}

.pp-managed-product .pp-amazon-cta {
    text-decoration: none;
}

.pp-managed-product .pp-amazon-image-cta {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
    margin: 2px 0;
}

.pp-managed-product .pp-amazon-image-cta img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    border: 0;
    box-shadow: none;
}

.pp-managed-product .pp-amazon-image-cta:hover,
.pp-managed-product .pp-amazon-image-cta:focus {
    opacity: .9;
}

.pp-managed-product .pp-amazon-text-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding-left: 18px;
    padding-right: 18px;
}

.pp-managed-product .pp-external-mark {
    font-size: .95em;
    line-height: 1;
}

.pp-product-editorial {
    clear: both;
    width: 100%;
    margin-top: 30px;
}

.pp-product-section {
    margin: 0 0 38px;
    padding: 0;
}

.pp-product-section > h2 {
    margin: 0 0 17px;
}

.pp-overview .pp-prose > :first-child {
    margin-top: 0;
}

.pp-overview .pp-prose > :last-child {
    margin-bottom: 0;
}

.pp-detail-grid {
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.pp-detail-row {
    display: grid;
    grid-template-columns: minmax(170px, .72fr) minmax(0, 1.28fr);
    gap: 22px;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.pp-detail-row dt,
.pp-detail-row dd {
    margin: 0;
}

.pp-detail-row dt {
    font-weight: 750;
}

.pp-pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pp-pros,
.pp-cons,
.pp-fit-card,
.pp-verdict-box,
.pp-bottom-cta-inner {
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 14px;
    padding: 20px;
    background: rgba(0, 0, 0, .018);
}

.pp-pros h3,
.pp-cons h3 {
    margin: 0 0 14px;
    font-size: 1.05em;
}

.pp-editorial-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-editorial-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 11px;
    line-height: 1.48;
}

.pp-editorial-list li:last-child {
    margin-bottom: 0;
}

.pp-list-icon {
    flex: 0 0 18px;
    font-weight: 800;
}

.pp-spec-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
}

.pp-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.pp-spec-table tr:nth-child(even) {
    background: rgba(0, 0, 0, .025);
}

.pp-spec-table th,
.pp-spec-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.pp-spec-table tr:last-child th,
.pp-spec-table tr:last-child td {
    border-bottom: 0;
}

.pp-spec-table th {
    width: 36%;
    font-weight: 750;
}

.pp-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pp-fit-card p {
    margin: 9px 0 0;
    line-height: 1.62;
}

.pp-verdict-box {
    border-left-width: 4px;
}

.pp-verdict-box p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.72;
}

.pp-bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 22px;
}

.pp-bottom-cta-copy {
    display: grid;
    gap: 5px;
}

.pp-bottom-cta-copy strong {
    font-size: 1.05em;
}

.pp-bottom-cta-copy span {
    opacity: .72;
}

@media (max-width: 680px) {
    .pp-detail-row,
    .pp-pros-cons,
    .pp-fit-grid {
        grid-template-columns: 1fr;
    }

    .pp-detail-row {
        gap: 5px;
    }

    .pp-bottom-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .pp-managed-product .pp-amazon-image-cta img {
        width: 185px;
    }

    .pp-bottom-cta-inner .pp-amazon-text-cta {
        width: 100%;
    }
}

/* V3.3: product catalog / category archives */
.pp-products-archive .woocommerce-products-header,
.pp-products-archive .woocommerce-notices-wrapper,
.pp-products-archive .pp-category-navigation,
.pp-products-archive .pp-archive-controls,
.pp-filter-no-results {
    width: min(100% - 32px, 1540px);
    margin-left: auto;
    margin-right: auto;
}

.pp-products-archive .woocommerce-products-header {
    padding-top: 24px;
    padding-bottom: 2px;
}

.pp-archive-heading {
    margin: 0;
}

.pp-products-archive .pp-archive-title {
    margin: 0 0 18px;
    padding: 0;
    font-size: clamp(28px, 2.4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
}

.pp-category-navigation {
    margin-top: 22px;
    margin-bottom: 30px;
}

.pp-category-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.pp-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pp-category-card:hover,
.pp-category-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, .18);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
    color: inherit;
}

.pp-category-card-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, .025);
    overflow: hidden;
}

.pp-category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.pp-category-placeholder {
    width: 52px;
    height: 52px;
    border: 2px solid rgba(0, 0, 0, .13);
    border-radius: 12px;
}

.pp-category-card-body {
    display: grid;
    gap: 7px;
    padding: 14px 16px 16px;
}

.pp-category-card-body strong {
    font-size: 1.08em;
    line-height: 1.25;
}

.pp-category-card-description,
.pp-category-count {
    font-size: .92em;
    line-height: 1.45;
    opacity: .78;
}

@media (min-width: 1520px) {
    .pp-product-category-archive .pp-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Main archive structure: filter sidebar + product area. */
.pp-archive-controls {
    margin-top: 12px;
    margin-bottom: 28px;
}

.pp-catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.pp-catalog-layout.pp-no-sidebar {
    grid-template-columns: minmax(0, 1fr);
}

.pp-products-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.pp-catalog-layout.pp-no-sidebar .pp-products-main {
    grid-column: 1;
}

.pp-archive-toolbar-wrap {
    min-width: 0;
}

.pp-filter-sidebar {
    grid-column: 1;
    grid-row: 1 / span 3;
    position: sticky;
    top: 24px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, .11);
    border-radius: 12px;
    background: #fff;
}

.admin-bar .pp-filter-sidebar {
    top: 56px;
}

.pp-filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .09);
}

.pp-filter-sidebar-header strong {
    font-size: 1.08em;
}

.pp-filter-close,
.pp-mobile-filter-toggle,
.pp-filter-overlay {
    -webkit-appearance: none;
    appearance: none;
}

.pp-filter-close {
    display: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.pp-filter-groups {
    display: block;
    margin: 0;
}

.pp-filter-group {
    min-width: 0;
    margin: 0;
    padding: 17px 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.pp-filter-group:last-child {
    border-bottom: 0;
}

.pp-filter-group legend {
    width: 100%;
    margin: 0 0 7px;
    padding: 0;
    font-weight: 750;
    font-size: .95em;
}

.pp-filter-options {
    display: grid;
    gap: 8px;
}

.pp-filter-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: .92em;
    line-height: 1.42;
    cursor: pointer;
}

.pp-filter-option input {
    flex: 0 0 auto;
    margin-top: .18em;
}

.pp-filter-sidebar-footer {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, .09);
}

.pp-reset-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: 7px;
    background: #fff;
    color: #444;
    font-size: .9em;
    line-height: 1.2;
    cursor: pointer;
}

.pp-reset-filters:hover,
.pp-reset-filters:focus-visible {
    border-color: rgba(0, 0, 0, .3);
    color: #111;
}

.pp-filter-overlay {
    display: none;
}

/* Count/sort toolbar above the product cards. */
.pp-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
    margin-bottom: 16px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.pp-mobile-filter-toggle {
    display: none;
}

.pp-archive-count {
    white-space: nowrap;
    color: rgba(0, 0, 0, .7);
    font-size: .95em;
}

.pp-archive-count strong {
    color: inherit;
}

.pp-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.pp-sort-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.pp-sort-label-text {
    white-space: nowrap;
    color: rgba(0, 0, 0, .67);
    font-size: .92em;
}

.pp-sort-label select {
    min-height: 38px;
    max-width: 230px;
    margin: 0;
}

/* Product grid: 3 cards on desktop; temporarily no 4-column wide-screen mode. */
.pp-products-archive .pp-products-main > ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pp-products-archive .pp-products-main > ul.products::before,
.pp-products-archive .pp-products-main > ul.products::after {
    display: none !important;
    content: none !important;
}

.pp-products-archive .pp-products-main > ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.pp-products-archive .pp-products-main > ul.products li.product[hidden] {
    display: none !important;
}

.pp-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .11);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .025);
}

/* Fixed image area keeps cards visually aligned; contain shows the whole product. */
.pp-card-image-link {
    display: grid;
    place-items: center;
    height: 240px;
    padding: 18px;
    overflow: hidden;
    background: #fff;
}

.pp-products-archive ul.products li.product .pp-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 !important;
}

.pp-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

.pp-card-badge {
    align-self: flex-start;
    display: inline-flex;
    padding: 5px 9px;
    margin: 0 0 7px;
    border: 1px solid rgba(0, 0, 0, .17);
    border-radius: 999px;
    background: rgba(0, 0, 0, .035);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.pp-card-brand {
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .55;
}

.pp-products-archive ul.products li.product .pp-card-title {
    margin: 0 0 9px;
    padding: 0;
    font-size: 1.15em;
    line-height: 1.28;
}

.pp-card-title a {
    color: inherit;
    text-decoration: none;
}

.pp-card-details {
    display: grid;
    gap: 5px;
    margin: 0 0 10px;
}

.pp-card-details > div {
    display: grid;
    grid-template-columns: minmax(88px, .75fr) minmax(0, 1.25fr);
    gap: 8px;
    font-size: .87em;
    line-height: 1.4;
}

.pp-card-details dt,
.pp-card-details dd {
    margin: 0;
}

.pp-card-details dt {
    font-weight: 700;
    opacity: .68;
}

.pp-card-verdict {
    display: -webkit-box;
    min-height: 5.7em;
    margin: 0 0 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: .93em;
    line-height: 1.52;
    opacity: .84;
}

.pp-products-archive ul.products li.product .pp-card-price {
    min-height: 1.5em;
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 1.08em;
    font-weight: 700;
}

.pp-card-price-empty {
    visibility: hidden;
}

.pp-card-actions {
    display: grid;
    grid-template-columns: 1fr;
}

.pp-products-archive .pp-card-actions .pp-amazon-js-cta {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #d71920;
    border-radius: 6px;
    background: #d71920;
    color: #fff;
    font: inherit;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pp-products-archive .pp-card-actions .pp-amazon-js-cta:hover {
    background: #b9141b;
    border-color: #b9141b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .16);
}

.pp-products-archive .pp-card-actions .pp-amazon-js-cta:focus-visible {
    background: #b9141b;
    border-color: #b9141b;
    color: #fff;
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.pp-products-archive .pp-card-actions .pp-amazon-js-cta:active {
    transform: translateY(0);
    box-shadow: none;
}

.pp-products-archive .pp-products-main .pp-pagination-wrap {
    width: 100%;
    margin: 26px 0 0;
}

.pp-products-main .pp-pagination-wrap .woocommerce-pagination {
    margin: 0;
}

.pp-catalog-layout > .pp-filter-no-results {
    width: 100%;
}

.pp-filter-no-results {
    margin-top: 22px;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, .11);
    border-radius: 10px;
    text-align: center;
}

@media (min-width: 1500px) {
    .pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px;
    }
}

/* Smaller laptops/tablets: keep sidebar but reduce product columns. */
@media (max-width: 1099px) and (min-width: 768px) {
    .pp-catalog-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 16px;
    }

    .pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px;
    }

    .pp-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* Mobile: off-canvas filters from the left, count + sort beside the filter button. */
@media (max-width: 767px) {
    .pp-products-archive .woocommerce-products-header,
    .pp-products-archive .woocommerce-notices-wrapper,
    .pp-products-archive .pp-category-navigation,
    .pp-products-archive .pp-archive-controls,
    .pp-filter-no-results {
        width: min(100% - 24px, 1540px);
    }

    .pp-category-card-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pp-category-card-media {
        aspect-ratio: 16 / 9;
    }

    .pp-catalog-layout {
        display: block;
    }

    .pp-archive-toolbar {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        gap: 8px;
        min-height: 44px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .pp-mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 38px;
        padding: 7px 10px;
        border: 1px solid rgba(0, 0, 0, .16);
        border-radius: 7px;
        background: #fff;
        color: inherit;
        font-size: .9em;
        font-weight: 650;
        cursor: pointer;
    }

    .pp-filter-toggle-icon {
        display: grid;
        width: 16px;
        gap: 3px;
    }

    .pp-filter-toggle-icon span {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

    .pp-archive-count {
        align-self: center;
        font-size: .86em;
    }

    .pp-toolbar-actions {
        min-width: 0;
        margin-left: 0;
    }

    .pp-sort-label {
        width: 100%;
        min-width: 0;
        justify-content: flex-end;
    }

    .pp-sort-label-text {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .pp-sort-label select {
        width: 100%;
        min-width: 0;
        max-width: 165px;
        min-height: 38px;
        padding-left: 8px;
        padding-right: 24px;
        font-size: .86em;
    }

    .pp-filter-sidebar {
        position: fixed;
        z-index: 10001;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(70vw, 360px);
        max-height: none;
        padding: 18px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 0;
        border-right: 1px solid rgba(0, 0, 0, .13);
        border-radius: 0 14px 14px 0;
        box-shadow: 14px 0 35px rgba(0, 0, 0, .16);
        transform: translateX(-105%);
        transition: transform .24s ease;
    }

    .admin-bar .pp-filter-sidebar {
        top: 0;
    }

    .pp-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .pp-filter-overlay {
        position: fixed;
        z-index: 10000;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, .38);
        opacity: 0;
        pointer-events: none;
        transition: opacity .24s ease;
    }

    .pp-filter-drawer-open .pp-filter-sidebar {
        transform: translateX(0);
    }

    .pp-filter-drawer-open .pp-filter-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.pp-filter-drawer-open {
        overflow: hidden;
    }

    .pp-filter-sidebar-footer {
        position: sticky;
        bottom: -18px;
        margin: 0 -18px -18px;
        padding: 14px 18px 18px;
        background: #fff;
    }

    .pp-reset-filters {
        width: 100%;
        min-height: 40px;
    }

    .pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .pp-card-image-link {
        height: 260px;
    }

    .pp-card-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .pp-archive-toolbar {
        grid-template-columns: auto auto minmax(110px, 1fr);
    }

    .pp-mobile-filter-toggle {
        padding-left: 8px;
        padding-right: 8px;
    }

    .pp-sort-label select {
        max-width: 145px;
    }

    .pp-card-actions {
        grid-template-columns: 1fr;
    }
}


/* V3.3.2: guaranteed archive DOM structure. */
.pp-products-archive .pp-products-main {
    width: 100%;
    max-width: none;
}

.pp-products-archive .pp-products-main > ul.products {
    clear: none !important;
}

@media (max-width: 767px) {
    .pp-products-main {
        width: 100%;
    }
}

/* V3.4: product-category editorial content -------------------------------- */
.pp-products-archive .pp-category-intro {
    max-width: 980px;
    margin: 0 0 26px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.pp-products-archive .pp-category-intro > :first-child,
.pp-products-archive .pp-category-seo-content > :first-child {
    margin-top: 0;
}

.pp-products-archive .pp-category-intro > :last-child,
.pp-products-archive .pp-category-seo-content > :last-child {
    margin-bottom: 0;
}

.pp-products-archive .pp-category-seo-content {
    clear: both;
    width: 100%;
    max-width: 1100px;
    margin: 46px auto 10px;
    font-size: 1rem;
    line-height: 1.75;
}

.pp-products-archive .pp-category-seo-content h2 {
    margin-top: 1.7em;
    margin-bottom: .55em;
}

.pp-products-archive .pp-category-seo-content h3 {
    margin-top: 1.35em;
    margin-bottom: .5em;
}

@media (max-width: 767px) {
    .pp-products-archive .pp-category-intro {
        margin-bottom: 20px;
        font-size: 1rem;
    }

    .pp-products-archive .pp-category-seo-content {
        margin-top: 34px;
    }
}

/* V3.5: category editorial readability */
.pp-products-archive .pp-category-intro {
    font-size: 17px;
    line-height: 1.7;
}

.pp-products-archive .pp-category-seo-content {
    font-size: 16px;
    line-height: 1.72;
}

/* V3.5: homepage/landing-page product showcase shortcode */
.pp-home-showcase {
    width: 100%;
    margin: 36px 0;
}

.pp-home-showcase-heading {
    margin-bottom: 30px;
}

.pp-home-showcase-heading h2,
.pp-home-category-title {
    margin-top: 0;
}

.pp-home-showcase-heading > p,
.pp-home-category-copy > p {
    max-width: 820px;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.65;
}

.pp-home-category-block {
    padding: 28px 0 34px;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.pp-home-category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 20px;
}

.pp-home-category-title {
    margin-bottom: 7px;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.2;
}

.pp-home-category-title a,
.pp-home-product-title a,
.pp-home-product-link,
.pp-home-category-meta a {
    text-decoration: none;
}

.pp-home-category-meta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 3px;
    font-size: 14px;
}

.pp-home-category-meta span:first-child {
    opacity: .64;
}

.pp-home-category-meta a,
.pp-home-product-link {
    font-weight: 750;
}

.pp-home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* v0.3.5.34: configurable responsive grid for [podovi_product_showcase]. */
.pp-home-showcase .pp-home-product-grid {
    grid-template-columns: repeat(var(--pp-showcase-cols-mobile, 2), minmax(0, 1fr));
    gap: var(--pp-showcase-gap-mobile, 8px);
}

@media (min-width: 768px) {
    .pp-home-showcase .pp-home-product-grid {
        grid-template-columns: repeat(var(--pp-showcase-cols-tablet, 2), minmax(0, 1fr));
        gap: var(--pp-showcase-gap-tablet, 16px);
    }
}

@media (min-width: 1024px) {
    .pp-home-showcase .pp-home-product-grid {
        grid-template-columns: repeat(var(--pp-showcase-cols-laptop, 3), minmax(0, 1fr));
        gap: var(--pp-showcase-gap-laptop, 16px);
    }
}

@media (min-width: 1367px) {
    .pp-home-showcase .pp-home-product-grid {
        grid-template-columns: repeat(var(--pp-showcase-cols-wide, 4), minmax(0, 1fr));
        gap: var(--pp-showcase-gap-wide, 16px);
    }
}

.pp-home-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    background: #fff;
}

.pp-home-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 18px;
    background: rgba(0, 0, 0, .018);
}

.pp-home-product-image img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: contain;
    margin: 0;
}

.pp-home-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.pp-home-product-title {
    margin: 7px 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.pp-home-product-verdict {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pp-home-product-link {
    margin-top: auto;
}

@media (max-width: 640px) {
    .pp-home-category-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .pp-home-category-meta {
        width: 100%;
        justify-content: space-between;
    }

    .pp-home-product-image {
        min-height: 190px;
    }

    .pp-home-product-image img {
        height: 185px;
    }
}

/* v0.3.5.6: affiliate CTA used by native WooCommerce loops (e.g. product_brand archives). */
a.pp-amazon-loop-cta {
    display: inline-flex;
    align-items: center;
    gap: .25em;
}

/* v0.3.5.7: Rank Math breadcrumbs + editable product_brand card templates. */
.pp-rank-math-breadcrumbs {
    width: min(100% - 32px, 1540px);
    margin: 0 auto 18px;
    font-size: 14px;
    line-height: 1.5;
}

.pp-rank-math-breadcrumbs .rank-math-breadcrumb p {
    margin: 0;
}

.pp-products-brand-archive .woocommerce-products-header {
    width: min(100% - 32px, 1540px);
    margin-left: auto;
    margin-right: auto;
    padding-top: 4px;
    padding-bottom: 18px;
}

.pp-products-brand-archive .pp-archive-title {
    margin: 0;
    padding: 0;
    font-size: clamp(28px, 2.4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
}

.pp-products-brand-archive ul.products li.product .pp-product-card {
    height: 100%;
}

.pp-products-brand-archive ul.products li.product .pp-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 !important;
}

.pp-products-brand-archive ul.products li.product .pp-card-title {
    margin: 0 0 9px;
    padding: 0;
    font-size: 1.15em;
    line-height: 1.28;
}

.pp-products-brand-archive ul.products li.product .pp-card-price {
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 1.08em;
    font-weight: 700;
}

.pp-products-brand-archive .pp-card-actions .pp-amazon-loop-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #d71920;
    border-radius: 6px;
    background: #d71920;
    color: #fff;
    font: inherit;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.pp-products-brand-archive .pp-card-actions .pp-amazon-loop-cta:hover,
.pp-products-brand-archive .pp-card-actions .pp-amazon-loop-cta:focus-visible {
    border-color: #b9141b;
    background: #b9141b;
    color: #fff;
}


/* v0.3.5.9: straighter top accent + stronger hover shadow. */
.pp-product-card,
.pp-home-product-card {
    position: relative;
    border: 1px solid #e2e4e7;
    border-radius: 24px;
    box-shadow: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Separate accent instead of border-top so the red line stays visually straight. */
.pp-product-card::before,
.pp-home-product-card::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: #e00014;
    pointer-events: none;
}

.pp-product-card:hover,
.pp-home-product-card:hover {
    transform: translateY(-7px);
    border-color: #e2e4e7;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .17), 0 5px 12px rgba(0, 0, 0, .06);
}

@media (prefers-reduced-motion: reduce) {
    .pp-product-card,
    .pp-home-product-card {
        transition: box-shadow .22s ease, border-color .22s ease;
    }

    .pp-product-card:hover,
    .pp-home-product-card:hover {
        transform: none;
    }
}


/* v0.3.5.10: one crawlable internal product link per card, with full-card click target. */
.pp-product-card,
.pp-home-product-card {
    cursor: pointer;
}

/* The product title is the only internal <a>, while its generated hit area covers the card. */
.pp-card-main-link {
    color: inherit;
    text-decoration: none;
}

.pp-card-main-link::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: auto;
    cursor: pointer;
}

/* Keep explicit actions (Amazon / WooCommerce CTA) independently clickable above the card overlay. */
.pp-card-actions {
    position: relative;
    z-index: 3;
}

.pp-card-actions a,
.pp-card-actions button,
a.pp-amazon-loop-cta,
button.pp-amazon-js-cta {
    position: relative;
    z-index: 3;
}

/* Preserve normal pointer feedback for the separate action buttons. */
.pp-card-actions a,
.pp-card-actions button {
    cursor: pointer;
}

/* v0.3.5.12: pure CSS full-card click target; no JavaScript navigation.
   The title link owns the full-card hit area, while explicit CTA actions stay above it. */
.pp-card-main-link::after {
    pointer-events: auto;
    cursor: pointer;
}

.pp-card-actions,
.pp-card-actions a,
.pp-card-actions button,
a.pp-amazon-loop-cta,
button.pp-amazon-js-cta {
    position: relative;
    z-index: 3;
}

/* v0.3.5.13: archive/brand full-card CSS hit area + image-overlay badge. */
/*
 * Newspaper/WooCommerce archive CSS may position product anchors. If the title
 * link becomes positioned, its absolutely-positioned ::after is constrained to
 * the title box. Keep the only internal product link static so the card itself
 * (.pp-product-card, position:relative) becomes the containing block.
 */
.pp-products-archive ul.products li.product .pp-product-card .pp-card-main-link,
.pp-products-brand-archive ul.products li.product .pp-product-card .pp-card-main-link,
.pp-home-product-card .pp-card-main-link {
    position: static !important;
}

.pp-products-archive ul.products li.product .pp-product-card .pp-card-main-link::after,
.pp-products-brand-archive ul.products li.product .pp-product-card .pp-card-main-link::after,
.pp-home-product-card .pp-card-main-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

/* Editorial badge sits over the image, like the reference product-card design. */
.pp-product-card .pp-card-badge,
.pp-home-product-card .pp-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    margin: 0;
    pointer-events: none;
}

/* Explicit CTA remains a separate interactive link/button above the card hit area. */
.pp-product-card .pp-card-actions,
.pp-product-card .pp-card-actions a,
.pp-product-card .pp-card-actions button {
    position: relative;
    z-index: 3;
}


/* v0.3.5.14: robust CSS-only full-card target on category/brand archives. */
/*
 * Some WooCommerce/Newspaper archive rules position the title/body and make
 * them the containing block for the title link's absolute pseudo-element.
 * Force the card itself to be the only positioning reference.
 */
.pp-products-archive ul.products li.product .pp-product-card,
.pp-products-brand-archive ul.products li.product .pp-product-card,
.pp-home-product-card {
    position: relative !important;
    isolation: isolate;
}

.pp-products-archive ul.products li.product .pp-product-card .pp-card-body,
.pp-products-archive ul.products li.product .pp-product-card .pp-card-title,
.pp-products-brand-archive ul.products li.product .pp-product-card .pp-card-body,
.pp-products-brand-archive ul.products li.product .pp-product-card .pp-card-title,
.pp-home-product-card .pp-home-product-body,
.pp-home-product-card .pp-home-product-title {
    position: static !important;
}

.pp-products-archive ul.products li.product .pp-product-card .pp-card-main-link,
.pp-products-brand-archive ul.products li.product .pp-product-card .pp-card-main-link,
.pp-home-product-card .pp-card-main-link {
    position: static !important;
}

.pp-products-archive ul.products li.product .pp-product-card .pp-card-main-link::after,
.pp-products-brand-archive ul.products li.product .pp-product-card .pp-card-main-link::after,
.pp-home-product-card .pp-card-main-link::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Amazon/local CTA remains a separate clickable control above the card hit area. */
.pp-products-archive .pp-product-card .pp-card-actions,
.pp-products-brand-archive .pp-product-card .pp-card-actions,
.pp-product-card .pp-card-actions,
.pp-product-card .pp-card-actions a,
.pp-product-card .pp-card-actions button,
a.pp-amazon-loop-cta,
button.pp-amazon-js-cta {
    position: relative !important;
    z-index: 30 !important;
    pointer-events: auto !important;
}

/* Badge: less transparent and a little closer to the left card edge. */
.pp-product-card .pp-card-badge,
.pp-home-product-card .pp-card-badge {
    top: 14px;
    left: 9px;
    z-index: 31;
    background: rgba(255, 255, 255, .96);
    border-color: rgba(0, 0, 0, .22);
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
    opacity: 1;
}


/* v0.3.5.15: direct full-card overlay link for category/brand cards; no JS navigation. */
/*
 * The archive and brand cards now contain exactly one internal product <a>
 * directly under .pp-product-card. This avoids theme positioning rules on H2
 * links and gives us a reliable, CSS-only full-card click target.
 */
.pp-products-archive .pp-product-card,
.pp-products-brand-archive .pp-product-card {
    position: relative !important;
    cursor: pointer;
}

.pp-products-archive .pp-product-card > .pp-card-overlay-link,
.pp-products-brand-archive .pp-product-card > .pp-card-overlay-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 20 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: inherit;
    background: transparent !important;
    color: transparent !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* Keep useful anchor text in the single crawlable product link without duplicating the visible title. */
.pp-card-overlay-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pp-products-archive .pp-product-card > .pp-card-overlay-link:focus-visible,
.pp-products-brand-archive .pp-product-card > .pp-card-overlay-link:focus-visible {
    outline: 3px solid #d71920 !important;
    outline-offset: -3px !important;
}

/* The explicit CTA is intentionally the only interactive element above the product-card overlay. */
.pp-products-archive .pp-product-card .pp-card-actions,
.pp-products-brand-archive .pp-product-card .pp-card-actions,
.pp-products-archive .pp-product-card .pp-card-actions a,
.pp-products-archive .pp-product-card .pp-card-actions button,
.pp-products-brand-archive .pp-product-card .pp-card-actions a,
.pp-products-brand-archive .pp-product-card .pp-card-actions button {
    position: relative !important;
    z-index: 30 !important;
    pointer-events: auto !important;
}

/* Make the Amazon CTA visually identical on categories and brands and prevent width+padding overflow. */
.pp-product-card .pp-card-actions .pp-amazon-js-cta,
.pp-product-card .pp-card-actions .pp-amazon-loop-cta,
.pp-products-brand-archive .pp-card-actions .pp-amazon-loop-cta {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid #d71920 !important;
    border-radius: 6px !important;
    background: #d71920 !important;
    color: #fff !important;
    box-shadow: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    cursor: pointer !important;
}

.pp-product-card .pp-card-actions .pp-amazon-js-cta:hover,
.pp-product-card .pp-card-actions .pp-amazon-js-cta:focus-visible,
.pp-product-card .pp-card-actions .pp-amazon-loop-cta:hover,
.pp-product-card .pp-card-actions .pp-amazon-loop-cta:focus-visible,
.pp-products-brand-archive .pp-card-actions .pp-amazon-loop-cta:hover,
.pp-products-brand-archive .pp-card-actions .pp-amazon-loop-cta:focus-visible {
    border-color: #b9141b !important;
    background: #b9141b !important;
    color: #fff !important;
}

/* Let archive hover lift/shadow paint outside the WooCommerce grid instead of being clipped. */
.pp-products-archive .pp-products-main,
.pp-products-archive .pp-products-main > ul.products,
.pp-products-archive .pp-products-main > ul.products > li.product,
.pp-products-brand-archive ul.products,
.pp-products-brand-archive ul.products > li.product {
    overflow: visible !important;
}

.pp-products-archive .pp-products-main > ul.products > li.product,
.pp-products-brand-archive ul.products > li.product {
    position: relative;
}

.pp-products-archive .pp-products-main > ul.products > li.product:hover,
.pp-products-brand-archive ul.products > li.product:hover {
    z-index: 5;
}

/* Opaque image badge, slightly closer to the left edge. */
.pp-product-card .pp-card-badge,
.pp-home-product-card .pp-card-badge {
    left: 4px !important;
    top: 12px !important;
    z-index: 31 !important;
    background: #fff !important;
    border-color: rgba(0, 0, 0, .24) !important;
    color: #111 !important;
    opacity: 1 !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .13) !important;
    pointer-events: none !important;
}


/* v0.3.5.17: global Amazon CTA element switch (button vs direct <a href>). */
.pp-managed-product button.pp-amazon-image-cta {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    line-height: 0;
    cursor: pointer;
}

.pp-managed-product button.pp-amazon-image-cta:hover,
.pp-managed-product button.pp-amazon-image-cta:focus {
    background: transparent;
}

/* In card contexts both CTA element types intentionally share the same visual button styling. */
.pp-product-card .pp-card-actions > a.pp-amazon-loop-cta,
.pp-product-card .pp-card-actions > button.pp-amazon-js-cta {
    box-sizing: border-box !important;
}

/* V3.5.19: widen only product-category catalog controls beyond the theme's centered container.
 * Product editorial/category text, posts and the homepage keep their existing theme width. */
@media (min-width: 1100px) {
    .pp-product-category-archive.pp-products-archive .pp-archive-controls {
        position: relative;
        left: 50%;
        width: 95vw;
        max-width: 1900px;
        margin-left: 0;
        margin-right: 0;
        transform: translateX(-50%);
    }

    .pp-product-category-archive.pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Wider desktop: use the extra catalog width for four product cards. */
@media (min-width: 1520px) {
    .pp-product-category-archive.pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* V3.5.20: product-category header is intentionally narrower than the 95vw catalog.
 * The block is centered to the viewport while H1 and intro content remain left-aligned. */
@media (min-width: 1100px) {
    .pp-product-category-archive.pp-products-archive .woocommerce-products-header {
        position: relative;
        left: 50%;
        width: 85vw;
        max-width: 1500px;
        margin-left: 0;
        margin-right: 0;
        transform: translateX(-50%);
        text-align: left;
    }
}


/* V3.5.21: two product cards per row on mobile product-category archives. */
@media (max-width: 767px) {
    .pp-product-category-archive.pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* V3.5.22: tighter two-column mobile product cards on product-category archives only. */
@media (max-width: 767px) {
    .pp-product-category-archive.pp-products-archive .pp-products-main > ul.products {
        gap: 8px !important;
    }

    .pp-product-category-archive.pp-products-archive .pp-card-body {
        padding: 8px !important;
    }

    .pp-product-category-archive.pp-products-archive ul.products li.product .pp-card-title {
        font-size: 16px !important;
        line-height: 1.25;
    }

    .pp-product-category-archive.pp-products-archive .pp-card-image-link {
        height: 180px;
        padding: 8px;
    }

    .pp-product-category-archive.pp-products-archive ul.products li.product .pp-card-image {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        object-position: center;
    }
}


/* V3.5.23: mobile readability for narrow two-column product cards. */
@media (max-width: 767px) {
    /* Specs no longer fight for two tiny columns: label first, value full width below. */
    .pp-product-category-archive.pp-products-archive .pp-card-details {
        gap: 7px !important;
        margin-bottom: 9px !important;
    }

    .pp-product-category-archive.pp-products-archive .pp-card-details > div {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1px !important;
        font-size: 13px !important;
        line-height: 1.32 !important;
    }

    .pp-product-category-archive.pp-products-archive .pp-card-details dt {
        font-size: 11px !important;
        line-height: 1.2 !important;
        letter-spacing: .02em;
        text-transform: uppercase;
        opacity: .58;
    }

    .pp-product-category-archive.pp-products-archive .pp-card-details dd {
        font-size: 13px !important;
        line-height: 1.32 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }

    .pp-product-category-archive.pp-products-archive .pp-card-verdict {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Keep long editorial badges compact over the image on two-column mobile cards. */
    .pp-product-category-archive.pp-products-archive .pp-product-card .pp-card-badge {
        top: 8px !important;
        left: 4px !important;
        max-width: calc(100% - 8px) !important;
        box-sizing: border-box !important;
        padding: 4px 6px !important;
        border-radius: 12px !important;
        font-size: 8px !important;
        line-height: 1.08 !important;
        letter-spacing: .04em !important;
        white-space: normal !important;
    }
}


/* V3.5.25: WooCommerce can render its own native product-category <li> cards on
 * parent category archives. Style those real cards directly; the custom
 * .pp-category-card grid is intentionally skipped when WooCommerce already
 * outputs subcategories. */
.pp-category-native-subcategories.pp-products-archive .pp-products-main > ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
}

.pp-category-native-subcategories.pp-products-archive ul.products li.product-category {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pp-category-native-subcategories.pp-products-archive ul.products li.product-category:hover,
.pp-category-native-subcategories.pp-products-archive ul.products li.product-category:focus-within {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, .18);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.pp-category-native-subcategories.pp-products-archive ul.products li.product-category > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.pp-category-native-subcategories.pp-products-archive ul.products li.product-category img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
}

.pp-category-native-subcategories.pp-products-archive ul.products li.product-category .woocommerce-loop-category__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin: 0 !important;
    padding: 14px 16px 16px !important;
    color: inherit;
    font-size: 17px !important;
    line-height: 1.25 !important;
    text-align: left;
}

.pp-category-native-subcategories.pp-products-archive ul.products li.product-category .count {
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
    color: #d60014;
    font-size: .95em;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 1099px) and (min-width: 768px) {
    .pp-category-native-subcategories.pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 767px) {
    .pp-category-native-subcategories.pp-products-archive .pp-products-main > ul.products {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .pp-category-native-subcategories.pp-products-archive ul.products li.product-category .woocommerce-loop-category__title {
        padding: 11px 12px 13px !important;
        font-size: 16px !important;
    }
}


/* V3.5.26: parent product-category archives use three native subcategory cards
 * on desktop and request an 800x450 WooCommerce category image in PHP. */


/* V3.5.28: parent product-category SEO hub -------------------------------- */
.pp-product-category-archive.pp-category-has-children .pp-hub-catalog,
.pp-product-category-archive.pp-category-has-children .pp-parent-summary-catalog {
    margin-top: 22px;
}

.pp-hub-overview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.pp-hub-overview-copy h2,
.pp-hub-featured-heading h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.2;
}

.pp-hub-overview-copy p,
.pp-hub-featured-heading p {
    max-width: 760px;
    margin: 0;
    color: rgba(0, 0, 0, .68);
    font-size: 15px;
    line-height: 1.55;
}

.pp-hub-summary {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, .11);
    border-radius: 999px;
    background: #fff;
    color: rgba(0, 0, 0, .68);
    font-size: 14px;
    white-space: nowrap;
}

.pp-hub-summary strong {
    color: #111;
}

.pp-category-native-subcategories.pp-category-has-children ul.products li.product-category .woocommerce-loop-category__title {
    padding-bottom: 10px !important;
}

.pp-category-native-subcategories ul.products li.product-category .pp-native-category-description {
    display: -webkit-box;
    margin: -2px 16px 16px;
    overflow: hidden;
    color: rgba(0, 0, 0, .66);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pp-category-hub-featured {
    position: relative;
    left: 50%;
    width: 95vw;
    max-width: 1900px;
    margin: 48px 0 18px;
    transform: translateX(-50%);
}

.pp-hub-featured-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, .11);
}

.pp-category-hub-featured .pp-home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1099px) {
    .pp-category-hub-featured .pp-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pp-hub-overview {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .pp-hub-summary {
        white-space: normal;
    }

    .pp-category-native-subcategories ul.products li.product-category .pp-native-category-description {
        margin: -1px 12px 13px;
        font-size: 13px;
    }

    .pp-category-hub-featured {
        width: calc(100vw - 24px);
        margin-top: 36px;
    }

    .pp-category-hub-featured .pp-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .pp-category-hub-featured .pp-home-product-body {
        padding: 10px;
    }

    .pp-category-hub-featured .pp-home-product-title {
        font-size: 16px;
    }

    .pp-category-hub-featured .pp-home-product-verdict {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 420px) {
    .pp-category-hub-featured .pp-home-product-grid {
        grid-template-columns: 1fr;
    }
}

/* V3.5.29: reusable Product Hub controls ---------------------------------- */
.pp-category-hub-featured .pp-hub-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--pp-hub-cols-laptop, 3), minmax(0, 1fr));
    gap: 18px;
}

@media (min-width: 1520px) {
    .pp-category-hub-featured .pp-hub-product-grid {
        grid-template-columns: repeat(var(--pp-hub-cols-wide, 4), minmax(0, 1fr));
    }
}

@media (max-width: 1099px) {
    .pp-category-hub-featured .pp-hub-product-grid {
        grid-template-columns: repeat(var(--pp-hub-cols-mobile, 2), minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .pp-category-hub-featured .pp-hub-product-grid {
        grid-template-columns: repeat(var(--pp-hub-cols-mobile, 2), minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .pp-category-hub-featured .pp-hub-product-grid {
        grid-template-columns: repeat(var(--pp-hub-cols-mobile, 2), minmax(0, 1fr));
    }
}

.pp-hub-product-card {
    min-width: 0;
}

.pp-hub-product-card .pp-home-product-body {
    gap: 0;
}

.pp-hub-product-card .pp-card-brand {
    margin-bottom: 3px;
}

.pp-hub-product-category {
    margin: 0 0 5px;
    color: rgba(0, 0, 0, .58);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.pp-hub-card-details {
    display: grid;
    gap: 7px;
    margin: 0 0 13px;
}

.pp-hub-card-details > div {
    display: grid;
    grid-template-columns: minmax(80px, .85fr) minmax(0, 1.15fr);
    gap: 8px;
    padding-top: 7px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    font-size: 13px;
    line-height: 1.4;
}

.pp-hub-card-details dt,
.pp-hub-card-details dd {
    margin: 0;
}

.pp-hub-card-details dt {
    font-weight: 700;
    opacity: .68;
}

.pp-hub-card-details dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.pp-hub-product-price {
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 1.05em;
    font-weight: 700;
}

.pp-hub-product-card .pp-card-actions {
    position: relative !important;
    z-index: 30 !important;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: auto;
    pointer-events: auto !important;
}

.pp-hub-product-card .pp-card-actions .pp-amazon-js-cta,
.pp-hub-product-card .pp-card-actions .pp-amazon-loop-cta {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid #d71920 !important;
    border-radius: 6px !important;
    background: #d71920 !important;
    color: #fff !important;
    box-shadow: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.pp-hub-product-card .pp-card-actions .pp-amazon-js-cta:hover,
.pp-hub-product-card .pp-card-actions .pp-amazon-js-cta:focus-visible,
.pp-hub-product-card .pp-card-actions .pp-amazon-loop-cta:hover,
.pp-hub-product-card .pp-card-actions .pp-amazon-loop-cta:focus-visible {
    border-color: #b9141b !important;
    background: #b9141b !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .pp-hub-product-card .pp-home-product-image {
        min-height: 150px;
        padding: 8px;
    }

    .pp-hub-product-card .pp-home-product-image img {
        height: 145px;
        object-fit: contain;
    }

    .pp-hub-product-card .pp-home-product-body {
        padding: 8px;
    }

    .pp-hub-product-card .pp-home-product-title {
        margin: 5px 0 8px;
        font-size: 16px;
    }

    .pp-hub-product-card .pp-card-brand,
    .pp-hub-product-category {
        font-size: 11px;
    }

    .pp-hub-card-details {
        gap: 6px;
        margin-bottom: 9px;
    }

    .pp-hub-card-details > div {
        display: block;
        padding-top: 5px;
        font-size: 11px;
    }

    .pp-hub-card-details dt {
        margin-bottom: 2px;
    }

    .pp-hub-product-card .pp-home-product-verdict {
        margin-bottom: 9px;
        font-size: 12px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .pp-hub-product-card .pp-card-actions .pp-amazon-js-cta,
    .pp-hub-product-card .pp-card-actions .pp-amazon-loop-cta {
        min-height: 36px !important;
        padding: 7px 8px !important;
        font-size: 12px !important;
    }
}

/* v0.3.5.30: reusable [podovi_products] product grid. */
.pp-product-shortcode {
    width: 100%;
    margin: 34px 0;
}

.pp-product-shortcode-heading {
    margin-bottom: 20px;
}

.pp-product-shortcode-heading h2 {
    margin: 0 0 8px;
}

.pp-product-shortcode-heading p {
    max-width: 900px;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.pp-product-shortcode .pp-shortcode-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--pp-shortcode-cols-mobile, 2), minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 768px) {
    .pp-product-shortcode .pp-shortcode-product-grid {
        grid-template-columns: repeat(var(--pp-shortcode-cols-tablet, 2), minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 1100px) {
    .pp-product-shortcode .pp-shortcode-product-grid {
        grid-template-columns: repeat(var(--pp-shortcode-cols-laptop, 3), minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1520px) {
    .pp-product-shortcode .pp-shortcode-product-grid {
        grid-template-columns: repeat(var(--pp-shortcode-cols-wide, 4), minmax(0, 1fr));
    }
}
