.pp-shop-cart-button {
    position: relative;
    text-decoration: none;
}

.pp-shop-cart-button [data-cart-count] {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ec008c;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.pp-shop-product-actions {
    margin-top: 14px;
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
}

.pp-shop-add-button,
.pp-shop-detail-add,
.pp-shop-primary-button,
.pp-shop-checkout-placeholder {
    border: 0;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #15161c;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.pp-shop-add-button:hover,
.pp-shop-detail-add:hover,
.pp-shop-primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
}

.pp-shop-add-button.is-loading,
.pp-shop-detail-add.is-loading,
.pp-shop-cart-remove.is-loading,
.pp-shop-clear-cart.is-loading {
    opacity: .55;
    pointer-events: none;
}

.pp-shop-details-link {
    color: #15161c;
    font-weight: 800;
    text-decoration: none;
}

.pp-shop-details-link:hover {
    text-decoration: underline;
}

.pp-shop-detail-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 28px;
}

.pp-shop-detail-cart-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #fff;
    color: #17181f;
}

.pp-shop-detail-cart-link [data-cart-count] {
    position: absolute;
    transform: translate(15px, -15px);
}

.pp-shop-purchase {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 23, 42, .1);
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}

.pp-shop-purchase-field {
    display: grid;
    gap: 7px;
}

.pp-shop-purchase-field span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pp-shop-purchase-field input {
    width: 92px;
    height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0 12px;
    font: inherit;
    font-weight: 800;
    background: #fff;
}

.pp-shop-cart-main {
    min-height: 70vh;
    padding: 150px 0 90px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 38%);
}

.pp-shop-cart-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.pp-shop-cart-head h1 {
    margin: 8px 0 6px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: .95;
    letter-spacing: -.055em;
    color: #111318;
}

.pp-shop-cart-head p {
    margin: 0;
    color: #64748b;
}

.pp-shop-link-back {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #111318;
    font-weight: 800;
    text-decoration: none;
}

.pp-shop-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.pp-shop-cart-items {
    display: grid;
    gap: 14px;
}

.pp-shop-cart-item {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) auto auto 42px;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .05);
}

.pp-shop-cart-image {
    display: block;
    width: 128px;
    height: 104px;
    overflow: hidden;
    border-radius: 16px;
    background: #f1f5f9;
}

.pp-shop-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-shop-cart-item-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.pp-shop-cart-item-copy > span,
.pp-shop-cart-item-copy > small,
.pp-shop-cart-line-price > span {
    color: #64748b;
    font-size: 12px;
}

.pp-shop-cart-item-copy > a {
    color: #111318;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
}

.pp-shop-cart-item-copy > strong {
    font-size: 14px;
    color: #334155;
}

.pp-shop-quantity {
    display: grid;
    grid-template-columns: 36px 52px 36px;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    overflow: hidden;
    background: #fff;
}

.pp-shop-quantity button,
.pp-shop-quantity input {
    height: 40px;
    border: 0;
    background: transparent;
    color: #111318;
    text-align: center;
    font: inherit;
    font-weight: 800;
}

.pp-shop-quantity button {
    cursor: pointer;
}

.pp-shop-quantity button:hover {
    background: #f1f5f9;
}

.pp-shop-quantity input {
    width: 52px;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    appearance: textfield;
}

.pp-shop-quantity input::-webkit-inner-spin-button,
.pp-shop-quantity input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.pp-shop-cart-line-price {
    min-width: 100px;
    display: grid;
    justify-items: end;
    gap: 4px;
}

.pp-shop-cart-line-price strong {
    color: #111318;
    font-size: 18px;
}

.pp-shop-cart-remove {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    cursor: pointer;
}

.pp-shop-cart-remove:hover {
    background: #ffe4e6;
}

.pp-shop-cart-summary {
    position: sticky;
    top: 110px;
    padding: 26px;
    border-radius: 24px;
    background: #111318;
    color: #fff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .18);
}

.pp-shop-cart-summary .pp-fidelity-kicker {
    color: #22d3ee;
}

.pp-shop-cart-summary h2 {
    margin: 8px 0 24px;
    font-size: 25px;
}

.pp-shop-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.pp-shop-summary-row--muted {
    color: #cbd5e1;
    font-size: 13px;
}

