/**
 * Pro Peptide — Shop archive styles (v1, May 2026)
 *
 * All rules scoped under .pp-shop so they don't conflict with the
 * legacy .shop-products.is-list ruleset still living in style.css.
 *
 * Used on: /shop/, /product-category/*/, /product-tag/*/, search results.
 */

/* ==========================================================================
   Wrapper + page header
   ========================================================================== */
.pp-shop {
    max-width: 1312px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    background: #FFFFFF;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    color: #343434;
    box-sizing: border-box;
}
@media (min-width: 1200px) {
    /* 2026-06-11 owner call: zero (not 64px) so the wrapper's 1312px box is
       fully available to the inner rails — .pp-shop__grid/__toolbar/__form are
       capped at 1312px !important by the Customizer "Width & Heading
       Consistency Pass v2" (wp-custom-css) and carry their own 40px padding,
       same as the homepage section inners. The old 64px wrapper padding
       squeezed the grid to 1152px while the header container box is 1312px —
       the shop list rendered visibly narrower than the header. */
    .pp-shop {
        padding-left: 0;
        padding-right: 0;
    }
}

.pp-shop__header {
    text-align: center;
    padding: 48px 40px 28px;
    border-bottom: 1px solid #F3F4F6;
}
.pp-shop__title {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #343434;
    margin: 0 0 8px;
}
.pp-shop__title .pp-text-blue { color: #0e6a99; }
.pp-shop__crumbs {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}
.pp-shop__crumbs a {
    color: #0e6a99;
    text-decoration: none;
    font-weight: 500;
}
.pp-shop__crumbs a:hover { text-decoration: underline; }
.pp-shop__crumbs-sep { display: inline; margin: 0 6px; color: #D1D5DB; }
@media (max-width: 768px) {
    .pp-shop__header { padding: 32px 20px 20px; }
    .pp-shop__title { font-size: 28px; }
}

/* ==========================================================================
   Toolbar (search + sort row)
   ========================================================================== */
.pp-shop__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 40px;
    border-bottom: 1px solid #F3F4F6;
}
.pp-shop__search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0; /* kill the global label margin-bottom:5px so the search aligns flush with the sort */
}
.pp-shop__search-input {
    width: 100%;
    height: 54px;
    padding: 0 16px 0 44px;
    border: 1.5px solid #E5E7EB;
    border-radius: 0;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 14px;
    color: #343434;
    background: #FFFFFF;
    box-sizing: border-box;
}
/* Square corners on the search box only. Specificity (0,2,1) beats the global
   input[type="search"] radius (style.css:10358 var(--pp-radius-md)). Sort box untouched. */
.pp-shop__toolbar input.pp-shop__search-input { border-radius: 0; }
/* Equal height for both controls, locked to 54px (the taller box). woo-general.css
   sets `form select:not([size]):not([multiple]) { height:54px }` at (0,2,2); the sort
   select inherits that inside .pp-shop__form, while the search input only matches that
   file's `form input` (0,0,2). So the search uses (0,2,0) and the sort selector is bumped
   to (0,3,1) to out-specify the (0,2,2) woo-general rule. Both authoritative at 54px. */
.pp-shop__toolbar .pp-shop__search-input,
.pp-shop__toolbar select.pp-shop__sort-select:not([multiple]) {
    height: 54px;
    box-sizing: border-box;
}
.pp-shop__search-input::placeholder { color: #6b7280; }
.pp-shop__search-input:focus {
    outline: none;
    border-color: #0e6a99;
    box-shadow: 0 0 0 3px rgba(31, 158, 219, 0.10);
}
.pp-shop__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #6b7280;
    pointer-events: none;
}
.pp-shop__sort {
    flex: 0 0 auto;
}
.pp-shop__sort-select {
    height: 54px;
    padding: 0 36px 0 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 13px;
    color: #343434;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.pp-shop__sort-select:focus {
    outline: none;
    border-color: #0e6a99;
}
@media (max-width: 768px) {
    .pp-shop__toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .pp-shop__sort-select { width: 100%; }
}

/* ==========================================================================
   Overstock entry points (toolbar button + bottom opt-out link)
   Hex values mirror DESIGN.md tokens: #FDE8EA --pp-red-tint,
   #FAD5D8 --pp-red-tint-hover, #c0384a --pp-red-text, #0e6a99 --pp-blue-text.
   Soft, not a solid CTA: this is an entry point, not a hard sell.
   ========================================================================== */
