.dcnc-page-wrap--woo{
  max-width:1180px;
}

.woocommerce-notices-wrapper,
.woocommerce form .form-row{
  width:100%;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  border-radius:16px;
  border:1px solid var(--dcnc-border);
  background:#fff;
  padding:16px 18px;
  margin:0 0 18px;
}

.dcnc-checkout-hero,
.dcnc-cart-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
  padding:28px;
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#eef6ff);
  border:1px solid var(--dcnc-border);
}

.dcnc-checkout-hero__title,
.dcnc-cart-hero__title{
  margin:8px 0 10px;
  font-size:38px;
  letter-spacing:-.03em;
}

.dcnc-checkout-hero__text,
.dcnc-cart-hero__text{
  margin:0;
  color:var(--dcnc-muted);
  max-width:660px;
}

.dcnc-checkout-hero__badge,
.dcnc-cart-hero__badge{
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--dcnc-border);
  font-weight:700;
}

.dcnc-checkout-grid,
.dcnc-cart-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:24px;
  align-items:start;
  width:100%;
}

.dcnc-checkout-main,
.dcnc-checkout-side{
  min-width:0;
}

.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout{
  grid-column:1 / -1;
  width:100%;
}

.dcnc-panel{
  background:#fff;
  border:1px solid var(--dcnc-border);
  border-radius:24px;
  padding:20px;
  box-shadow:var(--dcnc-shadow);
}

.dcnc-panel--sticky{
  position:sticky;
  top:110px;
}

.dcnc-panel__title{
  font-size:24px;
  letter-spacing:-.03em;
  margin:0 0 14px;
}

.woocommerce .input-text,
.woocommerce select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple{
  border:1px solid var(--dcnc-border)!important;
  border-radius:12px!important;
  min-height:42px;
  padding:8px 12px;
  background:#fff;
  font-size:14px;
}

.woocommerce .form-row label{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:800;
  color:#334155;
  margin-bottom:6px;
}

.woocommerce .form-row{
  margin-bottom:12px;
}

.woocommerce #payment{
  background:transparent!important;
  border:none!important;
}

.woocommerce-checkout-review-order-table,
.shop_table{
  border-collapse:separate!important;
  border-spacing:0;
  width:100%;
  max-width:100%;
  background:#fff;
  border:1px solid var(--dcnc-border);
  border-radius:18px;
  overflow:hidden;
  table-layout:fixed;
}

.shop_table th,
.shop_table td{
  padding:12px 14px;
  border-bottom:1px solid #edf2f7;
}

.woocommerce #payment ul.payment_methods{
  border:none!important;
  padding:0!important;
  margin:18px 0!important;
}

.woocommerce #payment div.payment_box{
  background:#f6fafe!important;
  border-radius:14px;
}

.woocommerce #payment .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  background:linear-gradient(135deg,var(--dcnc-primary),var(--dcnc-primary-2))!important;
  color:#fff!important;
  border:none!important;
  border-radius:16px!important;
  min-height:54px;
  padding:0 20px!important;
  font-weight:800!important;
}

.woocommerce-cart-form,
.cart-collaterals{
  display:grid;
  gap:24px;
}

.dcnc-cart-table{
  overflow:hidden;
}

.woocommerce-cart table.shop_table .product-thumbnail,
.woocommerce-cart table.shop_table td.product-thumbnail,
.woocommerce-cart table.shop_table th.product-thumbnail{
  display:none!important;
}

.woocommerce-cart table.shop_table .product-remove{
  width:44px;
  text-align:center;
}

.woocommerce-cart table.shop_table .product-name{
  min-width:0;
}

.woocommerce-cart table.shop_table .product-name a{
  word-break:break-word;
}

.dcnc-cart-item__title{
  font-size:18px;
  font-weight:800;
  line-height:1.25;
}

.dcnc-cart-item__title a{
  color:#12263f;
}

.dcnc-cart-item__meta{
  display:grid;
  gap:8px;
}

.dcnc-cart-table .actions{
  padding-top:20px;
}