.pp-shop-cart-tax-note {
    display: flex;
    gap: 10px;
    margin: 18px 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.45;
}

.pp-shop-checkout-placeholder {
    width: 100%;
    background: #fff;
    color: #111318;
    cursor: not-allowed;
    opacity: .7;
}

.pp-shop-cart-summary > small {
    display: block;
    margin-top: 10px;
    color: #94a3b8;
    text-align: center;
}

.pp-shop-clear-cart {
    width: 100%;
    margin-top: 18px;
    border: 0;
    background: transparent;
    color: #fda4af;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.pp-shop-cart-empty {
    padding: 70px 24px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 26px;
    background: #fff;
}

.pp-shop-cart-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #475569;
    font-size: 25px;
}

.pp-shop-cart-empty h2 {
    margin: 0 0 8px;
    color: #111318;
}

.pp-shop-cart-empty p {
    margin: 0 0 24px;
    color: #64748b;
}

@media (max-width: 980px) {
    .pp-shop-cart-layout {
        grid-template-columns: 1fr;
    }

    .pp-shop-cart-summary {
        position: static;
    }

    .pp-shop-cart-item {
        grid-template-columns: 105px minmax(0, 1fr) auto;
    }

    .pp-shop-cart-image {
        width: 105px;
        height: 92px;
    }

    .pp-shop-quantity {
        grid-column: 2;
    }

    .pp-shop-cart-line-price {
        grid-column: 3;
        grid-row: 2;
    }

    .pp-shop-cart-remove {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

@media (max-width: 640px) {
    .pp-shop-cart-main {
        padding-top: 115px;
    }

    .pp-shop-cart-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .pp-shop-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) 40px;
        gap: 12px;
    }

    .pp-shop-cart-image {
        width: 82px;
        height: 82px;
    }

    .pp-shop-cart-item-copy > a {
        font-size: 15px;
    }

    .pp-shop-quantity {
        grid-column: 1 / span 2;
        justify-self: start;
    }

    .pp-shop-cart-line-price {
        grid-column: 3;
        grid-row: 2;
        align-self: center;
    }

    .pp-shop-cart-summary {
        padding: 22px;
    }
}

/* ==========================================================================
   Public catalog/detail polish - 2026-10-07
   ========================================================================== */

/* Keep short product pages anchored to the bottom without fixing the footer. */
.pp-product-detail-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pp-product-detail-page .pp-product-detail {
    flex: 1 0 auto;
    min-height: 0;
}

.pp-product-detail-page .pp-fidelity-footer {
    flex: 0 0 auto;
    margin-top: 0;
}

/* Catalog cards: give copy and actions their own space. */
.pp-products-product-grid .pp-fidelity-product {
    display: flex;
    flex-direction: column;
}

.pp-products-product-grid .pp-fidelity-product-info {
    flex: 1;
    min-height: 132px;
    align-items: stretch;
    padding: 14px;
}

.pp-products-product-grid .pp-fidelity-product-info > div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pp-products-product-grid .pp-fidelity-product-info strong {
    min-height: 2.7em;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .86rem;
    line-height: 1.35;
}

.pp-products-product-grid .pp-fidelity-product-info > div > span {
    margin-top: 6px;
}

.pp-shop-product-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.pp-shop-product-actions > :only-child {
    grid-column: 1 / -1;
}

