/* Commerce polish: loja, produto e carrinho */

/* Remove o hero genérico do Blocksy nas telas do catálogo. */
body.post-type-archive-product .hero-section,
body.tax-product_cat .hero-section,
body.tax-product_tag .hero-section,
body.single-product .hero-section,
body.woocommerce-cart .hero-section,
body.woocommerce-checkout .hero-section,
body.post-type-archive-product .page-header,
body.single-product .page-header,
body.woocommerce-cart .page-header,
body.woocommerce-shop .entry-header,
body.post-type-archive-product .entry-header,
body.woocommerce-cart .entry-header {
    display: none !important;
}

body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
    padding-top: 34px !important;
}

body.post-type-archive-product [data-content="normal"],
body.tax-product_cat [data-content="normal"],
body.tax-product_tag [data-content="normal"],
body.woocommerce-cart [data-content="normal"],
body.single-product [data-content="normal"] {
    --content-spacing: 0px;
}

/* Loja */
.woocommerce-shop .ct-container,
.tax-product_cat .ct-container {
    width: min(1280px, calc(100% - 40px));
    max-width: none;
}

.cal-shop-intro {
    margin-top: 0;
    padding: 38px 40px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 10%, rgba(201,0,0,.06), transparent 28%),
        linear-gradient(135deg, #f7f7f5 0%, #fff 72%);
}

.cal-shop-intro-copy {
    max-width: 760px;
}

.cal-shop-intro h1 {
    font-size: clamp(36px, 4vw, 56px);
}

.cal-shop-intro p {
    max-width: 720px;
    font-size: 14px;
}

.cal-shop-layout {
    grid-template-columns: 265px minmax(0, 1fr);
    gap: 28px;
}

.cal-shop-sidebar {
    top: 86px;
}

.cal-shop-filter-card,
.cal-shop-help-card {
    border-radius: 16px;
}

.cal-shop-results {
    min-width: 0;
}

.cal-shop-results .woocommerce-result-count {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin: 0 0 18px;
    color: #6a6a6a;
    font-size: 12px;
}

.cal-shop-results .woocommerce-ordering {
    float: right;
    margin: 0 0 18px 14px;
}

.cal-shop-results .woocommerce-ordering select {
    min-width: 220px;
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #fff;
    color: #343434;
    font: 600 12px/1.2 Poppins, Arial, sans-serif;
}