.pp-shop__overstock {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 16px;
    border: 1.5px solid #FAD5D8;
    border-radius: 8px;
    background: #FDE8EA;
    color: #c0384a;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.pp-shop__overstock svg { width: 15px; height: 15px; flex-shrink: 0; }
.pp-shop__overstock:hover { background: #FAD5D8; }
.pp-shop__overstock:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 158, 219, 0.25);
}
.pp-shop__overstock-foot {
    margin: 0;
    padding: 28px 40px 36px;
    text-align: center;
    font-size: 13px;
    color: #6B7280;
}
.pp-shop__overstock-foot a {
    color: #0e6a99;
    font-weight: 600;
    text-decoration: none;
}
.pp-shop__overstock-foot a:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .pp-shop__overstock { width: 100%; justify-content: center; }
    .pp-shop__overstock-foot { padding: 24px 20px 32px; }
}

/* ==========================================================================
   Result count
   ========================================================================== */
.pp-shop__count {
    padding: 20px 40px 0;
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}
.pp-shop__count strong { color: #343434; font-weight: 600; }
@media (max-width: 768px) {
    .pp-shop__count { padding: 16px 20px 0; }
}

/* ==========================================================================
   Main grid (sidebar + product list)
   ========================================================================== */
.pp-shop__grid {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 24px 40px 40px;
}
@media (max-width: 768px) {
    .pp-shop__grid {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}

/* ==========================================================================
   Filter sidebar
   ========================================================================== */
.pp-shop__sidebar {
    flex: 0 0 240px;
    width: 240px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 24px;
    align-self: flex-start;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .pp-shop__sidebar {
        flex: 0 0 auto;
        width: 100%;
        position: static;
    }
}
.pp-shop__sidebar-heading {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #343434;
    margin: 0 0 16px;
}
.pp-shop__sidebar-heading .pp-text-blue { color: #0e6a99; }

/* Collapsible filter section */
.pp-shop__filter {
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 16px;
    padding-bottom: 16px;
}
.pp-shop__filter:last-of-type {
    border-bottom: none;
    margin-bottom: 8px;
    padding-bottom: 8px;
}
.pp-shop__filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 12px;
    background: none;
    border: 0;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #343434;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
}
.pp-shop__filter-chevron {
    width: 14px;
    height: 14px;
    color: #6B7280;
    transition: transform 0.2s ease;
}
.pp-shop__filter[data-open="false"] .pp-shop__filter-chevron {
    transform: rotate(-90deg);
}
.pp-shop__filter[data-open="false"] .pp-shop__filter-body {
    display: none;
}
.pp-shop__filter[data-open="false"] {
    padding-bottom: 0;
}
.pp-shop__filter-body {
    display: block;
}

/* Checkbox row */
.pp-shop__check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 13px;
    color: #343434;
}
.pp-shop__check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0e6a99;
    cursor: pointer;
    flex: 0 0 16px;
}
.pp-shop__check-label {
    flex: 1 1 auto;
    line-height: 1.3;
}
.pp-shop__check-count {
    font-size: 11px;
    color: #6b7280;
    flex: 0 0 auto;
}
/* Category present but with no published products: visible, not selectable. */
.pp-shop__check--empty {
    cursor: default;
    opacity: 0.45;
}
.pp-shop__check--empty input[type="checkbox"] {
    cursor: not-allowed;
}

