:root {
    --wolf-primary: #ec003f;
    --wolf-primary-hover: #ca0036;
    --wolf-text: #111827;
    --wolf-muted: #6b7280;
    --wolf-border: #e5e7eb;
    --wolf-background: #f7f7f9;
    --wolf-success: #16803d;
    --wolf-radius: 18px;
    --wolf-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.woocommerce-cart .site-content,
.woocommerce-cart .content-area,
.woocommerce-cart .container {
    overflow: visible;
}

.wolf-cart-page {
    width: min(100% - 32px, 1200px);
    margin: 40px auto 80px;
    color: var(--wolf-text);
}

.wolf-cart-page,
.wolf-cart-page * {
    box-sizing: border-box;
}

.wolf-cart-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.wolf-cart-header__icon {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #fff;
    background: var(--wolf-primary);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(236, 0, 63, 0.22);
}

.wolf-cart-header h1 {
    margin: 0 0 4px;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 750;
    line-height: 1.15;
    text-transform: none;
}

.wolf-cart-header p {
    margin: 0;
    color: var(--wolf-muted);
    font-size: 15px;
}

.wolf-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.wolf-cart-main {
    min-width: 0;
}

.wolf-cart-products {
    display: grid;
    gap: 14px;
}

.wolf-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--wolf-border);
    border-radius: var(--wolf-radius);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.wolf-cart-item:hover {
    border-color: #d8dbe2;
    box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
}

.wolf-cart-item.is-updating {
    opacity: 0.58;
}

.wolf-cart-item.is-removing {
    opacity: 0;
    transform: translateX(-12px);
}

.wolf-cart-item__image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 132px;
    padding: 0px;
    background: var(--wolf-background);
    border-radius: 14px;
}

.wolf-cart-item__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.wolf-cart-item__image img {
    display: block;
    width: 100%;
    height: 132px;
    margin: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.wolf-cart-item__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.wolf-cart-item__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.wolf-cart-item__title {
    margin: 0px;
    font-size: 16px !important;
    font-weight: 650;
    line-height: 1.45;
    text-transform: none;
}

.wolf-cart-item__title a {
    color: var(--wolf-text);
    text-decoration: none;
}

.wolf-cart-item__title a:hover {
    color: var(--wolf-primary);
}

.wolf-cart-item__meta {
    color: var(--wolf-muted);
    font-size: 13px;
}

.wolf-cart-item__meta dl,
.wolf-cart-item__meta p {
    margin: 0;
}

.wolf-cart-item__meta dt,
.wolf-cart-item__meta dd {
    display: inline;
    margin: 0 5px 0 0;
}

.wolf-cart-item__remove {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: #9ca3af;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
    background: #f5f5f6;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.wolf-cart-item__remove:hover {
    color: #fff;
    background: var(--wolf-primary);
    transform: rotate(5deg);
}

.wolf-cart-item__footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: end;
    padding-top: 10px;
    border-top: 1px solid #f0f1f3;
}

