/* Shared product component. WooCommerce's own templates retain store behavior. */
.pp-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pp-product-grid > li {
    min-width: 0;
}
.pp-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e0d9ee;
    border-radius: var(--pp-radius);
    overflow: hidden;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--pp-chrome) border-box;
    transition:
        box-shadow 0.2s,
        border-color 0.2s;
}
.pp-product:hover {
    box-shadow: var(--pp-shadow);
    border-color: transparent;
}
.pp-product:focus-within {
    border-color: #ab95d5;
    box-shadow: var(--pp-shadow);
}
.pp-product-art {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    aspect-ratio: 1.45;
    background: linear-gradient(145deg, var(--pp-cyan-100), #f5faff 46%, var(--pp-lilac-100));
    flex-shrink: 0;
    overflow: hidden;
}
.pp-product-art > img,
.woocommerce ul.products li.product .pp-product-art > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    inset: 0;
    margin: 0;
}
.pp-product-sale {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #b9ddc6;
    border-radius: 50px;
    background: #e5f5eb;
    color: #245c3c;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}
.pp-product-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 23px;
    padding-top: 22px;
    color: #6d6481;
    font-size: 11px;
}
.pp-product-placeholder > svg {
    width: 56px;
    height: 56px;
    color: #a795c7;
    stroke-width: 0.65;
}
.pp-product-info {
    padding: 25px 26px 27px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pp-product-info h3,
.woocommerce ul.products li.product .pp-product-info h3 {
    font-size: 23px;
    line-height: 1.25;
    padding: 0;
    margin: 0;
}
/* Real WooCommerce ratings, including fractional star fills. */
.pp-card-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; min-height: 22px; }
.pp-card-stars { position: relative; display: inline-block; flex-shrink: 0; color: #d5d1de; font-family: Arial, sans-serif; font-size: 18px; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.pp-card-stars > span { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #8061b5; }
.pp-card-rating-value { font-size: 12px; font-weight: 600; color: var(--pp-ink); }
.pp-card-rating-scale, .pp-card-rating-empty { font-size: 11px; font-weight: 400; color: var(--pp-muted); }
.pp-product-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-top: auto;
}
.pp-product-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 18px;
    border-top: 1px solid #ece7f4;
}
.pp-price-label {
    color: var(--pp-muted);
    font-size: 12px;
}
.pp-price-value {
    color: var(--pp-lilac-ink);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}