.cal-shop-results ul.products {
    clear: both;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.cal-shop-results ul.products li.product {
    min-width: 0;
    border-radius: 16px;
}

.cal-shop-results ul.products li.product .ct-media-container,
.cal-shop-results ul.products li.product > a:first-child,
.cal-shop-results ul.products li.product img {
    width: 100%;
}

.cal-shop-results ul.products li.product .ct-media-container {
    overflow: hidden;
    background: #fafafa;
}

.cal-shop-results ul.products li.product img {
    padding: 14px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform .3s ease;
}

.cal-shop-results ul.products li.product:hover img {
    transform: scale(1.035);
}

.cal-shop-results ul.products li.product .woocommerce-loop-product__title {
    min-height: 44px;
    margin: 18px 16px 8px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.cal-shop-results ul.products li.product .button,
.cal-product-whatsapp-link {
    width: calc(100% - 32px);
    margin-inline: 16px !important;
}

.cal-shop-results ul.products li.product .button {
    margin-top: auto !important;
    min-height: 44px;
}

.cal-product-whatsapp-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Produto individual */
.cal-product-page {
    padding: 34px 0 110px;
    background: #fff;
    color: #171717;
    font-family: Poppins, Arial, sans-serif;
}

.cal-product-container {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.cal-product-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 28px;
    color: #858585;
    font-size: 11px;
    font-weight: 600;
}

.cal-product-breadcrumbs a {
    color: #555 !important;
    text-decoration: none;
}

.cal-product-breadcrumbs a:hover {
    color: #c90000 !important;
}

.cal-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 60px;
    align-items: start;
}

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

.cal-product-main-image {
    display: grid;
    place-items: center;
    min-height: 560px;
    padding: 38px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    background: #fafafa;
    overflow: hidden;
}

.cal-product-main-image a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.cal-product-main-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

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

.cal-product-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 7px;
    border: 1px solid #e0e0e0;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cal-product-thumb:hover,
.cal-product-thumb.is-active {
    border-color: #c90000;
    box-shadow: 0 0 0 2px rgba(201,0,0,.07);
}

.cal-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cal-product-summary {
    position: sticky;
    top: 92px;
    padding-top: 10px;
}

.cal-product-labels {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cal-product-labels span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f3f3f1;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cal-product-labels .cal-product-brand {
    background: #171717;
    color: #fff;
}

.cal-product-summary h1 {
    margin: 0;
    color: #151515;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 700;
    letter-spacing: -.048em;
    line-height: 1.04;
}

.cal-product-short {
    margin-top: 22px;
    color: #626262;
    font-size: 14px;
    line-height: 1.75;
}

.cal-product-short > :first-child {
    margin-top: 0;
}

.cal-product-short > :last-child {
    margin-bottom: 0;
}

.cal-product-chips {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.cal-product-chips span {
    padding: 7px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #585858;
    font-size: 10px;
    font-weight: 600;
}

.cal-product-order-box {
    margin-top: 30px;
    padding: 24px;
    border-radius: 16px;
    background: #f5f5f3;
}

.cal-product-order-copy > span {
    display: block;
    color: #c90000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cal-product-order-copy > strong {
    display: block;
    margin-top: 5px;
    color: #171717;
    font-size: 17px;
    line-height: 1.35;
}

.cal-product-order-copy > p {
    margin: 7px 0 0;
    color: #707070;
    font-size: 11px;
    line-height: 1.6;
}

.cal-product-cart-form {
    display: grid !important;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    margin: 20px 0 0 !important;
}

.cal-product-cart-form label {
    display: grid;
    gap: 6px;
}

.cal-product-cart-form label > span {
    color: #666;
    font-size: 10px;
    font-weight: 700;
}

.cal-product-cart-form .quantity {
    width: 100% !important;
}

.cal-product-cart-form .qty {
    width: 100% !important;
    height: 46px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 9px !important;
    background: #fff !important;
    text-align: center;
}

.cal-product-add-button {
    align-self: end;
    min-height: 46px !important;
    border-radius: 9px !important;
    background: #c90000 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.cal-product-add-button:hover {
    background: #a80000 !important;
}

.cal-product-whatsapp-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 10px;
    border: 1px solid #d7d7d7;
    border-radius: 9px;
    background: #fff;
    color: #202020 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.cal-product-whatsapp-primary:hover {
    border-color: #c90000;
    color: #c90000 !important;
}

.cal-product-meta {
    display: grid;
    gap: 0;
    margin: 24px 0 0;
    border-top: 1px solid rgba(0,0,0,.08);
}

.cal-product-meta > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.cal-product-meta dt {
    color: #8a8a8a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cal-product-meta dd {
    margin: 0;
    color: #2f2f2f;
    font-size: 12px;
    font-weight: 600;
}

.cal-product-details {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
    gap: 48px;
    align-items: start;
    margin-top: 84px;
    padding-top: 64px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.cal-product-details-main > h2,
.cal-product-spec-card > h2,
.cal-product-section-heading h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.cal-product-description {
    margin-top: 28px;
    color: #484848;
    font-size: 14px;
    line-height: 1.8;
}

.cal-product-description h2,
.cal-product-description h3,
.cal-product-description h4 {
    margin: 34px 0 12px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -.02em;
}

.cal-product-description ul,
.cal-product-description ol {
    padding-left: 20px;
}

.cal-product-description table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.cal-product-description td,
.cal-product-description th {
    padding: 12px 14px;
    border: 1px solid #e1e1e1;
    text-align: left;
}

.cal-product-description blockquote {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 3px solid #c90000;
    background: #fafafa;
}

.cal-product-spec-card {
    position: sticky;
    top: 92px;
    padding: 26px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.cal-product-spec-card > h2 {
    font-size: 22px;
}

.cal-product-spec-card > p {
    color: #707070;
    font-size: 12px;
    line-height: 1.65;
}

.cal-product-spec-card dl {
    margin: 18px 0 0;
}

.cal-product-spec-card dl > div {
    padding: 11px 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}

.cal-product-spec-card dt {
    color: #888;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cal-product-spec-card dd {
    margin: 3px 0 0;
    color: #262626;
    font-size: 12px;
    font-weight: 600;
}

.cal-product-spec-card > a {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    background: #171717;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.cal-product-spec-card > small {
    display: block;
    margin-top: 12px;
    color: #8a8a8a;
    font-size: 9px;
    line-height: 1.5;
}

.cal-product-related {
    margin-top: 86px;
    padding-top: 58px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.cal-product-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.cal-product-section-heading > a {
    color: #333 !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.cal-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.cal-related-card {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
}

.cal-related-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 18px;
    background: #fafafa;
}

.cal-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cal-related-copy {
    padding: 17px;
}

.cal-related-copy > span {
    color: #c90000;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cal-related-copy h3 {
    margin: 7px 0 16px;
    font-size: 14px;
    line-height: 1.45;
}

.cal-related-copy h3 a {
    color: #171717 !important;
    text-decoration: none;
}

.cal-related-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.cal-related-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.cal-related-view {
    background: #c90000;
    color: #fff !important;
}

.cal-related-whatsapp {
    border: 1px solid #dedede;
    color: #222 !important;
}

/* Carrinho */
body.woocommerce-cart .site-main {
    padding-top: 34px !important;
    padding-bottom: 86px !important;
}

body.woocommerce-cart .ct-container {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
}

.cal-cart-page {
    font-family: Poppins, Arial, sans-serif;
}

.cal-cart-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
    padding: 34px 38px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 10%, rgba(201,0,0,.06), transparent 25%),
        #f7f7f5;
}

.cal-cart-page-heading h1 {
    margin: 0;
    color: #161616;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.cal-cart-page-heading p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.cal-cart-step {
    flex: 0 0 auto;
    min-width: 170px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #181818;
    color: #fff;
}

.cal-cart-step span {
    display: block;
    color: #ff955d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cal-cart-step strong {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.cal-cart-form {
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.cal-cart-list {
    display: grid;
    gap: 12px;
}

.cal-cart-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 140px 72px;
    gap: 22px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: #fff;
}

.cal-cart-item-image {
    display: grid;
    place-items: center;
    width: 120px;
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: 11px;
    background: #fafafa;
    overflow: hidden;
}

.cal-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cal-cart-item-copy {
    min-width: 0;
}

.cal-cart-item-category {
    color: #c90000;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cal-cart-item-copy h2 {
    margin: 5px 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.cal-cart-item-copy h2 a {
    color: #202020 !important;
    text-decoration: none;
}

.cal-cart-item-copy .variation {
    margin: 7px 0;
    font-size: 10px;
}

.cal-cart-item-whatsapp {
    color: #646464 !important;
    font-size: 10px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cal-cart-item-qty {
    display: grid;
    gap: 7px;
}

.cal-cart-item-qty label {
    color: #777;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cal-cart-item-qty .quantity {
    width: 100% !important;
}

.cal-cart-item-qty .qty {
    width: 100% !important;
    height: 44px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px !important;
    text-align: center;
}

.cal-cart-item-remove {
    text-align: right;
}

.cal-cart-item-remove .remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 34px !important;
    padding: 0 10px !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 8px !important;
    color: #777 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.cal-cart-item-remove .remove:hover {
    border-color: #c90000 !important;
    background: #fff !important;
    color: #c90000 !important;
}

.cal-cart-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 0 !important;
    background: transparent !important;
}

.cal-cart-form-actions > a {
    color: #454545 !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.cal-cart-form-actions .button {
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    background: #eeeeec !important;
    color: #222 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.cal-cart-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
    align-items: center;
    margin-top: 34px;
    padding: 34px 38px;
    border-radius: 18px;
    background: #181818;
    color: #fff;
}

.cal-cart-summary .cal-catalog-eyebrow {
    color: #ff955d;
}

.cal-cart-summary h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.cal-cart-summary p {
    max-width: 680px;
    margin: 10px 0 0;
    color: #c8c8c8;
    font-size: 12px;
    line-height: 1.65;
}

.cal-cart-summary ul {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.cal-cart-summary li {
    position: relative;
    padding-left: 14px;
    color: #e7e7e7;
    font-size: 10px;
    font-weight: 600;
}

.cal-cart-summary li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff955d;
}

.cal-cart-summary-action {
    display: grid;
    gap: 14px;
}

.cal-cart-summary-action > div {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.cal-cart-summary-action span {
    color: #aaa;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.cal-cart-summary-action strong {
    font-size: 34px;
    line-height: 1;
}

.cal-cart-summary-action > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 9px;
    background: #c90000;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.cal-cart-summary-action > a:hover {
    background: #a80000;
}

@media (max-width: 1080px) {
    .cal-product-hero {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }

    .cal-product-main-image {
        min-height: 470px;
    }

    .cal-product-details {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
        gap: 30px;
    }

    .cal-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cal-cart-item {
        grid-template-columns: 100px minmax(0, 1fr) 120px 70px;
        gap: 16px;
    }

    .cal-cart-item-image {
        width: 100px;
    }
}

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

    .cal-shop-sidebar,
    .cal-product-summary,
    .cal-product-spec-card {
        position: static;
    }

    .cal-shop-sidebar {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .cal-shop-help-card {
        grid-column: 1 / -1;
    }

    .cal-product-hero,
    .cal-product-details {
        grid-template-columns: 1fr;
    }

    .cal-product-summary {
        padding-top: 0;
    }

    .cal-product-main-image {
        min-height: 520px;
    }

    .cal-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cal-cart-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cal-cart-step {
        width: 100%;
    }

    .cal-cart-item {
        grid-template-columns: 90px minmax(0,1fr) 120px;
    }

    .cal-cart-item-image {
        width: 90px;
    }

    .cal-cart-item-remove {
        grid-column: 2 / -1;
        text-align: left;
        margin-top: -10px;
    }

    .cal-cart-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .woocommerce-shop .ct-container,
    .tax-product_cat .ct-container,
    .cal-product-container,
    body.woocommerce-cart .ct-container {
        width: min(100% - 28px, 1280px);
    }

    .cal-shop-intro,
    .cal-cart-page-heading {
        padding: 24px 22px;
    }

    .cal-shop-sidebar {
        grid-template-columns: 1fr;
    }

    .cal-shop-help-card {
        grid-column: auto;
    }

    .cal-shop-results .woocommerce-result-count,
    .cal-shop-results .woocommerce-ordering {
        float: none;
        display: block;
        width: 100%;
    }

    .cal-shop-results .woocommerce-ordering select {
        width: 100%;
    }

    .cal-shop-results ul.products {
        grid-template-columns: 1fr !important;
    }

    .cal-product-page {
        padding-top: 22px;
        padding-bottom: 72px;
    }

    .cal-product-breadcrumbs {
        margin-bottom: 18px;
    }

    .cal-product-main-image {
        min-height: 340px;
        padding: 22px;
        border-radius: 16px;
    }

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

    .cal-product-summary h1 {
        font-size: 36px;
    }

    .cal-product-cart-form {
        grid-template-columns: 1fr;
    }

    .cal-product-add-button {
        min-height: 48px !important;
    }

    .cal-product-details {
        margin-top: 58px;
        padding-top: 46px;
    }

    .cal-product-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .cal-cart-item {
        grid-template-columns: 72px minmax(0,1fr);
        gap: 13px;
        padding: 14px;
    }

    .cal-cart-item-image {
        width: 72px;
    }

    .cal-cart-item-qty,
    .cal-cart-item-remove {
        grid-column: 2;
    }

    .cal-cart-item-remove {
        margin-top: 0;
    }

    .cal-cart-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cal-cart-form-actions .button {
        width: 100%;
    }

    .cal-cart-summary {
        padding: 26px 22px;
    }

    .cal-cart-summary ul {
        display: grid;
        gap: 9px;
    }
}


/* MOBI CART POLISH V2 2026-09-29 */

/* Base da tela do carrinho */
body.woocommerce-cart {
    background: #fbfbfa;
}

body.woocommerce-cart .site-main {
    padding-top: 40px !important;
    padding-bottom: 96px !important;
}

body.woocommerce-cart .ct-container {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
}

body.woocommerce-cart .woocommerce {
    width: 100%;
    font-family: Poppins, Arial, sans-serif;
}

/* Avisos nativos do WooCommerce: item removido, atualizado, erro e informação */
body.woocommerce-cart .woocommerce-notices-wrapper {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

body.woocommerce-cart .woocommerce-notices-wrapper:empty {
    display: none;
    margin: 0;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 62px;
    margin: 0 !important;
    padding: 15px 18px 15px 58px !important;
    border: 1px solid rgba(18,18,18,.08) !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: #292929 !important;
    box-shadow: 0 8px 24px rgba(18,18,18,.045);
    font: 600 12px/1.55 Poppins, Arial, sans-serif !important;
    list-style: none !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
    position: absolute !important;
    left: 17px !important;
    top: 50% !important;
    display: grid !important;
    place-items: center;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    border-radius: 50%;
    transform: translateY(-50%);
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

body.woocommerce-cart .woocommerce-message {
    border-left: 3px solid #c90000 !important;
}

body.woocommerce-cart .woocommerce-message::before {
    content: "✓" !important;
    background: rgba(201,0,0,.08);
    color: #c90000 !important;
}

body.woocommerce-cart .woocommerce-info {
    border-left: 3px solid #252525 !important;
}

body.woocommerce-cart .woocommerce-info::before {
    content: "i" !important;
    background: #f1f1ef;
    color: #252525 !important;
}

body.woocommerce-cart .woocommerce-error {
    display: grid;
    gap: 7px;
    border-left: 3px solid #a90000 !important;
}

body.woocommerce-cart .woocommerce-error::before {
    content: "!" !important;
    background: rgba(169,0,0,.09);
    color: #a90000 !important;
}

body.woocommerce-cart .woocommerce-message a,
body.woocommerce-cart .woocommerce-info a,
body.woocommerce-cart .woocommerce-error a {
    color: #c90000 !important;
    font-weight: 700 !important;
    text-underline-offset: 3px;
}

body.woocommerce-cart .woocommerce-message .restore-item {
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid rgba(201,0,0,.18);
    border-radius: 8px;
    background: rgba(201,0,0,.035);
    color: #c90000 !important;
    font-size: 10px;
    font-weight: 800 !important;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.woocommerce-cart .woocommerce-message .restore-item:hover,
body.woocommerce-cart .woocommerce-message .restore-item:focus-visible {
    border-color: #c90000;
    background: #c90000;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Cabeçalho do pedido cheio */
body.woocommerce-cart .cal-cart-page-heading {
    margin-bottom: 22px;
    padding: 38px 40px;
    border-color: rgba(18,18,18,.07);
    border-radius: 20px;
    background:
        radial-gradient(circle at 91% 8%, rgba(201,0,0,.065), transparent 28%),
        linear-gradient(135deg, #f7f7f5 0%, #fff 78%);
    box-shadow: 0 14px 34px rgba(18,18,18,.035);
}

body.woocommerce-cart .cal-cart-page-heading h1 {
    font-size: clamp(36px,4vw,52px);
}

body.woocommerce-cart .cal-cart-page-heading p {
    max-width: 680px;
    color: #616161;
}

body.woocommerce-cart .cal-cart-step {
    min-width: 184px;
    padding: 17px 19px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    background: #181818;
    box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

body.woocommerce-cart .cal-cart-step span {
    color: #ff9561;
}

/* Itens do pedido */
body.woocommerce-cart .cal-cart-list {
    gap: 14px;
}

body.woocommerce-cart .cal-cart-item {
    padding: 20px;
    border-color: rgba(18,18,18,.075);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(18,18,18,.035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.woocommerce-cart .cal-cart-item:hover {
    border-color: rgba(201,0,0,.14);
    box-shadow: 0 14px 34px rgba(18,18,18,.055);
    transform: translateY(-1px);
}

body.woocommerce-cart .cal-cart-item-image {
    border: 1px solid rgba(18,18,18,.055);
    background: #fafafa;
}

body.woocommerce-cart .cal-cart-item-copy h2 {
    margin-top: 6px;
    font-size: 16px;
}

body.woocommerce-cart .cal-cart-item-whatsapp {
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
    color: #555 !important;
    text-decoration: none;
}

body.woocommerce-cart .cal-cart-item-whatsapp::before {
    content: "↗";
    margin-right: 5px;
    color: #c90000;
}

body.woocommerce-cart .cal-cart-item-whatsapp:hover,
body.woocommerce-cart .cal-cart-item-whatsapp:focus-visible {
    color: #c90000 !important;
}

body.woocommerce-cart .cal-cart-item-qty .qty {
    background: #fbfbfa !important;
}

body.woocommerce-cart .cal-cart-item-qty .qty:focus {
    border-color: rgba(201,0,0,.45) !important;
    box-shadow: 0 0 0 3px rgba(201,0,0,.07);
    outline: none;
}

body.woocommerce-cart .cal-cart-item-remove .remove {
    min-height: 36px !important;
    padding-inline: 12px !important;
    background: #fff !important;
}

/* Ações abaixo dos produtos */
body.woocommerce-cart .cal-cart-form-actions {
    margin-top: 20px;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(18,18,18,.065);
}

body.woocommerce-cart .cal-cart-form-actions > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #3c3c3c !important;
}

body.woocommerce-cart .cal-cart-form-actions > a:hover,
body.woocommerce-cart .cal-cart-form-actions > a:focus-visible {
    color: #c90000 !important;
}

body.woocommerce-cart .cal-cart-form-actions .button {
    min-height: 44px !important;
    padding-inline: 18px !important;
    border: 1px solid rgba(18,18,18,.075) !important;
    border-radius: 9px !important;
    background: #f1f1ef !important;
}

body.woocommerce-cart .cal-cart-form-actions .button:hover,
body.woocommerce-cart .cal-cart-form-actions .button:focus-visible {
    border-color: rgba(201,0,0,.2) !important;
    background: #fff !important;
    color: #c90000 !important;
}

/* Resumo / chamada final */
body.woocommerce-cart .cal-cart-summary {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    padding: 38px 40px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 10%, rgba(201,0,0,.22), transparent 30%),
        #181818;
    box-shadow: 0 22px 48px rgba(18,18,18,.12);
}

body.woocommerce-cart .cal-cart-summary::after {
    content: "";
    position: absolute;
    right: -85px;
    bottom: -105px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 50%;
    pointer-events: none;
}

body.woocommerce-cart .cal-cart-summary > * {
    position: relative;
    z-index: 1;
}

body.woocommerce-cart .cal-cart-summary-action > a {
    min-height: 52px;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(201,0,0,.18);
}

/* Carrinho vazio: estado completo, não apenas uma frase solta */
body.woocommerce-cart .wc-empty-cart-message {
    margin: 0 !important;
}

body.woocommerce-cart .wc-empty-cart-message .cart-empty.woocommerce-info {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 270px;
    padding: 92px 34px 38px !important;
    border: 1px solid rgba(18,18,18,.075) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(201,0,0,.055), transparent 30%),
        #fff !important;
    box-shadow: 0 16px 42px rgba(18,18,18,.045);
    color: #181818 !important;
    font-size: clamp(22px,2.5vw,30px) !important;
    font-weight: 700 !important;
    letter-spacing: -.025em;
    text-align: center;
}

body.woocommerce-cart .wc-empty-cart-message .cart-empty.woocommerce-info::before {
    content: "0" !important;
    left: 50% !important;
    top: 40px !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(201,0,0,.16);
    background: rgba(201,0,0,.055);
    color: #c90000 !important;
    transform: translateX(-50%) !important;
    font-size: 13px !important;
    letter-spacing: 0;
}

body.woocommerce-cart .return-to-shop {
    display: flex;
    justify-content: center;
    margin: 16px 0 0 !important;
}

body.woocommerce-cart .return-to-shop .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px !important;
    padding: 0 22px !important;
    border: 1px solid #c90000 !important;
    border-radius: 10px !important;
    background: #c90000 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(201,0,0,.14);
    font: 700 12px/1 Poppins, Arial, sans-serif !important;
    text-decoration: none !important;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

body.woocommerce-cart .return-to-shop .button::after {
    content: "→";
    margin-left: 10px;
    font-size: 14px;
}

body.woocommerce-cart .return-to-shop .button:hover,
body.woocommerce-cart .return-to-shop .button:focus-visible {
    background: #a90000 !important;
    border-color: #a90000 !important;
    box-shadow: 0 12px 26px rgba(169,0,0,.18);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-error {
        min-height: 58px;
    }

    body.woocommerce-cart .cal-cart-page-heading {
        padding: 30px;
    }

    body.woocommerce-cart .cal-cart-summary {
        padding: 32px 30px;
    }
}

@media (max-width: 640px) {
    body.woocommerce-cart .site-main {
        padding-top: 24px !important;
        padding-bottom: 72px !important;
    }

    body.woocommerce-cart .ct-container {
        width: min(100% - 28px, 1180px);
    }

    body.woocommerce-cart .woocommerce-notices-wrapper {
        margin-bottom: 14px;
    }

    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-error {
        align-items: flex-start;
        min-height: 0;
        padding: 14px 14px 14px 49px !important;
        border-radius: 11px !important;
        font-size: 11px !important;
    }

    body.woocommerce-cart .woocommerce-message::before,
    body.woocommerce-cart .woocommerce-info::before,
    body.woocommerce-cart .woocommerce-error::before {
        left: 13px !important;
        top: 13px !important;
        width: 25px !important;
        height: 25px !important;
        transform: none;
    }

    body.woocommerce-cart .woocommerce-message {
        flex-wrap: wrap;
        gap: 10px;
    }

    body.woocommerce-cart .woocommerce-message .restore-item {
        flex: 0 0 auto;
        margin-left: 0;
    }

    body.woocommerce-cart .cal-cart-page-heading,
    body.woocommerce-cart .cal-cart-summary {
        padding: 25px 22px;
        border-radius: 16px;
    }

    body.woocommerce-cart .cal-cart-item {
        border-radius: 13px;
        box-shadow: none;
    }

    body.woocommerce-cart .wc-empty-cart-message .cart-empty.woocommerce-info {
        min-height: 230px;
        padding: 82px 24px 32px !important;
        border-radius: 16px !important;
        font-size: 23px !important;
    }

    body.woocommerce-cart .return-to-shop .button {
        width: 100%;
        min-height: 50px !important;
    }
}


/* MOBI COMMERCE BRAND GUARDRAILS 2026-09-29 */

/*
 * Neutraliza a paleta azul herdada do Blocksy somente nas superfícies
 * comerciais da Cal Balanças.
 */
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag,
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout {
    --theme-palette-color-1: #c90000;
    --theme-palette-color-2: #a80000;
    --theme-link-initial-color: #c90000;
    --theme-link-hover-color: #a80000;
    --theme-selection-background-color: #c90000;
    --theme-form-field-border-focus-color: rgba(201,0,0,.52);
    --theme-form-selection-field-active-color: #c90000;
    --theme-button-background-initial-color: #c90000;
    --theme-button-background-hover-color: #a80000;
}

/* Controle de quantidade do carrinho */
body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] {
    --quantity-height: 44px;
    --quantity-width: 140px;
    --theme-form-field-border-radius: 10px;
    --quantity-arrows-initial-color: #c90000;
    --quantity-arrows-hover-color: #fff;
    --quantity-hover-color: #c90000;
    position: relative;
    width: 140px !important;
    height: 44px;
    border-radius: 10px;
}

body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .qty {
    width: 140px !important;
    height: 44px !important;
    padding: 0 42px !important;
    border: 1px solid #d9d9d7 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
    font: 600 13px/1 Poppins, Arial, sans-serif !important;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .qty::-webkit-outer-spin-button,
body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-increase,
body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-decrease {
    top: 7px !important;
    display: grid !important;
    place-items: center;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgba(201,0,0,.12);
    border-radius: 8px !important;
    background: rgba(201,0,0,.055) !important;
    color: #c90000 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-decrease {
    inset-inline-start: 7px !important;
    inset-inline-end: auto !important;
}

body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-increase {
    inset-inline-end: 7px !important;
    inset-inline-start: auto !important;
}

body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-increase:hover,
body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-increase:focus-visible,
body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-decrease:hover,
body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .ct-decrease:focus-visible {
    border-color: #c90000;
    background: #c90000 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .qty:focus {
    border-color: rgba(201,0,0,.48) !important;
    box-shadow: 0 0 0 3px rgba(201,0,0,.075) !important;
    outline: none !important;
}

/* Remove estados azuis residuais de botões e links do WooCommerce */
body.woocommerce-cart :is(button, .button, a):focus-visible,
body.woocommerce-checkout :is(button, .button, a):focus-visible,
body.single-product :is(button, .button, a):focus-visible,
body.woocommerce-shop :is(button, .button, a):focus-visible,
body.tax-product_cat :is(button, .button, a):focus-visible {
    outline-color: rgba(201,0,0,.5);
}

body.woocommerce-cart input[type="number"]::selection,
body.woocommerce-cart input[type="text"]::selection,
body.woocommerce-checkout input::selection,
body.woocommerce-checkout textarea::selection {
    background: rgba(201,0,0,.18);
    color: #171717;
}

/* Botão remover alinhado à mesma linguagem do seletor */
body.woocommerce-cart .cal-cart-item-remove .remove {
    border-color: #ddd !important;
    background: #fff !important;
    color: #555 !important;
}

body.woocommerce-cart .cal-cart-item-remove .remove:hover,
body.woocommerce-cart .cal-cart-item-remove .remove:focus-visible {
    border-color: rgba(201,0,0,.28) !important;
    background: rgba(201,0,0,.035) !important;
    color: #c90000 !important;
}

@media (max-width: 640px) {
    body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"],
    body.woocommerce-cart .cal-cart-item-qty .quantity[data-type="type-2"] .qty {
        width: 136px !important;
    }
}