.wolf-cart-item__unit-price,
.wolf-cart-item__subtotal {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wolf-cart-item__subtotal {
    text-align: right;
}

.wolf-cart-item__unit-price span,
.wolf-cart-item__subtotal span {
    color: var(--wolf-muted);
    font-size: 12px;
}

.wolf-cart-item__unit-price strong,
.wolf-cart-item__subtotal strong {
    color: var(--wolf-text);
    font-size: 16px;
    font-weight: 700;
}

.wolf-cart-item__subtotal strong {
    color: var(--wolf-primary);
}

.wolf-quantity {
    display: grid;
    grid-template-columns: 38px 46px 38px;
    overflow: hidden;
    height: 42px;
    background: #f4f4f5;
    border: 1px solid var(--wolf-border);
    border-radius: 12px;
}

.wolf-quantity__button {
    display: grid;
    width: 38px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: var(--wolf-text);
    font-size: 19px;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.wolf-quantity__button:hover {
    color: var(--wolf-primary);
    background: #fff;
}

.wolf-quantity__input {
    width: 46px !important;
    height: 40px !important;
    min-height: 0 !important;
    padding: 0 !important;
    color: var(--wolf-text) !important;
    font-size: 15px !important;
    font-weight: 700;
    text-align: center;
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid var(--wolf-border) !important;
    border-left: 1px solid var(--wolf-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    appearance: textfield;
}

.wolf-quantity__input::-webkit-outer-spin-button,
.wolf-quantity__input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

/* Resumo */

.wolf-cart-sidebar {
    position: sticky;
    top: 110px;
}

.wolf-summary-card {
    overflow: hidden;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--wolf-border);
    border-radius: var(--wolf-radius);
    box-shadow: var(--wolf-shadow);
}

.wolf-summary-card h2 {
    margin: 0 0 22px;
    font-size: 21px;
    font-weight: 750;
    text-transform: none;
}

.wolf-summary-card__rows {
    display: grid;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--wolf-border);
}

.wolf-summary-card__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--wolf-muted);
    font-size: 14px;
}

.wolf-summary-card__row strong {
    color: var(--wolf-text);
    font-weight: 600;
    text-align: right;
}

.wolf-summary-card__row--coupon {
    color: var(--wolf-success);
}

.wolf-summary-card__total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}

.wolf-summary-card__total > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wolf-summary-card__total span {
    font-size: 17px;
    font-weight: 750;
}

.wolf-summary-card__total small {
    color: var(--wolf-muted);
    font-size: 11px;
}

.wolf-summary-card__total > strong {
    color: var(--wolf-text);
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.wolf-summary-card__pix {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px;
    color: var(--wolf-success);
    background: #effaf2;
    border: 1px solid #d4f1dc;
    border-radius: 12px;
}

.wolf-summary-card__pix-icon {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #fff;
    font-size: 12px;
    background: var(--wolf-success);
    border-radius: 50%;
}

.wolf-summary-card__pix div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wolf-summary-card__pix strong {
    font-size: 13px;
}

.wolf-summary-card__pix span:last-child {
    color: #35784a;
    font-size: 11px;
    line-height: 1.4;
}

.wolf-checkout-button,
.wolf-continue-button,
.wolf-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 13px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.wolf-checkout-button {
    color: #fff !important;
    background: var(--wolf-primary);
    box-shadow: 0 10px 22px rgba(236, 0, 63, 0.22);
}

.wolf-checkout-button:hover {
    color: #fff !important;
    background: var(--wolf-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(236, 0, 63, 0.28);
}

.wolf-checkout-button span {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.wolf-checkout-button:hover span {
    transform: translateX(3px);
}

.wolf-continue-button {
    min-height: 46px;
    margin-top: 9px;
    color: var(--wolf-text) !important;
    background: transparent;
    border: 1px solid var(--wolf-border);
}

.wolf-continue-button:hover {
    color: var(--wolf-primary) !important;
    border-color: var(--wolf-primary);
}

.wolf-secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--wolf-muted);
    font-size: 11px;
}

/* Produtos recomendados */

.wolf-recommendations {
    margin-top: 44px;
}

.wolf-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.wolf-section-heading__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--wolf-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wolf-section-heading h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 750;
    text-transform: none;
}

.wolf-slider-controls {
    display: flex;
    gap: 8px;
}

.wolf-slider-button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: var(--wolf-text);
    background: #fff;
    border: 1px solid var(--wolf-border);
    border-radius: 50%;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.wolf-slider-button:hover:not(:disabled) {
    color: #fff;
    background: var(--wolf-primary);
    border-color: var(--wolf-primary);
}

