.ocp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.ocp-overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
}

.ocp-content {
    background: #fff;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    margin: 40px auto;
    padding: 15px 20px;
    position: relative;
    z-index: 10000;
    max-height: 90%;
    overflow-y: auto;
    font-family: 'Noto Sans Bengali', sans-serif;
}

.ocp-close {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 26px;
    cursor: pointer;
}

.popup-checkout-title {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.ocp-loader {
    text-align: center;
    padding: 50px;
    font-weight: bold;
}

.ocp-cart {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.ocp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
    font-size: 14px;
}

.ocp-i-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ocp-i-left img {
    width: 40px;
    height: auto;
    border-radius: 4px;
}

.ocp-i-right span {
    margin-left: 6px;
}

.ocp-remove {
    color: #c00;
    cursor: pointer;
    font-weight: bold;
}

.ocp-total {
    text-align: right;
    font-weight: 700;
    padding-top: 6px;
}

#ocp-modal form.checkout .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

#ocp-modal form.checkout input,
#ocp-modal form.checkout select,
#ocp-modal form.checkout textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

#ocp-modal button#place_order {
    background: #f08a00;
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

#ocp-modal button#place_order:hover {
    background: #e07d00;
}



#ocp-modal form.checkout {
    font-family: 'Noto Sans Bengali', sans-serif;
}

.popup-checkout-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.ocp-billing label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
}

.ocp-billing input,
.ocp-billing select,
.ocp-billing textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 15px;
}

.ocp-shipping-method {
    margin: 10px 0;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 6px;
}

.ocp-shipping-method h4 {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}

.ocp-order-review {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

#ocp-modal button#place_order {
    background: #f08a00;
    color: #fff;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 12px;
}

#ocp-modal button#place_order:hover {
    background: #e07d00;
}

.woocommerce-billing-fields h3 {
    display: none !important;
}

#customer_details h3,
.woocommerce-billing-fields h3 {
    display: none !important;
}
.customer-form-separator{
    border: 1px solid #ccc;
    margin: 20px 0;
}
.woocommerce-privacy-policy-text{
    display: none !important;
}




.ocp-cart {
  background:#fafafa;
  border-radius:8px;
  padding:12px;
  font-family:'Noto Sans Bengali',sans-serif;
}

.ocp-cart h5 {
  font-size:16px;
  margin-bottom:8px;
  font-weight:700;
}

.ocp-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #eee;
  padding:8px 0;
  transition:background .2s;
}
.ocp-row:hover {background:#fff;}

.ocp-product-info {
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
}

.ocp-thumb img {
  width:45px;
  height:auto;
  border-radius:4px;
  box-shadow:0 1px 3px rgba(0,0,0,0.1);
}

.ocp-details {display:flex;flex-direction:column;}
.ocp-title {
  font-weight:600;
  color:#222;
  margin-bottom:3px;
}
.ocp-qty-price {
  font-size:14px;
  color:#666;
  display:flex;
  gap:6px;
}

.ocp-subtotal {
  display:flex;
  align-items:center;
  gap:10px;
}
.ocp-subtotal .amount, .ocp-subtotal .price {
  font-weight:600;
  color:#333;
}
.ocp-remove {
  cursor:pointer;
  color:#d33;
  font-size:16px;
  transition:color .2s;
}
.ocp-remove:hover {color:#b00;}

.ocp-total-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:8px;
  font-size:15px;
  font-weight:600;
}
.total {
  font-weight:700;
  color:#111;
}


/* ocp-success-msg */
.ocp-success-msg {
  text-align: center;
  padding: 20px 15px;
}
.ocp-success-msg h3 {
  color: #2ca02c;
  font-size: 18px;
  margin-bottom: 8px;
}
.ocp-success-msg p {
  font-size: 14px;
  margin: 5px 0;
}

.ocp-summary-box {
  margin-top:15px;
  background:#fff8f3;
  border:1px solid #ffe0c2;
  border-radius:6px;
  padding:10px;
  text-align:left;
}
.ocp-summary-box h4 {
  font-size:15px;
  margin:0 0 6px;
  font-weight:700;
}
.ocp-sum-row {
  display:flex;
  justify-content:space-between;
  border-bottom:1px dashed #eee;
  padding:3px 0;
  font-size:13px;
}
.ocp-sum-row:last-child {border-bottom:none;}
.ocp-sum-total {
  text-align:right;
  margin-top:6px;
  font-weight:600;
  color:#222;
}





.ocp-success-container {
  text-align:center;
  padding:25px 20px;
  animation: fadeIn 0.8s ease;
}
.ocp-success-container h3 {
  font-size:18px;
  color:#2ca02c;
  margin-top:10px;
  font-weight:700;
}
.ocp-success-container p {
  font-size:14px;
  color:#333;
  margin:6px 0;
}
.ocp-success-container .small {
  font-size:13px;
  color:#777;
}
.ocp-close-btn {
  background:#2ca02c;
  color:#fff;
  border:none;
  margin-top:15px;
  padding:12px 25px;
  border-radius:6px;
  font-size:15px;
  cursor:pointer;
  transition:background .2s;
}
.ocp-close-btn:hover {background:#248c28;}

/* ✅ animated checkmark */
.ocp-checkmark {
  width:80px;
  height:80px;
  margin:0 auto;
}
.check-icon {
  width:80px;
  height:80px;
  stroke:#2ca02c;
  stroke-width:3;
  stroke-miterlimit:10;
  box-shadow: inset 0px 0px 0px #2ca02c;
  border-radius:50%;
  display:block;
  stroke-linecap:round;
  animation: scaleAnim 0.3s ease-in-out 0.9s both;
}
.checkmark-circle {
  stroke-dasharray:166;
  stroke-dashoffset:166;
  stroke-width:3;
  stroke-miterlimit:10;
  stroke:#2ca02c;
  fill:none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray:48;
  stroke-dashoffset:48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}
@keyframes scaleAnim {
  0%,100% { transform: none; }
  50% { transform: scale3d(1.1,1.1,1); }
}
@keyframes fadeIn {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}



.ocp-invoice-btn {
  display:inline-block;
  background:#0073aa;
  color:#fff !important;
  padding:10px 18px;
  border-radius:6px;
  margin-top:15px;
  font-size:15px;
  text-decoration:none;
  transition:background .2s;
}
.ocp-invoice-btn:hover {
  background:#005f8d;
}