.pp-fidelity-product-info .pp-shop-add-button,
.pp-shop-details-link {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .76rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.pp-shop-details-link {
    border: 1px solid #d7e0e9;
    background: #fff;
    color: #172033;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.pp-shop-details-link:hover {
    border-color: #b9c7d5;
    background: #f8fafc;
    text-decoration: none;
    transform: translateY(-1px);
}

.pp-fidelity-product-info .pp-shop-add-button {
    border: 1px solid #15161c;
    background: #15161c;
    color: #fff;
}

/* Product detail: one coherent purchase block and a secondary back action. */
.pp-product-detail-copy .pp-shop-purchase {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid #e0e7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .045);
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.pp-product-detail-copy .pp-shop-purchase-field input {
    width: 100%;
    height: 48px;
    border-radius: 12px;
}

.pp-product-detail-copy .pp-shop-detail-add {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    background: #15161c;
}

.pp-shop-back-link {
    width: max-content;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #56657a;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.pp-shop-back-link:hover {
    color: #111827;
    transform: translateX(-2px);
}

/* List view keeps the two actions compact instead of stretching vertically. */
.pp-products-content.is-list-view .pp-shop-product-actions {
    width: min(330px, 100%);
    margin-top: 16px;
}

@media (max-width: 640px) {
    .pp-products-product-grid .pp-fidelity-product-info {
        min-height: 126px;
    }

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

    .pp-product-detail-copy .pp-shop-purchase {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .pp-product-detail-copy .pp-shop-purchase-field input {
        width: 100%;
    }
}


/* ==========================================================================\n   Product detail gallery + related products - 2026-10-07\n   ========================================================================== */
.pp-product-detail-page .pp-product-detail-grid {
    align-items: start;
}

.pp-product-gallery {
    min-width: 0;
}

.pp-product-detail-art.has-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: block;
    border-radius: 24px;
    background: #eef3f8;
}

.pp-product-detail-art.has-image .pp-shop-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

.pp-product-gallery-thumbs {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.pp-product-gallery-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pp-product-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-product-gallery-thumb:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .09);
}

.pp-product-gallery-thumb.is-active {
    border-color: #ec168c;
    box-shadow: 0 0 0 2px rgba(236, 22, 140, .08);
}

.pp-product-related {
    padding-top: 72px;
}

.pp-product-related-head {
    margin-bottom: 20px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.pp-product-related-head h2 {
    margin: 7px 0 0;
    color: #0d1726;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.pp-product-related-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #56657a;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.pp-product-related-all:hover {
    color: #111827;
}

.pp-related-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .pp-related-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pp-product-gallery-thumbs {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .pp-product-gallery-thumb {
        width: 88px;
        flex: 0 0 88px;
    }

    .pp-product-related {
        padding-top: 52px;
    }

    .pp-product-related-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .pp-related-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Checkout + IVU v1 - 2026-10-07
   ========================================================================== */

.pp-shop-checkout-link {
    cursor: pointer;
    opacity: 1;
    text-decoration: none;
}

.pp-shop-checkout-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, .12);
}

.pp-shop-checkout-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pp-shop-checkout-page .pp-shop-checkout-main {
    flex: 1 0 auto;
}

.pp-shop-checkout-page .pp-fidelity-footer {
    flex: 0 0 auto;
}

.pp-shop-checkout-main {
    padding: 130px 0 90px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 38%);
}

.pp-shop-checkout-steps {
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pp-shop-checkout-steps > * {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.pp-shop-checkout-steps span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
}

.pp-shop-checkout-steps .is-active {
    border-color: rgba(236, 0, 140, .24);
    color: #111318;
}

.pp-shop-checkout-steps .is-active span {
    background: #ec008c;
    color: #fff;
}

.pp-shop-checkout-head {
    margin-bottom: 28px;
}

.pp-shop-checkout-success {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #f0fdf4;
    color: #166534;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pp-shop-checkout-success > i {
    margin-top: 2px;
    font-size: 18px;
}

.pp-shop-checkout-success div {
    display: grid;
    gap: 2px;
}

.pp-shop-checkout-success span {
    font-size: 13px;
}

.pp-shop-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 30px;
    align-items: start;
}

.pp-shop-checkout-card,
.pp-shop-checkout-summary {
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.pp-shop-checkout-card {
    padding: 30px;
}

.pp-shop-checkout-section-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.pp-shop-checkout-section-head--spaced {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.pp-shop-checkout-section-head > span {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #111318;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.pp-shop-checkout-section-head h2 {
    margin: 0 0 4px;
    color: #111318;
    font-size: 22px;
}

.pp-shop-checkout-section-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

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

.pp-shop-checkout-field {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.pp-shop-checkout-field--full {
    grid-column: 1 / -1;
}

.pp-shop-checkout-field > span {
    color: #334155;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .02em;
}

.pp-shop-checkout-field input,
.pp-shop-checkout-field select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    padding: 0 14px;
    background: #fff;
    color: #111318;
    font: inherit;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.pp-shop-checkout-field input:focus,
.pp-shop-checkout-field select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .1);
}

.pp-shop-checkout-field.has-error input,
.pp-shop-checkout-field.has-error select {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, .08);
}

