:root{--dmcc-border:#e5e7eb;--dmcc-text:#111827;--dmcc-muted:#6b7280;--dmcc-accent:#0b3b6f;--dmcc-bg:#fff}
.dmcc-cart,.dmcc-checkout{font-family:inherit;color:var(--dmcc-text)}
.dmcc-cart *,.dmcc-checkout *{box-sizing:border-box}
.dmcc-cart button,.dmcc-checkout button{font:inherit}
.dmcc-cart button:focus,.dmcc-cart button:active,.dmcc-checkout button:focus,.dmcc-checkout button:active{outline:none}

/* Toast global */
.dmcc-site-toast{position:fixed!important;z-index:999999;top:22px;left:50%;transform:translateX(-50%);display:flex!important;align-items:center;gap:10px;width:min(92vw,420px);padding:12px 14px!important;margin:0!important;border:1px solid #dbe7df!important;border-radius:12px!important;background:#fff!important;color:#1f2937!important;box-shadow:0 12px 34px rgba(15,23,42,.15)!important;animation:dmccToastIn .24s ease both}
.dmcc-site-toast:before,.dmcc-site-toast:after{display:none!important}
.dmcc-site-toast__icon{display:inline-flex;width:24px;height:24px;border-radius:999px;align-items:center;justify-content:center;background:#e9f8ef;color:#138a48;font-weight:800;flex:0 0 auto}
.dmcc-site-toast__close{margin-left:auto!important;border:0!important;background:transparent!important;color:#6b7280!important;padding:2px 6px!important;font-size:20px!important;line-height:1!important;box-shadow:none!important;cursor:pointer}
.dmcc-site-toast__close:hover{background:transparent!important;color:#111827!important}
.dmcc-site-toast.is-hiding{opacity:0;transform:translate(-50%,-8px);transition:.2s ease}
@keyframes dmccToastIn{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}

/* Carrinho */
.dmcc-cart-layout{display:flex;align-items:flex-start;gap:32px}.dmcc-cart-main{flex:1 1 auto;min-width:0}.dmcc-cart-summary{flex:0 0 32%;position:sticky;top:24px}
.dmcc-cart-toolbar,.dmcc-card,.dmcc-cart-summary{background:#fff;border:1px solid var(--dmcc-border);border-radius:12px;padding:18px}
.dmcc-cart-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dmcc-items{display:grid;gap:16px}
.dmcc-item{display:flex;align-items:center;gap:16px;position:relative}.dmcc-item-image{display:block;flex:0 0 auto;width:112px;height:112px;border-radius:10px;overflow:hidden;background:#f7f7f7}.dmcc-item-image img{width:100%;height:100%;object-fit:cover;display:block}
.dmcc-item-info{min-width:0;flex:1}.dmcc-item-top,.dmcc-item-bottom{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.dmcc-item-bottom{align-items:center;margin-top:18px}.dmcc-item-name{color:#111827;font-size:16px;font-weight:600;text-decoration:none}.dmcc-item-name:hover{text-decoration:none}.dmcc-item-meta{color:var(--dmcc-muted);font-size:13px;margin-top:6px}.dmcc-item-meta p{margin:0}.dmcc-item-price{font-size:18px;font-weight:700;white-space:nowrap}
.dmcc-remove,.dmcc-link-btn,.dmcc-coupon-toggle{appearance:none;border:0!important;background:transparent!important;padding:4px;cursor:pointer;box-shadow:none!important;text-decoration:none!important}
.dmcc-remove{display:inline-flex;align-items:center;justify-content:center;color:var(--dmcc-muted);line-height:1}.dmcc-remove svg{display:block;fill:currentColor}.dmcc-button-icon{display:inline-flex;align-items:center;justify-content:center}.dmcc-share{display:inline-flex;align-items:center;gap:8px;color:#2563eb;font-weight:600}
.dmcc-share svg{fill:currentColor}.dmcc-link-btn:hover,.dmcc-coupon-toggle:hover,.dmcc-remove:hover{box-shadow:none!important}
.dmcc-check{display:inline-flex;align-items:center;gap:10px;cursor:pointer}.dmcc-check input{position:absolute;opacity:0;pointer-events:none}.dmcc-check span{width:18px;height:18px;border:1.5px solid #c9ced6;border-radius:4px;background:#fff;display:inline-flex;align-items:center;justify-content:center}.dmcc-check input:checked+span{background:var(--dmcc-accent);border-color:var(--dmcc-accent)}.dmcc-check input:checked+span:after{content:'✓';color:#fff;font-size:12px;font-weight:700}.dmcc-item-check{align-self:flex-start;margin-top:2px}
.dmcc-qty{display:inline-grid;grid-template-columns:34px 44px 34px;border:1px solid #d1d5db;border-radius:8px;overflow:hidden;height:38px}.dmcc-qty button{border:0!important;background:#fff!important;color:#2563eb!important;cursor:pointer;padding:0!important;box-shadow:none!important}.dmcc-qty input{border:0!important;width:100%;text-align:center;padding:0!important;margin:0!important;box-shadow:none!important;-moz-appearance:textfield}.dmcc-qty input::-webkit-inner-spin-button,.dmcc-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.dmcc-summary-title{font-weight:700;font-size:17px;margin-bottom:20px}.dmcc-summary-row{display:flex;justify-content:space-between;gap:20px;padding:7px 0;color:#374151}.dmcc-summary-row strong{color:#111827;text-align:right}.dmcc-summary-total{font-size:18px;font-weight:700;border-top:1px solid var(--dmcc-border);margin-top:12px;padding-top:16px}.dmcc-free,.dmcc-discount strong{color:#059669!important}.dmcc-checkout-btn{width:100%;border:0!important;background:#0b3b6f;color:#fff;border-radius:8px;padding:14px 22px;margin-top:18px;cursor:pointer;font-weight:700;box-shadow:none!important}.dmcc-checkout-btn:hover{background:#082f58;color:#fff}
.dmcc-coupon{margin:10px 0}.dmcc-coupon-toggle{color:#2563eb;font-weight:600}.dmcc-coupon-form{display:flex;gap:8px;margin-top:10px}.dmcc-coupon-form[hidden]{display:none!important}.dmcc-coupon-form input{min-width:0;flex:1;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px!important;box-shadow:none!important;outline:0}.dmcc-apply-coupon{border:0!important;border-radius:8px;background:#111827!important;color:#fff!important;padding:10px 14px!important;cursor:pointer;box-shadow:none!important}.dmcc-message{font-size:12px;margin-top:8px}.dmcc-message.is-error{color:#b91c1c}.dmcc-message.is-success{color:#047857}
.dmcc-cart.is-loading{opacity:.65;pointer-events:none}.dmcc-empty{padding:28px;border:1px dashed var(--dmcc-border);border-radius:12px;text-align:center;color:var(--dmcc-muted)}

/* Checkout reestruturado */
.dmcc-checkout{width:100%}.dmcc-checkout .woocommerce{width:100%}.dmcc-checkout .woocommerce-form-coupon-toggle{margin-bottom:18px}.dmcc-checkout .woocommerce-form-coupon{border:1px solid var(--dmcc-border);border-radius:12px;padding:16px!important;margin-bottom:20px!important}
.dmcc-checkout-products{margin-bottom:20px}.dmcc-checkout-products-list{display:grid;gap:12px}.dmcc-checkout-product{display:flex;align-items:center;gap:14px;padding-top:12px;border-top:1px solid var(--dmcc-border)}.dmcc-checkout-product:first-child{border-top:0;padding-top:0}.dmcc-checkout-product-image{width:64px;height:64px;overflow:hidden;border-radius:10px;background:#f8fafc;flex:0 0 auto}.dmcc-checkout-product-image img{width:100%;height:100%;object-fit:cover}.dmcc-checkout-product-info{min-width:0;flex:1}.dmcc-checkout-product-name{font-weight:650}.dmcc-checkout-product-meta,.dmcc-checkout-product-qty{font-size:12px;color:var(--dmcc-muted);margin-top:3px}.dmcc-checkout-product-meta p{margin:0}.dmcc-checkout-product-price{font-weight:700;white-space:nowrap}
.dmcc-checkout-layout{display:flex;align-items:flex-start;gap:32px}.dmcc-checkout-main{flex:1 1 auto;min-width:0;display:grid;gap:16px}.dmcc-checkout-summary{flex:0 0 32%;position:sticky;top:24px;border:1px solid var(--dmcc-border);border-radius:14px;background:#fff;padding:20px;min-width:0}.dmcc-checkout-summary-title,.dmcc-checkout-card-title{font-weight:700;font-size:17px}.dmcc-checkout-card{border:1px solid var(--dmcc-border);border-radius:14px;background:#fff;padding:20px}.dmcc-checkout-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dmcc-checkout-card-summary{font-size:13px;color:var(--dmcc-muted);margin-top:6px;line-height:1.45}.dmcc-section-toggle{border:0!important;background:transparent!important;color:#2563eb!important;padding:4px 0!important;box-shadow:none!important;cursor:pointer;flex:0 0 auto;font-weight:600}.dmcc-section-toggle:hover,.dmcc-section-toggle:focus,.dmcc-section-toggle:active{box-shadow:none!important}.dmcc-checkout-card-body{margin-top:18px;padding-top:18px;border-top:1px solid var(--dmcc-border)}.dmcc-checkout-card-body[hidden]{display:none!important}.dmcc-native-checkout form.checkout>.col2-set,.dmcc-native-checkout form.checkout>#order_review_heading,.dmcc-native-checkout form.checkout>#order_review{display:none!important}.dmcc-native-checkout form.checkout{margin:0!important}.dmcc-checkout-form-rebuilt>.dmcc-checkout-layout{display:flex!important}
.dmcc-checkout .woocommerce-billing-fields,.dmcc-checkout .woocommerce-shipping-fields,.dmcc-checkout .woocommerce-additional-fields{margin:0!important}.dmcc-checkout .woocommerce-billing-fields>h3,.dmcc-checkout .woocommerce-shipping-fields>h3,.dmcc-checkout .woocommerce-additional-fields>h3{display:none}.dmcc-checkout .col2-set,.dmcc-checkout .col-1,.dmcc-checkout .col-2{float:none!important;width:100%!important}
.dmcc-checkout .form-row{margin-bottom:14px!important}.dmcc-checkout .form-row label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.dmcc-checkout input.input-text,.dmcc-checkout textarea,.dmcc-checkout select{width:100%!important;min-height:46px;border:1px solid #d1d5db;border-radius:8px;padding:11px 12px!important;background:#fff;box-shadow:none;outline:0;line-height:1.4}.dmcc-checkout textarea{min-height:92px}.dmcc-checkout input:focus,.dmcc-checkout textarea:focus,.dmcc-checkout select:focus{border-color:var(--dmcc-accent);box-shadow:0 0 0 1px var(--dmcc-accent)}
.dmcc-checkout .select2-container{width:100%!important;display:block!important}.dmcc-checkout .select2-container .select2-selection--single{width:100%!important;min-height:46px!important;border:1px solid #d1d5db!important;border-radius:8px!important;background:#fff!important;display:flex!important;align-items:center!important;padding:0 38px 0 12px!important}.dmcc-checkout .select2-container .select2-selection__rendered{padding:0!important;line-height:1.4!important;width:100%!important}.dmcc-checkout .select2-container .select2-selection__arrow{height:44px!important;right:8px!important;top:0!important}
.dmcc-checkout #payment{background:transparent!important}.dmcc-checkout #payment ul.payment_methods{border:0!important;padding:0!important;margin:0!important}.dmcc-checkout #payment ul.payment_methods li{border:1px solid var(--dmcc-border);border-radius:10px;padding:14px!important;margin:0 0 10px!important;background:#fff}.dmcc-checkout #payment ul.payment_methods li:last-child{margin-bottom:0!important}.dmcc-checkout #payment div.payment_box{background:#f8fafc!important;border-radius:8px;margin:10px 0 0!important}.dmcc-checkout #payment div.payment_box:before{display:none!important}.dmcc-checkout #payment .place-order{display:none!important}
.dmcc-checkout-summary .shop_table{width:100%!important;border:0!important;border-collapse:collapse!important;margin:0!important}.dmcc-checkout-summary .shop_table th,.dmcc-checkout-summary .shop_table td{border:0!important;border-bottom:1px solid var(--dmcc-border)!important;padding:11px 0!important;background:transparent!important}.dmcc-checkout-summary .shop_table tr:last-child th,.dmcc-checkout-summary .shop_table tr:last-child td{border-bottom:0!important}.dmcc-checkout-summary .order-total th,.dmcc-checkout-summary .order-total td{font-size:18px;font-weight:700}.dmcc-payment-chosen{border-top:1px solid var(--dmcc-border);margin-top:14px;padding-top:14px;display:flex;justify-content:space-between;gap:12px;font-size:13px}.dmcc-payment-chosen strong{text-align:right}.dmcc-checkout-summary>.place-order,.dmcc-checkout-summary-content>.place-order{display:block!important;margin-top:16px!important;padding:0!important;background:transparent!important}.dmcc-checkout-summary .woocommerce-privacy-policy-text{font-size:12px;color:var(--dmcc-muted);line-height:1.5}.dmcc-checkout #place_order{width:100%;float:none!important;border:0!important;background:#0b3b6f;color:#fff;border-radius:8px;padding:14px 22px!important;font-weight:700;box-shadow:none!important;margin-top:12px!important}.dmcc-checkout #place_order:hover{background:#082f58;color:#fff}
.dmcc-validation-summary{border:1px solid #f3dfbd;border-radius:12px;background:#fffaf0;padding:14px 16px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.dmcc-validation-summary[hidden]{display:none}.dmcc-go-error{border:0!important;background:transparent!important;color:#b45309!important;font-weight:700;cursor:pointer;padding:0!important;box-shadow:none!important}.dmcc-field-invalid input,.dmcc-field-invalid select,.dmcc-field-invalid textarea,.dmcc-field-invalid .select2-selection{border-color:#dc2626!important}.dmcc-checkout .woocommerce-error,.dmcc-checkout .woocommerce-info,.dmcc-checkout .woocommerce-message{border-radius:10px;border:1px solid var(--dmcc-border);background:#fff;padding:14px 16px 14px 42px}

@media (max-width:980px){.dmcc-cart-layout,.dmcc-checkout-layout{flex-direction:column}.dmcc-cart-summary,.dmcc-checkout-summary{position:static;width:100%;flex-basis:auto!important}.dmcc-checkout-products{margin-bottom:16px}}
@media (max-width:640px){.dmcc-site-toast{top:12px;width:calc(100vw - 24px)}.dmcc-cart-toolbar{align-items:flex-start;gap:12px;flex-wrap:wrap}.dmcc-item{align-items:flex-start;gap:12px}.dmcc-item-image{width:88px;height:88px}.dmcc-item-top{gap:8px}.dmcc-item-bottom{flex-direction:column;align-items:flex-start;margin-top:12px}.dmcc-item-price{font-size:16px}.dmcc-card,.dmcc-cart-toolbar,.dmcc-cart-summary,.dmcc-checkout-card,.dmcc-checkout-summary{padding:14px}.dmcc-checkout-product{align-items:flex-start}.dmcc-checkout-product-price{font-size:14px}.dmcc-checkout-card-head{gap:10px}.dmcc-validation-summary{align-items:flex-start;flex-direction:column}}

/* v1.1.1: checkout clean-up and editor preview */
.dmcc-checkout .woocommerce-form-coupon-toggle,.dmcc-checkout form.checkout_coupon{display:none!important}
.dmcc-products-source{display:none!important}
.dmcc-checkout-main>.dmcc-checkout-products{margin:0}
.dmcc-checkout-product{gap:10px;padding-top:10px}.dmcc-checkout-product-image{width:52px;height:52px;border-radius:8px}.dmcc-checkout-product-name{font-size:14px;line-height:1.35}.dmcc-checkout-product-price{font-size:14px}.dmcc-checkout-product-qty,.dmcc-checkout-product-meta{font-size:11px}
.dmcc-preview-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.dmcc-preview-summary{margin-top:16px}.dmcc-preview-summary>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--dmcc-border)}.dmcc-preview-summary .dmcc-preview-total{font-size:18px;font-weight:700;border-bottom:0;border-top:1px solid var(--dmcc-border);margin-top:8px;padding-top:14px}.dmcc-checkout-preview #place_order[disabled]{opacity:.75;cursor:default}
@media(max-width:640px){.dmcc-preview-form-grid{grid-template-columns:1fr}}

/* v1.1.2 - resumo de entrega em linhas */
.dmcc-checkout-card-summary .dmcc-delivery-line{display:block;line-height:1.45;}
.dmcc-checkout-card-summary .dmcc-delivery-line + .dmcc-delivery-line{margin-top:2px;}


/* v1.1.3 - endereço de entrega real no card */
.dmcc-delivery-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.dmcc-delivery-fields #billing_address_1_field,.dmcc-delivery-fields #billing_address_2_field,.dmcc-delivery-fields #billing_country_field{grid-column:1/-1}
.dmcc-delivery-fields .form-row{width:100%!important;float:none!important}
@media(max-width:640px){.dmcc-delivery-fields{grid-template-columns:1fr}.dmcc-delivery-fields #billing_address_1_field,.dmcc-delivery-fields #billing_address_2_field,.dmcc-delivery-fields #billing_country_field{grid-column:auto}}