.pp-product-price .amount {
    font-size: 20px;
    font-weight: 600;
}
.pp-product-price del,
.pp-product-price del .amount {
    color: var(--pp-muted);
    font-size: 14px;
    font-weight: 400;
}
.pp-product-price del {
    margin-right: 8px;
}
.pp-product-price ins {
    text-decoration: none;
}
.pp-price-value.is-unavailable {
    font-size: 13px;
    font-weight: 500;
    color: var(--pp-muted);
}
.pp-price-value .woocommerce-price-suffix {
    font-size: 11px;
    font-weight: 400;
}
.pp-product .pp-product-cta,
.woocommerce a.button.pp-product-cta {
    display: flex;
    width: 100%;
    min-height: 50px;
    padding: 14px 20px;
    font-size: 13px;
    border-radius: 10px;
}
.pp-product a.added_to_cart {
    font-size: 11px;
    text-decoration: underline;
}
.pp-product a.loading {
    opacity: 0.5;
    pointer-events: none;
}
.pp-commerce {
    padding-block: 50px 90px;
    min-height: 60vh;
}
.pp-commerce .woocommerce-products-header {
    margin: 18px 0 38px;
}
.woocommerce .woocommerce-breadcrumb {
    color: var(--pp-muted);
    font-size: 11px;
}
.woocommerce .woocommerce-breadcrumb a {
    color: var(--pp-ink);
}
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    clear: both;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*='columns-'] li.product {
    width: auto;
    float: none;
    margin: 0;
    min-width: 0;
}
.woocommerce ul.products li.product .pp-button {
    margin: 0;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    font-size: 12px;
    margin-bottom: 30px;
}
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce form .form-row input.input-text {
    border: 1px solid #d9d4e1;
    border-radius: 7px;
    padding: 13px 14px;
    background: #fff;
    font-size: 14px;
}
.woocommerce .quantity .qty {
    width: 5em;
}
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
    background: var(--pp-lilac-500);
    color: var(--pp-lilac-ink);
    border-radius: 8px;
    padding: 15px 22px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.5;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
    background: var(--pp-lilac-600);
    color: var(--pp-lilac-ink);
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--pp-lilac-500);
    background: var(--pp-lilac-100);
    color: var(--pp-ink);
    font-size: 13px;
}
.woocommerce-message::before,
.woocommerce-info::before {
    color: #8e7ca4;
}
.woocommerce div.product .product_title {
    font-size: clamp(34px, 4vw, 52px);
    margin-bottom: 25px;
}
.woocommerce div.product p.price {
    color: var(--pp-ink);
}
.woocommerce div.product .woocommerce-tabs {
    padding-top: 35px;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 30px;
    margin-bottom: 20px;
}
.woocommerce .related > h2 {
    font-size: 35px;
    margin: 40px 0 28px;
}
.woocommerce-MyAccount-navigation ul {
    padding: 10px 24px;
    margin: 0;
    list-style: none;
    background: var(--pp-lilac);
    border-radius: 12px;
}
.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #e5dfed;
}
.woocommerce-MyAccount-navigation li:last-child {
    border: 0;
}
.woocommerce-MyAccount-navigation a {
    display: block;
    padding-block: 13px;
    font-size: 13px;
}
.woocommerce-MyAccount-navigation .is-active a {
    font-weight: 600;
}
.woocommerce-MyAccount-content {
    padding-top: 10px;
}
.woocommerce .col2-set {
    margin-bottom: 35px;
}
.woocommerce form .form-row label {
    font-size: 12px;
    margin-bottom: 5px;
}
.pp-page-content .wc-block-components-button:not(.is-link) {
    background: var(--pp-lilac-500);
    color: var(--pp-lilac-ink);
    border-radius: 9px;
    font-weight: 600;
}
.pp-page-content .wc-block-components-button:not(.is-link):hover {
    background: var(--pp-lilac-600);
}
.woocommerce table.shop_table {
    border-radius: 12px;
    border-color: var(--pp-border);
    font-size: 13px;
}
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce .woocommerce-billing-fields h3,
.woocommerce #order_review_heading {
    margin-bottom: 26px;
    font-size: 30px;
}
@media (max-width: 960px) {
    .woocommerce ul.products,
    .pp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .woocommerce ul.products,
    .pp-product-grid {
        grid-template-columns: 1fr;
    }
    .pp-product-art {
        min-height: 220px;
    }
    .pp-product-info {
        padding: 23px 22px;
    }
    .woocommerce-MyAccount-content {
        padding-top: 30px;
    }
    .woocommerce .woocommerce-ordering {
        float: none;
    }
}