.pp-shop-checkout-field small {
    color: #be123c;
    font-size: 12px;
    line-height: 1.35;
}

.pp-shop-checkout-actions {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pp-shop-checkout-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-weight: 800;
    text-decoration: none;
}

.pp-shop-checkout-summary {
    position: sticky;
    top: 105px;
    padding: 26px;
}

.pp-shop-checkout-summary-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.pp-shop-checkout-summary-head h2 {
    margin: 5px 0 0;
    color: #111318;
    font-size: 25px;
}

.pp-shop-checkout-summary-head > span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.pp-shop-checkout-items {
    display: grid;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.pp-shop-checkout-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.pp-shop-checkout-item img {
    width: 62px;
    height: 54px;
    object-fit: cover;
    border-radius: 11px;
    background: #f1f5f9;
}

.pp-shop-checkout-item div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.pp-shop-checkout-item strong {
    overflow: hidden;
    color: #111318;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pp-shop-checkout-item span {
    color: #64748b;
    font-size: 12px;
}

.pp-shop-checkout-item b {
    color: #111318;
    font-size: 13px;
}

.pp-shop-checkout-totals {
    padding: 18px 0 0;
    display: grid;
}

.pp-shop-checkout-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    color: #64748b;
    font-size: 13px;
}

.pp-shop-checkout-totals strong {
    color: #111318;
}

.pp-shop-checkout-tax-total {
    margin-top: 7px;
    padding-top: 14px !important;
    border-top: 1px dashed #cbd5e1;
}

.pp-shop-checkout-grand-total {
    margin-top: 8px;
    padding-top: 17px !important;
    border-top: 1px solid #cbd5e1;
    color: #111318 !important;
    font-size: 17px !important;
    font-weight: 900;
}

.pp-shop-checkout-grand-total strong {
    font-size: 22px;
}

.pp-shop-checkout-server-note,
.pp-shop-checkout-next {
    margin-top: 18px;
    padding: 14px;
    border-radius: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.45;
}

.pp-shop-checkout-server-note {
    background: #f0f9ff;
    color: #075985;
}

.pp-shop-checkout-next {
    background: #f8fafc;
    color: #64748b;
}

.pp-shop-checkout-next div {
    display: grid;
    gap: 2px;
}

.pp-shop-checkout-next strong {
    color: #334155;
}

@media (max-width: 980px) {
    .pp-shop-checkout-layout {
        grid-template-columns: 1fr;
    }

    .pp-shop-checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .pp-shop-checkout-main {
        padding-top: 110px;
    }

    .pp-shop-checkout-grid {
        grid-template-columns: 1fr;
    }

    .pp-shop-checkout-field--full {
        grid-column: auto;
    }

    .pp-shop-checkout-card,
    .pp-shop-checkout-summary {
        border-radius: 20px;
        padding: 20px;
    }

    .pp-shop-checkout-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .pp-shop-checkout-actions .pp-shop-primary-button,
    .pp-shop-checkout-secondary {
        width: 100%;
        justify-content: center;
    }
}


/* ========================================================================== 
   Cart global visibility + balanced states - 2026-10-07
   ========================================================================== */
.pp-shop-cart-layout[hidden],
.pp-shop-cart-empty[hidden] {
    display: none !important;
}

.pp-shop-cart-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pp-shop-cart-page .pp-shop-cart-main {
    flex: 1 0 auto;
}

.pp-shop-cart-page .pp-fidelity-footer {
    flex: 0 0 auto;
}

.pp-shop-cart-main {
    min-height: 0;
    padding: 104px 0 72px;
}

.pp-shop-cart-head {
    margin-bottom: 26px;
}

.pp-shop-cart-head h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.pp-shop-cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 32px;
}

.pp-shop-cart-empty {
    width: min(100%, 860px);
    min-height: 330px;
    margin: 0 auto;
    padding: 54px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pp-shop-cart-summary {
    top: 96px;
}

@media (max-width: 980px) {
    .pp-shop-cart-main {
        padding: 92px 0 62px;
    }
}

@media (max-width: 640px) {
    .pp-shop-cart-main {
        padding: 84px 0 52px;
    }

    .pp-shop-cart-empty {
        min-height: 300px;
        padding: 46px 20px;
    }
}


/* ========================================================================== 
   Tienda Online: cuentas + checkout selector + navbar cleanup - 2026-10-07
   ========================================================================== */
.pp-shop-account-button {
    position: relative;
}

.pp-shop-account-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #00a9e0;
}