.wolf-slider-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.wolf-products-slider {
    display: grid;
    grid-auto-columns: minmax(215px, 29%);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.wolf-product-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    max-width: 210px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--wolf-border);
    border-radius: 16px;
    scroll-snap-align: start;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.wolf-product-card:hover {
    border-color: #d6d8dd;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.wolf-product-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    height: 180px;
    padding: 0px;
    background: var(--wolf-background);
}

.wolf-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.wolf-product-card:hover .wolf-product-card__image img {
    transform: scale(1.04);
}

.wolf-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--wolf-primary);
    border-radius: 20px;
}

.wolf-product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
}

.wolf-product-card h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wolf-product-card h3 a {
    color: var(--wolf-text);
    text-decoration: none;
}

.wolf-product-card__price {
    margin-bottom: 14px;
    color: var(--wolf-primary);
    font-size: 17px;
    font-weight: 800;
}

.wolf-product-card__price del {
    margin-right: 5px;
    color: var(--wolf-muted);
    font-size: 12px;
    font-weight: 400;
}

.wolf-product-card__price ins {
    text-decoration: none;
}

.wolf-product-card__button {
    display: flex !important;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: auto !important;
    padding: 10px 14px !important;
    color: var(--wolf-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: #f2f2f4 !important;
    border: 0 !important;
    border-radius: 10px !important;
}

.wolf-product-card__button:hover {
    color: #fff !important;
    background: var(--wolf-primary) !important;
}

/* Loading e mensagens */

.wolf-cart-loading {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(2px);
    transition:
        visibility 0.2s ease,
        opacity 0.2s ease;
    pointer-events: none;
}

.wolf-cart-loading.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.wolf-cart-loading__spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #ececf0;
    border-top-color: var(--wolf-primary);
    border-radius: 50%;
    animation: wolf-cart-spin 0.75s linear infinite;
}

@keyframes wolf-cart-spin {
    to {
        transform: rotate(360deg);
    }
}

.wolf-cart-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    color: #991b1b;
    font-size: 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

.wolf-empty-cart {
    padding: 70px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--wolf-border);
    border-radius: var(--wolf-radius);
}

.wolf-empty-cart__icon {
    margin-bottom: 12px;
    font-size: 46px;
}

.wolf-empty-cart h2 {
    margin: 0 0 8px;
    font-size: 24px;
    text-transform: none;
}

.wolf-empty-cart p {
    margin: 0 0 22px;
    color: var(--wolf-muted);
}

.wolf-empty-cart .wolf-button {
    width: fit-content;
    min-width: 190px;
    margin: auto;
    color: #fff !important;
    background: var(--wolf-primary);
}

/* Tablet */

@media (max-width: 980px) {
    .wolf-cart-layout {
        grid-template-columns: 1fr;
    }

    .wolf-cart-sidebar {
        position: static;
    }

    .wolf-products-slider {
        grid-auto-columns: minmax(220px, 42%);
    }
}

/* Celular */

