/*
 * Cart, checkout and thank-you pages – PLIRO look (0.3.5).
 *
 * Ported from the PLIRO Cart Experience plugin (cart-checkout.css) onto the
 * theme's own cart and checkout markup. Loaded after cart.css / checkout.css
 * when Separes Store › سبد خرید › «ظاهر» is «پلیرو» (body.sps-look-pliro).
 * Selectors start with "html body.sps-look-pliro…:not(#sps-x)" so they
 * outrank the theme sheets without !important.
 */

html body.sps-look-pliro:not(#sps-x) {
    --pl-plum: var(--sps-color-secondary, #63204F);
    --pl-deep: var(--sps-color-primary, #421536);
    --pl-orange: var(--sps-color-accent, #F47735);
    --pl-peach: #F7C8B6;
    --pl-white: #FFF9F5;
    --pl-cream: var(--sps-color-border, #F5EAE3);
    --pl-ink: var(--sps-color-text, #29232A);
    --pl-gray: #81777D;
    --pl-line: #ECDCD3;
    --pl-shadow: 0 24px 60px -30px rgba(66, 21, 54, .45);
    --pl-cta: linear-gradient(135deg, var(--pl-orange) 0%, color-mix(in srgb, var(--pl-orange) 70%, #FFC08A) 100%);
    background:
        radial-gradient(700px 360px at 100% 0, rgba(247, 200, 182, .35), transparent 70%),
        radial-gradient(600px 320px at 0 30%, rgba(99, 32, 79, .06), transparent 70%),
        var(--pl-white);
}
html body.sps-look-pliro:not(#sps-x) :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--pl-plum); }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .site-main { padding-top: 0; }
/* The full-width title band must never add a horizontal scrollbar. */
html:has(body.sps-look-pliro), html body.sps-look-pliro:not(#sps-x) { overflow-x: clip; }

/* ---------------------------------------------------------------------
 * 1) Gradient title band with steps
 * ------------------------------------------------------------------- */
html body.sps-look-pliro:not(#sps-x) .sps-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0 calc(50% - 50vw) 34px;
    padding: 38px 16px;
    border-radius: 0 0 32px 32px;
    background: linear-gradient(120deg, var(--pl-deep) 0%, var(--pl-plum) 45%, color-mix(in srgb, var(--pl-plum) 70%, #B04A8E) 72%, var(--pl-plum) 100%);
    background-size: 220% 220%;
    text-align: center;
    animation: spsPlGrad 14s ease infinite;
}
html body.sps-look-pliro:not(#sps-x) .sps-hero::before,
html body.sps-look-pliro:not(#sps-x) .sps-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(18px);
}
html body.sps-look-pliro:not(#sps-x) .sps-hero::before {
    top: -140px;
    right: 8%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, color-mix(in srgb, var(--pl-orange) 70%, transparent), transparent 70%);
    animation: spsPlFloat 9s ease-in-out infinite;
}
html body.sps-look-pliro:not(#sps-x) .sps-hero::after {
    bottom: -140px;
    left: 6%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(247, 200, 182, .5), transparent 70%);
    animation: spsPlFloat 11s ease-in-out infinite reverse;
}
html body.sps-look-pliro:not(#sps-x) .sps-hero__inner { position: relative; z-index: 2; max-width: var(--sps-container-width); margin: 0 auto; }
html body.sps-look-pliro:not(#sps-x) .sps-hero__title {
    margin: 0 0 6px;
    color: #FFFFFF;
    font: 800 clamp(24px, 3vw, 36px)/1.4 var(--sps-store-font);
    text-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
html body.sps-look-pliro:not(#sps-x) .sps-hero__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
html body.sps-look-pliro:not(#sps-x) .sps-hero__step { margin: 0; }
html body.sps-look-pliro:not(#sps-x) .sps-hero__step :is(a, span) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: all .25s ease;
}
html body.sps-look-pliro:not(#sps-x) .sps-hero__step.is-done :is(a, span) { background: rgba(255, 255, 255, .22); color: #FFFFFF; }
html body.sps-look-pliro:not(#sps-x) .sps-hero__step.is-done a:is(:hover, :focus-visible) { background: rgba(255, 255, 255, .32); }
html body.sps-look-pliro:not(#sps-x) .sps-hero__step.is-active span {
    border-color: transparent;
    background: var(--pl-cta);
    color: #FFFFFF;
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--pl-orange) 90%, transparent);
}
/* The theme's own checkout head stays in the page for its script only. */
html body.sps-look-pliro:not(#sps-x) .sps-co .sps-co-head { display: none; }

/* ---------------------------------------------------------------------
 * 2) Notices
 * ------------------------------------------------------------------- */
html body.sps-look-pliro:not(#sps-x) .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    margin-bottom: 22px;
    padding: 16px 20px;
    border: 0;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: var(--pl-shadow);
    animation: spsPlRise .5s ease both;
}
html body.sps-look-pliro:not(#sps-x) .woocommerce .woocommerce-message { background: linear-gradient(120deg, var(--pl-plum), color-mix(in srgb, var(--pl-plum) 70%, #B04A8E)); color: #FFFFFF; }
html body.sps-look-pliro:not(#sps-x) .woocommerce .woocommerce-message a { color: var(--pl-peach); }
html body.sps-look-pliro:not(#sps-x) .woocommerce .woocommerce-info {
    border: 1.5px dashed var(--pl-peach);
    background: linear-gradient(120deg, #FFFFFF, var(--pl-cream));
    color: var(--pl-ink);
    box-shadow: none;
}
html body.sps-look-pliro:not(#sps-x) .woocommerce .woocommerce-info a { color: var(--pl-plum); font-weight: 800; }
html body.sps-look-pliro:not(#sps-x) .woocommerce .woocommerce-error { background: linear-gradient(120deg, #A02A3A, #C2433F); color: #FFFFFF; }
html body.sps-look-pliro:not(#sps-x) .woocommerce .woocommerce-error a { color: #FFFFFF; }

/* ---------------------------------------------------------------------
 * 3) Cart
 * ------------------------------------------------------------------- */
html body.sps-look-pliro:not(#sps-x) .woocommerce .sps-cart__items { animation: spsPlRise .55s ease both; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table {
    margin: -14px 0 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table thead th {
    padding: 0 18px 4px;
    border: 0;
    background: transparent;
    color: var(--pl-gray);
    font-size: 12.5px;
    font-weight: 700;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item td {
    padding: 16px 18px;
    border: 0;
    border-block: 1px solid var(--pl-cream);
    background: #FFFFFF;
    vertical-align: middle;
    transition: box-shadow .3s ease;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item td:first-child { border-right: 1px solid var(--pl-cream); border-radius: 0 18px 18px 0; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item td:last-child { border-left: 1px solid var(--pl-cream); border-radius: 18px 0 0 18px; }
html body.sps-look-pliro:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item { animation: spsPlRise .5s ease both; }
html body.sps-look-pliro:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item:nth-child(2) { animation-delay: .08s; }
html body.sps-look-pliro:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item:nth-child(3) { animation-delay: .16s; }
html body.sps-look-pliro:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item:nth-child(4) { animation-delay: .24s; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item:hover td { box-shadow: 0 18px 34px -22px rgba(66, 21, 54, .5); }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table .product-thumbnail img {
    width: 88px;
    height: 88px;
    padding: 6px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--pl-cream), #FFFFFF);
    object-fit: contain;
    transition: transform .35s ease;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tr.cart_item:hover .product-thumbnail img { transform: scale(1.06) rotate(-2deg); }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-table .sps-cart-item__title { color: var(--pl-ink); font-size: 15px; font-weight: 800; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-table .sps-cart-item__title a:is(:hover, :focus-visible) { color: var(--pl-plum); }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-table td.product-price { color: var(--pl-gray); font-weight: 600; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-table td.product-subtotal { color: var(--pl-plum); font-size: 16px; font-weight: 800; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-table a.remove.sps-cart-item__remove {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--pl-cream);
    color: var(--pl-gray);
    transition: all .25s ease;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-table a.remove.sps-cart-item__remove .sps-icon { width: 18px; height: 18px; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-table a.remove.sps-cart-item__remove:is(:hover, :focus-visible) { background: #C2433F; color: #FFFFFF; transform: rotate(90deg); }

/* Quantity. */
html body.sps-look-pliro.sps-has-header:not(#sps-x) .sps-qty {
    height: 44px;
    overflow: hidden;
    border: 1.5px solid var(--pl-line);
    border-radius: 12px;
    background: #FFFFFF;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .sps-qty .sps-qty__btn { width: 38px; height: 100%; border-radius: 0; color: var(--pl-plum); }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .sps-qty .sps-qty__btn:not(:disabled):is(:hover, :focus-visible) { background: var(--pl-plum); color: #FFFFFF; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-qty .quantity .qty { color: var(--pl-ink); font-weight: 800; }

/* Totals card with the moving top line. */
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart .cart_totals.sps-cart-summary {
    position: relative;
    overflow: hidden;
    padding: 26px 22px 22px;
    border: 1px solid var(--pl-cream);
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: var(--pl-shadow);
    animation: spsPlRise .6s ease .15s both;
}
html body.sps-look-pliro:not(#sps-x) .sps-cart .cart_totals.sps-cart-summary::before,
html body.sps-look-pliro:not(#sps-x) .sps-co .sps-co-summary::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--pl-plum), var(--pl-orange), var(--pl-peach), var(--pl-plum));
    background-size: 300% 100%;
    animation: spsPlGrad 6s linear infinite;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-summary .sps-cart-summary__box { padding: 0; border: 0; background: none; box-shadow: none; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-summary .sps-cart-summary__title {
    margin: 0 0 14px;
    padding: 0;
    background: none;
    color: var(--pl-ink);
    font-size: 18px;
    font-weight: 800;
    text-align: start;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-summary table.sps-cart-summary__table :is(th, td) {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px dashed var(--pl-line);
    background: none;
    font-size: 14px;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-summary table.sps-cart-summary__table tr.order-total :is(th, td) {
    padding-top: 16px;
    border-bottom: 0;
    background: none;
    color: var(--pl-ink);
    font-weight: 800;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-summary table.sps-cart-summary__table tr.order-total .amount { color: var(--pl-plum); font-size: 22px; }

/* Coupon. */
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-coupon input#coupon_code {
    height: 48px;
    border: 1.5px dashed var(--pl-peach);
    border-radius: 14px;
    background: #FFFFFF;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-coupon .sps-cart-btn {
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--pl-plum);
    color: #FFFFFF;
    font-weight: 800;
    transition: all .25s ease;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-coupon .sps-cart-btn:is(:hover, :focus-visible) { background: var(--pl-deep); transform: translateY(-2px); }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-btn--outline { border: 1.5px solid var(--pl-plum); border-radius: 12px; background: transparent; color: var(--pl-plum); }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-btn--outline:is(:hover, :focus-visible) { background: var(--pl-plum); color: #FFFFFF; }

/* Orange call to action with a passing shine. */
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .wc-proceed-to-checkout a.checkout-button,
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-empty .return-to-shop a.button,
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-place-bar {
    position: relative;
    overflow: hidden;
    min-height: 56px;
    border: 0;
    border-radius: 14px;
    background: var(--pl-cta);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 18px 34px -14px color-mix(in srgb, var(--pl-orange) 85%, transparent);
    transition: transform .25s ease, box-shadow .25s ease;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .wc-proceed-to-checkout a.checkout-button::after,
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-empty .return-to-shop a.button::after,
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-place-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100px;
    width: 70px;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
    animation: spsPlShine 3.4s ease-in-out 1s infinite;
    pointer-events: none;
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .wc-proceed-to-checkout a.checkout-button:is(:hover, :focus-visible),
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-empty .return-to-shop a.button:is(:hover, :focus-visible),
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-place-bar:hover {
    background: var(--pl-cta);
    box-shadow: 0 24px 40px -14px color-mix(in srgb, var(--pl-orange) 95%, transparent);
    transform: translateY(-3px);
}
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-continue { color: var(--pl-plum); }

/* Empty cart. */
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-empty {
    padding: 54px 20px 46px;
    border: 1px solid var(--pl-cream);
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: var(--pl-shadow);
    text-align: center;
    animation: spsPlRise .6s ease both;
}
html body.sps-look-pliro:not(#sps-x) .sps-cart-empty__icon { animation: spsPlFloat 4.5s ease-in-out infinite; }
html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart-empty .cart-empty.woocommerce-info { border: 0; background: none; color: var(--pl-ink); font-weight: 800; box-shadow: none; animation: none; }

/* Trust strip under the cart. */
html body.sps-look-pliro:not(#sps-x) .sps-cart-trust { border-radius: 22px; background: #FFFFFF; box-shadow: var(--pl-shadow); }
html body.sps-look-pliro:not(#sps-x) .sps-cart-trust__item .sps-icon { color: var(--pl-plum); }

@media (min-width: 1025px) {
    html body.sps-look-pliro:not(#sps-x) .sps-cart .cart-collaterals { position: sticky; top: 120px; align-self: start; }
}

/* ---------------------------------------------------------------------
 * 4) Checkout
 * ------------------------------------------------------------------- */
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-card,
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-billing > .sps-co-card {
    padding: 28px 24px;
    border: 1px solid var(--pl-cream);
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: var(--pl-shadow);
    animation: spsPlRise .55s ease both;
}
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-summary {
    position: relative;
    overflow: hidden;
    padding: 26px 22px 22px;
    background: linear-gradient(180deg, #FFFFFF, var(--pl-white));
    animation-delay: .12s;
}
@media (min-width: 1025px) {
    html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co__aside { position: sticky; top: 120px; }
}

/* Headings with the orange-to-plum bar. */
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pl-ink);
    font-size: 19px;
    font-weight: 800;
}
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-card__title .sps-icon { display: none; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-card__title::before {
    content: "";
    flex: none;
    width: 6px;
    height: 24px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--pl-orange), var(--pl-plum));
}

/* Fields. */
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row label { margin-bottom: 6px; color: var(--pl-ink); font-size: 13px; font-weight: 700; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row label .optional { color: var(--pl-gray); font-weight: 400; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co abbr.required { color: var(--pl-orange); text-decoration: none; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row :is(input.input-text, textarea, select),
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .select2-container--default .select2-selection--single {
    min-height: 50px;
    padding-inline: 16px;
    border: 1.5px solid var(--pl-line);
    border-radius: 14px;
    background: var(--pl-white);
    color: var(--pl-ink);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row textarea { min-height: 120px; padding-block: 14px; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row :is(input.input-text, textarea, select):hover { border-color: var(--pl-peach); }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row :is(input.input-text, textarea, select):focus,
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .select2-container--open .select2-selection--single {
    border-color: var(--pl-plum);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(99, 32, 79, .12);
    outline: 0;
}
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row.woocommerce-invalid :is(input.input-text, select, .select2-selection) { border-color: #C2433F; box-shadow: 0 0 0 4px rgba(194, 67, 63, .1); }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row.woocommerce-validated input.input-text { border-color: #7CB58A; }

/* Shipping and payment choices. */
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-option__label {
    border: 1.5px solid var(--pl-line);
    border-radius: 16px;
    background: #FFFFFF;
    transition: border-color .25s ease, box-shadow .25s ease;
}
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-option__label:hover { border-color: var(--pl-peach); }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-option > input:checked + .sps-co-option__label,
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-option > input[type="hidden"] + .sps-co-option__label {
    padding: 11px 15px;
    border: 2px solid var(--pl-plum);
    background: linear-gradient(135deg, #FFFFFF, #FBEEE8);
    box-shadow: 0 14px 30px -18px rgba(99, 32, 79, .7);
}
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co #payment div.payment_box { border-radius: 12px; background: var(--pl-cream); color: var(--pl-gray); font-size: 12.5px; line-height: 2; }

/* Order table. */
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co table.shop_table :is(th, td) { border: 0; border-bottom: 1px dashed var(--pl-line); background: transparent; color: var(--pl-ink); }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co table.shop_table tfoot th { color: var(--pl-gray); font-weight: 700; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co table.shop_table .order-total :is(th, td) { padding-top: 18px; border-bottom: 0; color: var(--pl-ink); font-weight: 800; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co table.shop_table .order-total .amount { color: var(--pl-plum); font-size: 22px; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-item__thumb img { border-radius: 12px; background: linear-gradient(145deg, var(--pl-cream), #FFFFFF); }

/* Pay button (the bar holds #place_order and the total). */
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co #payment #place_order { position: relative; z-index: 1; background: transparent; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co #payment #place_order:is(:disabled, .disabled) { opacity: .55; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .woocommerce-privacy-policy-text a { color: var(--pl-plum); font-weight: 700; }
html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .woocommerce-terms-and-conditions-wrapper { color: var(--pl-gray); font-size: 12px; line-height: 2; }

/* Loading overlay. */
html body.sps-look-pliro:not(#sps-x) .blockUI.blockOverlay {
    border-radius: 22px;
    background: rgba(255, 249, 245, .72) !important; /* WooCommerce sets it inline. */
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

/* ---------------------------------------------------------------------
 * 5) Mobile
 * ------------------------------------------------------------------- */
@media (max-width: 768px) {
    html body.sps-look-pliro:not(#sps-x) .sps-hero { margin-bottom: 24px; padding: 22px 12px; border-radius: 0 0 24px 24px; }
    html body.sps-look-pliro:not(#sps-x) .sps-hero__title { font-size: 24px; }
    html body.sps-look-pliro:not(#sps-x) .sps-hero__step :is(a, span) { padding: 6px 12px; font-size: 12px; }
    html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .sps-co-card,
    html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce .sps-cart .cart_totals.sps-cart-summary { padding: 20px 16px; border-radius: 20px; }
    /* 16px inputs: no zoom on iPhone. */
    html body.sps-look-pliro.sps-checkout-page:not(#sps-x) .sps-co .form-row :is(input.input-text, textarea, select) { font-size: 16px; }
}
@media (max-width: 699px) {
    /* Cart rows are cards on mobile (theme layout); PLIRO frame and radius. */
    html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table { margin: 0; border-spacing: 0; }
    html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item {
        margin-bottom: 14px;
        border: 1px solid var(--pl-cream);
        border-radius: 18px;
        background: #FFFFFF;
        box-shadow: 0 14px 30px -22px rgba(66, 21, 54, .5);
    }
    html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item td,
    html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table tbody tr.cart_item td:is(:first-child, :last-child) {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    html body.sps-look-pliro.sps-has-header:not(#sps-x) .woocommerce table.sps-cart-table .product-thumbnail img { width: 84px; height: 84px; }
}

@keyframes spsPlGrad { 0%, 100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
@keyframes spsPlFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, 18px); } }
@keyframes spsPlRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes spsPlShine { 0% { left: -100px; } 55%, 100% { left: 120%; } }

@media (prefers-reduced-motion: reduce) {
    html body.sps-look-pliro:not(#sps-x) *,
    html body.sps-look-pliro:not(#sps-x) *::before,
    html body.sps-look-pliro:not(#sps-x) *::after { animation: none !important; transition-duration: .01ms !important; }
}