.pp-shop-type-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 5px;
    border: 1px solid #cbd5e1;
    border-radius: 15px;
    background: #f8fafc;
}

.pp-shop-type-toggle label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.pp-shop-type-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pp-shop-type-toggle label > span {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 850;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.pp-shop-type-toggle input:checked + span {
    background: #111318;
    color: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .14);
}

.pp-shop-type-toggle input:focus-visible + span {
    outline: 3px solid rgba(14, 165, 233, .18);
    outline-offset: 2px;
}

.pp-shop-checkout-field.has-error .pp-shop-type-toggle {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, .08);
}

.pp-shop-account-checkout-note {
    margin: -4px 0 26px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.pp-shop-account-checkout-note i {
    margin-top: 2px;
    color: #00a9e0;
}

.pp-shop-account-checkout-note a {
    color: #111318;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pp-shop-account-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pp-shop-account-page .pp-shop-account-main {
    flex: 1 0 auto;
}

.pp-shop-account-main {
    padding: 120px 0 84px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 48%);
}

.pp-shop-account-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.pp-shop-account-shell--narrow {
    width: min(100%, 620px);
}

.pp-shop-account-heading {
    margin-bottom: 24px;
}

.pp-shop-account-heading h1 {
    margin: 8px 0 8px;
    color: #111318;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.pp-shop-account-heading p {
    margin: 0;
    color: #64748b;
}