/* Price slider */
.pp-shop__price-slider {
    padding: 8px 4px 0;
}
.pp-shop__price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 12px;
}
.pp-shop__price-track-wrap {
    position: relative;
    height: 24px;
    margin: 8px 0 16px;
}
.pp-shop__price-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 4px;
    background: #F3F4F6;
    border-radius: 9999px;
}
.pp-shop__price-track-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: #1f9edb;
    border-radius: 9999px;
}
.pp-shop__price-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    pointer-events: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}
.pp-shop__price-range::-webkit-slider-thumb {
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #FFFFFF;
    border: 2px solid #1f9edb;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pp-shop__price-range::-moz-range-thumb {
    pointer-events: auto;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border: 2px solid #1f9edb;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pp-shop__price-range::-webkit-slider-runnable-track { background: transparent; }
.pp-shop__price-range::-moz-range-track { background: transparent; }
.pp-shop__price-apply {
    width: 100%;
    padding: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #343434;
    cursor: pointer;
}
.pp-shop__price-apply:hover { border-color: #0e6a99; color: #0e6a99; }

/* Clear all */
.pp-shop__clear {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: none;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.pp-shop__clear:hover { color: #343434; border-color: #D1D5DB; }

/* ==========================================================================
   Product row list
   ========================================================================== */
.pp-shop__list {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pp-shop .pp-shop__list .pp-shop-row {
    position: relative;
    display: flex;
    gap: 28px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 28px;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.pp-shop .pp-shop__list .pp-shop-row:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}
@media (max-width: 768px) {
    .pp-shop .pp-shop__list .pp-shop-row { flex-direction: column; gap: 16px; padding: 16px; }
}

/* Wishlist heart — top-left corner of the WHOLE row card (moved out of the
   image column per request; mirrors the PDP title-row heart). The old
   .pp-shop-row__image .pp-wishlist-btn rules no longer match (heart is not
   in the image anymore) so this fully styles it in its new home. */
.pp-shop .pp-shop__list .pp-shop-row > .pp-shop-row__wish {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    line-height: 0;
}
.pp-shop-row__wish .pp-wishlist-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #343434;
    padding: 0;
    transition: color 0.15s;
}
.pp-shop-row__wish .pp-wishlist-btn:hover,
.pp-shop-row__wish .pp-wishlist-btn--active { color: #ef4444; }
.pp-shop-row__wish .pp-wishlist-btn svg { width: 20px; height: 20px; }

/* Image column */
.pp-shop-row__image {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    height: 280px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pp-shop-row__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.pp-shop-row__image .pp-wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-shop-row__image .pp-wishlist-btn svg {
    width: 20px !important;
    height: 20px !important;
}
.pp-shop-row__cat {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1.5px solid #1f9edb;
    background: #E8F4FB;
    color: #0e6a99;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 2;
}
.pp-shop-row__cat--healing     { background: #F0FDF4; border-color: #22c55e; color: #15803d; }
.pp-shop-row__cat--brain       { background: #E8F4FB; border-color: #0e6a99; color: #0e6a99; }
.pp-shop-row__cat--weight      { background: #FFF7ED; border-color: #ea580c; color: #c2410c; }
.pp-shop-row__cat--performance { background: #FEF2F2; border-color: #ef4444; color: #c0384a; }
.pp-shop-row__cat--skin        { background: #FAF5FF; border-color: #9333ea; color: #7e22ce; }
.pp-shop-row__cat--accessories { background: #F3F4F6; border-color: #6B7280; color: #374151; }
@media (max-width: 768px) {
    .pp-shop-row__image { flex: 0 0 auto; width: 100%; height: 200px; }
}

/* Info column */
.pp-shop-row__info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.pp-shop-row__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}
@media (max-width: 768px) {
    .pp-shop-row__top { flex-direction: column; align-items: flex-start; }
}
.pp-shop-row__titleblock {
    flex: 1 1 auto;
    min-width: 0;
}
.pp-shop-row__title-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.pp-shop-row__title {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #343434;
    line-height: 1.3;
    margin: 0;
}
.pp-shop-row__title a { color: inherit; text-decoration: none; }
.pp-shop-row__chip {
    background: #E8F4FB;
    color: #0e6a99;
    border: 1px solid #1f9edb;
    border-radius: 9999px;
    padding: 3px 12px;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.pp-shop-row__tagline {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .pp-shop-row__title { font-size: 18px; }
}

/* Peptide Planner link (desktop only) */
/* Use Peptide Planner — ghost-style button matching the hero secondary CTA,
   adapted for light card backgrounds. Sits in top-right of each shop row. */
.pp-shop-row__planner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1.5px solid #E5E7EB;
    background: #FFFFFF;
    box-shadow: none;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #343434;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}
.pp-shop-row__planner:hover {
    border-color: #0e6a99;
    background: #E8F4FB;
    color: #0e6a99;
    text-decoration: none;
    transform: translateY(-1px);
}
.pp-shop-row__planner:focus-visible {
    outline: 3px solid #1f9edb;
    outline-offset: 2px;
}
.pp-shop-row__planner svg,
.pp-shop-row__planner .pp-shop-row__planner-icon {
    width: 16px;
    height: 16px;
    color: #0e6a99;
    flex-shrink: 0;
}
.pp-shop-row__planner:hover .pp-shop-row__planner-icon { color: #0e6a99; }
@media (max-width: 768px) {
    .pp-shop-row__planner {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Rating row */
.pp-shop-row__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 14px;
}
.pp-shop-row__rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.pp-shop-row__rating-stars svg { width: 16px; height: 16px; }
.pp-shop-row__rating-num {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #343434;
    margin-left: 2px;
}
.pp-shop-row__rating-count {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 13px;
    color: #6b7280;
}

/* Description (2-line clamp) */
.pp-shop-row__desc {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Spacer */
.pp-shop-row__spacer { flex: 1 1 auto; }

/* Bottom row: trust + price + cart */
.pp-shop-row__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid #F3F4F6;
}
@media (max-width: 768px) {
    .pp-shop-row__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
}
.pp-shop-row__bottom-left {
    flex: 1 1 auto;
    min-width: 0;
}
.pp-shop-row__trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.pp-shop-row__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
}
.pp-shop-row__trust-item svg { width: 14px; height: 14px; }
.pp-shop-row__trust-item--stock { color: #15803d; }
.pp-shop-row__trust-item--stock svg { stroke: #22c55e; }
.pp-shop-row__trust-item--ship { color: #0e6a99; }
.pp-shop-row__trust-item--ship svg { stroke: #1f9edb; }
.pp-shop-row__price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.pp-shop-row__price-label {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pp-shop-row__price {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #343434;
    line-height: 1;
}
.pp-shop-row__price .woocommerce-Price-amount,
.pp-shop-row__price .amount,
.pp-shop-row__price bdi { font: inherit; color: inherit; }
.pp-shop-row__price-cad {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 11px;
    color: #6b7280;
}
.pp-shop-row__cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: #ef4444;
    color: #fafafa;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex: 0 0 auto;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
    transition: background 0.2s;
}
.pp-shop-row__cart:hover { background: #dc2626; color: #fafafa; }
.pp-shop-row__cart svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
    .pp-shop-row__cart { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pp-shop__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #F3F4F6;
}
.pp-shop__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #343434;
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
}
.pp-shop__pagination .page-numbers.current {
    background: #1f9edb;
    color: #fafafa;
    border-color: #0e6a99;
}
.pp-shop__pagination .page-numbers.dots {
    background: transparent;
    border: none;
    cursor: default;
    color: #6b7280;
}
.pp-shop__pagination .page-numbers:hover:not(.current):not(.dots) {
    border-color: #0e6a99;
    color: #0e6a99;
}

/* Crawl-only numbered pagination: kept in the DOM so /shop/page/N/ stays
   discoverable + resolves server-side, but hidden from humans (Load More is the
   visible control). Overrides the [hidden] attr that .pp-shop__pagination's
   display:flex would otherwise win against. */
.pp-shop__pagination--crawl { display: none !important; }

/* ==========================================================================
   Load More (lazy-load) — DESIGN.md ghost-light button, centered
   ========================================================================== */
.pp-shop__loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
}
.pp-shop__loadmore {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #343434;
    background: #FFFFFF;
    border: 1.5px solid #D1D5DB;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 32px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pp-shop__loadmore:hover {
    border-color: #9CA3AF;
    background: #fafafa;
}
.pp-shop__loadmore:disabled {
    color: #9CA3AF;
    background: #F3F4F6;
    border-color: #E5E7EB;
    cursor: default;
}

/* ==========================================================================
   Empty state
   ========================================================================== */
.pp-shop__empty {
    text-align: center;
    padding: 60px 20px;
    color: #6B7280;
    font-size: 14px;
}

/* ==========================================================================
   Suppress legacy widgets that the parent theme might render
   ========================================================================== */
.pp-shop .woocommerce-products-header,
.pp-shop .woocommerce-result-count,
.pp-shop .woocommerce-ordering,
.pp-shop .woocommerce-breadcrumb { display: none; }

/* ==========================================================================
   Width cap — defensive lock (2026-05-14; raised 1280 -> 1312 2026-06-11)
   The base .pp-shop rule sets max-width:1312, but on live another rule was
   winning and the archive rendered edge-to-edge. Higher specificity + the
   important flag on the cap itself keeps the wrapper centered. 1312px is the
   site-wide box from the Customizer "Width & Heading Consistency Pass v2"
   (header .container, homepage section inners, .pp-shop__grid) — the old
   1280px undercut it and the shop rendered narrower than the header.
   ========================================================================== */
body.woocommerce-page .pp-shop,
body.archive .pp-shop,
body.search .pp-shop {
    /* body is display:flex in this theme, so .pp-shop is a flex item sizing
       to fit-content (font-dependent, ~1295px) instead of filling the row.
       width:100% claims the full row before the 1312px cap + auto margins
       center it. */
    width: 100%;
    max-width: 1312px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