.dcnc-cart-table .coupon{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.dcnc-cart-table .coupon .input-text{
  width:220px;
}

.cart-collaterals .cart_totals{
  background:#fff;
  border:1px solid var(--dcnc-border);
  border-radius:24px;
  padding:24px;
  box-shadow:var(--dcnc-shadow);
}

.dcnc-review-item{
  display:grid;
  gap:8px;
  min-width:0;
}

.dcnc-review-item__title{
  font-weight:800;
  line-height:1.35;
  color:#12263f;
}

.dcnc-qty{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.dcnc-qty .qty{
  width:46px!important;
  min-height:32px!important;
  text-align:center;
  padding:4px 6px!important;
  font-weight:700;
}

.dcnc-qty__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid #cfe0f4;
  background:#edf5fe;
  color:#1f5e9d;
  font-size:20px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  transition:background .18s,color .18s,border-color .18s;
}

.dcnc-qty__btn:hover{
  background:#dfeefe;
  border-color:#9fc1e9;
}

.dcnc-qty__btn--small{
  width:28px;
  height:28px;
  border-radius:10px;
  font-size:16px;
}

.dcnc-review-qty__input{
  width:46px!important;
  min-height:32px!important;
  text-align:center;
  padding:4px 6px!important;
  border-radius:10px!important;
}

.dcnc-review-item__qty{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:auto;
  max-width:max-content;
  flex-wrap:nowrap;
  white-space:nowrap;
}

.woocommerce-checkout-review-order-table .product-name{
  width:auto;
}

.woocommerce-checkout-review-order-table .product-total{
  width:130px;
}

.woocommerce-checkout-review-order-table .dcnc-review-item__qty{
  max-width:120px;
}

.woocommerce-checkout-review-order-table .dcnc-review-qty__input{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  flex:0 0 52px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
  display:grid;
  gap:10px;
}

.woocommerce-checkout #order_comments{
  min-height:90px;
}

.dcnc-thankyou{
  max-width:980px;
  margin:0 auto;
}

.dcnc-thankyou__card{
  background:#fff;
  border:1px solid var(--dcnc-border);
  border-radius:28px;
  padding:42px;
  box-shadow:var(--dcnc-shadow);
  text-align:center;
}

.dcnc-thankyou__icon{
  width:74px;
  height:74px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--dcnc-primary),var(--dcnc-primary-2));
  color:#fff;
  font-size:34px;
  font-weight:900;
  margin:0 auto 18px;
}

.dcnc-thankyou__title{
  font-size:40px;
  letter-spacing:-.03em;
  margin:0 0 12px;
}

.dcnc-thankyou__text{
  color:var(--dcnc-muted);
  font-size:18px;
  max-width:700px;
  margin:0 auto;
}

.dcnc-order-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:28px 0;
}

.dcnc-order-meta div{
  background:#f8fbfe;
  border:1px solid var(--dcnc-border);
  padding:18px;
  border-radius:18px;
}

.dcnc-order-meta span{
  display:block;
  color:var(--dcnc-muted);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:8px;
}

.dcnc-order-meta strong{
  font-size:20px;
}

@media(max-width:980px){
  .dcnc-checkout-grid,
  .dcnc-cart-grid{
    grid-template-columns:1fr;
  }

  .dcnc-panel--sticky{
    position:static;
  }

  .dcnc-order-meta{
    grid-template-columns:1fr;
  }

  .dcnc-checkout-hero,
  .dcnc-cart-hero{
    flex-direction:column;
  }

  .dcnc-checkout-hero__title,
  .dcnc-cart-hero__title{
    font-size:32px;
  }
}

@media(max-width:640px){
  .dcnc-cart-table thead{
    display:none;
  }

  .dcnc-cart-table tr{
    display:grid;
    gap:12px;
    padding:18px 0;
  }

  .dcnc-cart-table td{
    display:block;
    width:100%;
    padding:0 0 6px;
    border-bottom:none;
  }

  .dcnc-cart-table .actions{
    padding-top:10px;
  }

  .dcnc-cart-table .coupon{
    flex-direction:column;
    align-items:stretch;
  }

  .dcnc-cart-table .coupon .input-text{
    width:100%;
  }
}

.cart-collaterals .wc-proceed-to-checkout .checkout-button,
.woocommerce .cart-collaterals .checkout-button,
.woocommerce-page .cart-collaterals .checkout-button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  width:100% !important;
  line-height:1.2 !important;
  padding:16px 22px !important;
}