.pp-shop-account-heading--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.pp-shop-account-card,
.pp-shop-account-orders {
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.pp-shop-account-card {
    padding: 30px;
}

.pp-shop-account-form {
    display: grid;
    gap: 18px;
}

.pp-shop-account-form .pp-shop-primary-button {
    margin-top: 4px;
    min-height: 50px;
    justify-content: center;
}

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

.pp-shop-account-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.pp-shop-account-switch {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.pp-shop-account-switch a {
    color: #111318;
    font-weight: 900;
}

.pp-shop-account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.pp-shop-account-orders {
    position: sticky;
    top: 100px;
    padding: 26px;
}

.pp-shop-account-orders h2 {
    margin: 6px 0 20px;
    color: #111318;
    font-size: 23px;
}

.pp-shop-account-empty-orders {
    min-height: 220px;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: #64748b;
}

.pp-shop-account-empty-orders i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #475569;
    font-size: 20px;
}

.pp-shop-account-empty-orders strong {
    color: #111318;
}

.pp-shop-account-empty-orders span {
    font-size: 13px;
    line-height: 1.45;
}

.pp-shop-account-logout {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-weight: 850;
}

@media (max-width: 900px) {
    .pp-shop-account-layout {
        grid-template-columns: 1fr;
    }
    .pp-shop-account-orders {
        position: static;
    }
}

@media (max-width: 640px) {
    .pp-shop-account-main {
        padding: 92px 0 58px;
    }
    .pp-shop-account-card,
    .pp-shop-account-orders {
        padding: 22px;
        border-radius: 20px;
    }
    .pp-shop-account-grid,
    .pp-shop-type-toggle {
        grid-template-columns: 1fr;
    }
    .pp-shop-account-heading--row {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* PRINTPLUS_ACCOUNT_INPUT_RULES_20261007 */
.pp-shop-account-password-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .45rem;
}

.pp-shop-account-password-head > span {
    margin: 0 !important;
}

.pp-shop-account-password-head a,
.pp-shop-account-forgot-link {
    color: #009fe3;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.pp-shop-account-password-head a:hover,
.pp-shop-account-forgot-link:hover {
    text-decoration: underline;
}

.pp-shop-account-form .js-pass {
    width: 100%;
}

.pp-shop-account-form .js-pass .js-pass-toggle {
    top: 50% !important;
}

@media (max-width: 560px) {
    .pp-shop-account-password-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }
}

/* ========================================================================== 
   Shipping v1 - 2026-10-08
   ========================================================================== */
.pp-shop-checkout-warning {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: #fff7ed;
    color: #9a3412;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pp-shop-checkout-warning > i {
    margin-top: 2px;
    font-size: 18px;
}

.pp-shop-checkout-warning div {
    display: grid;
    gap: 2px;
}

.pp-shop-checkout-warning span {
    font-size: 13px;
}

.pp-shop-shipping-same {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid #dbeafe;
    border-radius: 15px;
    background: #f8fbff;
    cursor: pointer;
}

.pp-shop-shipping-same input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #ec008c;
}

.pp-shop-shipping-same span {
    display: grid;
    gap: 2px;
    color: #334155;
}

.pp-shop-shipping-same small {
    color: #64748b;
    font-size: 12px;
}

.pp-shop-shipping-address {
    margin-top: 18px;
}

.pp-shop-shipping-address[hidden] {
    display: none !important;
}

.pp-shop-delivery-block {
    margin-top: 34px;
    padding-top: 4px;
}

.pp-shop-shipping-refresh-form {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pp-shop-shipping-refresh-form .pp-shop-checkout-secondary {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.pp-shop-shipping-refresh-form small {
    color: #64748b;
    font-size: 12px;
}

.pp-shop-delivery-options {
    display: grid;
    gap: 12px;
}

.pp-shop-delivery-option {
    position: relative;
    display: grid;
    grid-template-columns: auto 42px minmax(0,1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid #dbe2ea;
    border-radius: 17px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.pp-shop-delivery-option:hover,
.pp-shop-delivery-option.is-selected {
    border-color: #38bdf8;
    background: #f8fdff;
    box-shadow: 0 0 0 3px rgba(56,189,248,.08);
}

.pp-shop-delivery-option > input {
    width: 18px;
    height: 18px;
    accent-color: #ec008c;
}

.pp-shop-delivery-option__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #0f172a;
}

.pp-shop-delivery-option__copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.pp-shop-delivery-option__copy strong {
    color: #111318;
    font-size: 14px;
}

.pp-shop-delivery-option__copy small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.pp-shop-delivery-option > b {
    color: #111318;
    white-space: nowrap;
    font-size: 14px;
}

.pp-shop-shipping-note {
    padding: 14px 15px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.45;
}

.pp-shop-delivery-error {
    color: #be123c;
    font-size: 12px;
    font-weight: 700;
}

.pp-shop-delivery-save {
    justify-self: start;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .pp-shop-delivery-option {
        grid-template-columns: auto 38px minmax(0,1fr);
    }

    .pp-shop-delivery-option > b {
        grid-column: 2 / -1;
        padding-left: 50px;
    }

    .pp-shop-delivery-save {
        width: 100%;
        justify-content: center;
    }
}

.pp-shop-order-delivery-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid #dbe2ea;
    border-radius: 17px;
    background: #f8fafc;
}

.pp-shop-order-delivery-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #111318;
    color: #fff;
}

.pp-shop-order-delivery-card > div:nth-child(2) {
    display: grid;
    gap: 4px;
}

.pp-shop-order-delivery-card strong {
    color: #111318;
}

.pp-shop-order-delivery-card span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.pp-shop-order-delivery-card > b {
    color: #111318;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .pp-shop-order-delivery-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .pp-shop-order-delivery-card > b {
        grid-column: 2;
    }
}


/* ==========================================================================
   Public toast: keep notifications below the fixed/sticky public navbar
   ========================================================================== */
body.pp-public-body .swal2-container.swal2-top-end,
body.pp-public-body .swal2-container.swal2-top {
    padding-top: calc(var(--pp-public-toast-offset, 92px) + 10px) !important;
}

@media (max-width: 760px) {
    body.pp-public-body .swal2-container.swal2-top-end,
    body.pp-public-body .swal2-container.swal2-top {
        padding-top: calc(var(--pp-public-toast-offset, 76px) + 8px) !important;
    }
}


/* ==========================================================================
   Checkout AJAX: live USPS rates / totals without page reloads
   ========================================================================== */
[data-checkout-delivery-region],
[data-checkout-totals-region] {
    transition: opacity .18s ease;
}

[data-checkout-delivery-region].is-loading,
[data-checkout-totals-region].is-loading {
    opacity: .52;
    pointer-events: none;
    cursor: progress;
}

.pp-js [data-delivery-form] .pp-shop-delivery-save {
    display: none;
}

.pp-js [data-delivery-form] .pp-shop-delivery-option {
    cursor: pointer;
}

[data-checkout-info-form] .is-loading,
[data-shipping-refresh-form] .is-loading {
    pointer-events: none;
    opacity: .7;
}

/* Keep a hidden configurable purchase CTA genuinely hidden despite grid display declarations. */
.pp-product-detail-page [data-config-purchase][hidden]{display:none!important}

/* Print Plus cart layout aligned with the approved reference, without enabling configured checkout */
.pp-shop-cart-page .pp-shop-cart-main{background:#f4f7fb;padding-top:120px}
.pp-shop-cart-page .pp-shop-cart-head{margin-bottom:25px}
.pp-shop-cart-page .pp-shop-cart-head .pp-fidelity-kicker{display:none}
.pp-shop-cart-page .pp-shop-cart-head h1{font-size:clamp(2.3rem,4vw,3.3rem);font-weight:900;letter-spacing:-.055em}
.pp-shop-cart-page .pp-shop-cart-layout{grid-template-columns:minmax(0,1fr) 340px;gap:26px}
.pp-shop-cart-page .pp-shop-cart-item{grid-template-columns:110px minmax(0,1fr) auto auto 34px;gap:15px;min-height:135px;box-shadow:none;border-radius:18px;padding:16px 17px}
.pp-shop-cart-page .pp-shop-cart-image{width:110px;height:99px;border-radius:12px}
.pp-shop-cart-page .pp-shop-cart-item-copy>a{font-weight:900}
.pp-shop-cart-page .pp-shop-cart-item-copy>span:first-child{text-transform:uppercase;font-size:.7rem;font-weight:800;color:#007fae}
.pp-shop-cart-page .pp-shop-cart-item-copy>small{font-size:.78rem;line-height:1.4}
.pp-shop-cart-page .pp-shop-cart-item-copy>strong{font-size:.78rem;font-weight:700;color:#55667a}
.pp-shop-cart-page .pp-shop-cart-line-price{min-width:95px}
.pp-shop-cart-page .pp-shop-cart-line-price strong{font-size:1.22rem;font-weight:900}
.pp-shop-cart-page .pp-shop-cart-remove{background:transparent;color:#64748b;width:34px;height:40px}
.pp-shop-cart-page .pp-shop-cart-remove:hover{background:#fff0f3;color:#e11d48}
.pp-shop-cart-page .pp-shop-cart-summary{background:#0c1825;border-radius:24px;box-shadow:none;padding:29px;top:100px}
.pp-shop-cart-page .pp-shop-cart-summary .pp-fidelity-kicker{display:none}
.pp-shop-cart-page .pp-shop-cart-summary h2{margin:0 0 20px;font-size:1.65rem}
.pp-shop-cart-page .pp-shop-checkout-link{opacity:1;cursor:pointer}
.pp-shop-cart-page .pp-cart-delivery-preview{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px 24px;margin-top:6px}
.pp-shop-cart-page .pp-cart-delivery-preview h2{font-size:1.24rem;margin:0 0 7px;color:#101820;font-weight:900}
.pp-shop-cart-page .pp-cart-delivery-preview p{margin:0;color:#53647b;line-height:1.55;font-size:.89rem}
.pp-shop-cart-page .pp-cart-delivery-preview .pp-cart-delivery-warning{margin-top:12px;color:#805c13;background:#fff6dd;padding:12px;border-radius:10px}
.pp-shop-cart-page .pp-cart-package-note{font-size:.72rem;color:#64748b;line-height:1.4}
@media(max-width:1050px){.pp-shop-cart-page .pp-shop-cart-layout{grid-template-columns:1fr}.pp-shop-cart-page .pp-shop-cart-summary{position:static}}
@media(max-width:620px){.pp-shop-cart-page .pp-shop-cart-item{grid-template-columns:82px 1fr auto;gap:10px}.pp-shop-cart-page .pp-shop-cart-image{width:82px;height:82px}.pp-shop-cart-page .pp-shop-quantity{grid-column:2}.pp-shop-cart-page .pp-shop-cart-line-price{grid-column:2;justify-items:start}.pp-shop-cart-page .pp-shop-cart-remove{grid-column:3;grid-row:1}.pp-shop-cart-page .pp-shop-cart-head{align-items:flex-start;flex-direction:column}}