@media (max-width: 640px) {
    .wolf-cart-page {
        width: min(100% - 24px, 1200px);
        margin-top: 24px;
        margin-bottom: 50px;
    }

    .wolf-cart-header {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .wolf-cart-header__icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .wolf-cart-header h1 {
        font-size: 24px;
    }

    .wolf-cart-header p {
        font-size: 13px;
    }

    .wolf-cart-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 13px;
        padding: 14px;
        border-radius: 15px;
    }

    .wolf-cart-item__image {
        min-height: 102px;
        padding: 5px;
    }

    .wolf-cart-item__image img {
        height: 102px;
    }

    .wolf-cart-item__title {
        margin-top: 2px;
        padding-right: 1px;
        font-size: 14px;
        line-height: 1.42;
    }

    .wolf-cart-item__remove {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        font-size: 22px;
    }

    .wolf-cart-item__heading {
        padding-right: 25px;
    }

    .wolf-cart-item__footer {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .wolf-cart-item__unit-price {
        display: none;
    }

    .wolf-cart-item__subtotal {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
    }

    .wolf-quantity {
        grid-column: 2;
        grid-row: 1;
    }

    .wolf-summary-card {
        padding: 20px;
    }

    .wolf-section-heading h2 {
        font-size: 21px;
    }

    .wolf-products-slider {
        grid-auto-columns: 60%;
    }

    .wolf-product-card__image {
        height: 190px;
    }
}

@media (max-width: 380px) {
    .wolf-cart-item {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .wolf-cart-item__image,
    .wolf-cart-item__image img {
        min-height: 88px;
        height: 88px;
    }

    .wolf-quantity {
        grid-template-columns: 34px 40px 34px;
    }

    .wolf-quantity__button {
        width: 34px;
    }

    .wolf-quantity__input {
        width: 40px !important;
    }
}

.wolf-cart-page,
.wolf-cart-page button,
.wolf-cart-page input,
.wolf-cart-page select,
.wolf-cart-page textarea,
.wolf-cart-page a {
    font-family: "Montserrat", sans-serif !important;
}

/*
|--------------------------------------------------------------------------
| Total no Pix — resumo minimalista
|--------------------------------------------------------------------------
*/

.wolf-summary-card__payment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
    border-top: 1px solid #e6e8ec;
}

.wolf-summary-card__payment-label {
    margin-bottom: 5px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.wolf-summary-card__original-total,
.wolf-summary-card__original-total .amount {
    margin-bottom: 1px;
    color: #9299a6;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration-thickness: 1px;
}

.wolf-summary-card__pix-total,
.wolf-summary-card__pix-total .amount {
    color: #111827;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.15;
}

.wolf-summary-card__payment-method {
    margin-top: 3px;
    color: #078542;
    font-size: 12px;
    font-weight: 600;
}

.wolf-summary-card__shipping-note {
    margin-top: 4px;
    color: #8b94a5;
    font-size: 11px;
    font-weight: 400;
}

/*
|--------------------------------------------------------------------------
| Cashback enxuto
|--------------------------------------------------------------------------
*/

.wolf-summary-card__cashback-minimal {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 9px 11px;

    color: #745c08;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;

    background: #fff9e8;
    border: 1px solid #f1e2aa;
    border-radius: 9px;
}

.wolf-summary-card__cashback-minimal-icon {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;

    color: #9b7606;
    font-size: 22px;
    font-weight: 700;

    background: #fff;
    border-radius: 50%;
}

.wolf-summary-card__cashback-minimal > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.wolf-summary-card__cashback-minimal strong,
.wolf-summary-card__cashback-minimal strong .amount {
    color: #806207;
    font-weight: 750;
}

.wolf-summary-card__cashback-minimal small {
    display: inline-grid;
    min-width: 28px;
    height: 19px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0 6px;

    color: #806100;
    font-size: 12px;
    font-weight: 700;

    background: #fff1b8;
    border-radius: 999px;
}

@media (max-width: 767px) {
    .wolf-summary-card__payment {
        padding: 16px 0;
    }

    .wolf-summary-card__pix-total,
    .wolf-summary-card__pix-total .amount {
        font-size: 23px;
    }
}

.wolf-summary-card__payment {
    display: flex;
    flex-direction: column;
    padding: 18px 0;
    border-top: 1px solid #e6e8ec;
}

.wolf-summary-card__payment-top {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wolf-summary-card__payment-label {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.wolf-summary-card__payment-values {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.wolf-summary-card__original-total,
.wolf-summary-card__original-total .amount {
    color: #9299a6;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration-thickness: 1px;
}

.wolf-summary-card__pix-total,
.wolf-summary-card__pix-total .amount {
    margin-top: 2px;
    color: #111827;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.15;
}

.wolf-summary-card__payment-method {
    margin-top: 5px;
    color: #078542;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.wolf-summary-card__shipping-note {
    margin-top: 4px;
    color: #8b94a5;
    font-size: 11px;
    font-weight: 400;
    text-align: right;
}