/* Shared address controls, including WooCommerce's enhanced country/state selects. */
body.pp-site .woocommerce form .form-row select:not(.select2-hidden-accessible),
body.pp-site .woocommerce .select2-container .select2-selection--single {
    width: 100%;
    min-height: 48px;
    height: auto;
    border: 1px solid #d9d4e1;
    border-radius: 9px;
    background-color: #fff;
    color: #29243a;
    font-family: inherit;
    font-size: 16px;
    transition: border-color .15s, box-shadow .15s;
}
body.pp-site .woocommerce form .form-row select:not(.select2-hidden-accessible) {
    padding: 12px 38px 12px 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2379619f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
body.pp-site .woocommerce .select2-container { max-width: 100%; }
body.pp-site .woocommerce .select2-container .select2-selection__rendered {
    padding: 0 38px 0 14px;
    line-height: 46px;
    color: #29243a;
    font-size: 16px;
}
body.pp-site .woocommerce .select2-container .select2-selection__placeholder { color: #787183; }
body.pp-site .woocommerce .select2-container .select2-selection__arrow { height: 46px; right: 12px; }
body.pp-site .woocommerce .select2-container .select2-selection__arrow b { border-top-color: #79619f; }
body.pp-site .woocommerce form .form-row select:focus,
body.pp-site .woocommerce .select2-container--focus .select2-selection--single,
body.pp-site .woocommerce .select2-container--open .select2-selection--single {
    outline: none;
    border-color: #aa8ddd;
    box-shadow: 0 0 0 3px #c5b0ef33;
}
body.pp-site .select2-dropdown {
    border: 1px solid #d9d4e1;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    color: #29243a;
    font-family: inherit;
    font-size: 16px;
    box-shadow: 0 12px 30px #29243a14;
}
body.pp-site .select2-search--dropdown { padding: 10px; }
body.pp-site .select2-search--dropdown .select2-search__field {
    min-height: 44px;
    width: 100%;
    border: 1px solid #d9d4e1;
    border-radius: 7px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
    color: #29243a;
}
body.pp-site .select2-search__field:focus { outline: 2px solid #aa8ddd; outline-offset: 1px; }
body.pp-site .select2-results__option { padding: 12px 14px; line-height: 1.4; }
body.pp-site .select2-results__option[aria-selected=true] { background: #e9f8fa; color: #29243a; }
body.pp-site .select2-results__option--highlighted[aria-selected] { background: #eee7fb; color: #29243a; }
body.pp-site .select2-results__option[aria-disabled=true] { color: #817b8a; }
body.pp-site .woocommerce .select2-container--disabled .select2-selection--single,
body.pp-site .woocommerce form .form-row select:disabled { background-color: #f5f3f8; cursor: not-allowed; }

/* Semantic notice colors shared by classic WooCommerce and Cart/Checkout blocks. */
body.pp-site .woocommerce-message,
body.pp-site .wc-block-components-notice-banner.is-success {
    --pp-notice-bg: #edf8f0;
    --pp-notice-border: #9bceab;
    --pp-notice-ink: #225c36;
}
body.pp-site .woocommerce-error,
body.pp-site .wc-block-components-notice-banner.is-error {
    --pp-notice-bg: #fff0f0;
    --pp-notice-border: #e6aaaa;
    --pp-notice-ink: #922c32;
}
body.pp-site .woocommerce-info,
body.pp-site .wc-block-components-notice-banner.is-info {
    --pp-notice-bg: #edf6ff;
    --pp-notice-border: #a6c9e8;
    --pp-notice-ink: #245982;
}
body.pp-site .woocommerce-message,
body.pp-site .woocommerce-error,
body.pp-site .woocommerce-info,
body.pp-site .wc-block-components-notice-banner:is(.is-success, .is-error, .is-info) {
    background: var(--pp-notice-bg) !important;
    border-color: var(--pp-notice-border) !important;
    color: var(--pp-notice-ink) !important;
    border-radius: 9px;
}
body.pp-site :is(.woocommerce-message, .woocommerce-error, .woocommerce-info)::before,
body.pp-site :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) a {
    color: var(--pp-notice-ink);
}
body.pp-site .wc-block-components-notice-banner:is(.is-success, .is-error, .is-info) > svg {
    background-color: var(--pp-notice-ink) !important;
    fill: #fff;
}

/* Keep notice copy and actions readable at every content width. */
body.pp-site .woocommerce-notices-wrapper {
    width: 100%;
    min-width: 0;
}
body.pp-site :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    clear: both;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
body.pp-site :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) .button,
body.pp-site .wc-block-components-notice-banner__content .wc-block-components-button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}
body.pp-site .wc-block-components-notice-banner__content {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    body.pp-site :is(.woocommerce-message, .woocommerce-info) {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 16px 18px 46px;
    }
    body.pp-site .woocommerce-error {
        padding: 18px 16px 18px 46px;
    }
    body.pp-site .woocommerce-error > li,
    body.pp-site .wc-block-components-notice-banner__content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    body.pp-site :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) .button,
    body.pp-site .wc-block-components-notice-banner__content .wc-block-components-button {
        order: 2;
        float: none !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin: 14px 0 0;
    }
}
