/* ------------------------------------------------------------------ */
/*  Checkout iframe container                                          */
/* ------------------------------------------------------------------ */

#roanga-checkout-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

#roanga-checkout-iframe {
  width: 100%;
  border: none;
  display: block;
  overflow: hidden;
  transition: height 0.15s ease-out;
}

#roanga-checkout-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

/* ------------------------------------------------------------------ */
/*  Add to cart button                                                 */
/* ------------------------------------------------------------------ */

.roanga-add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: #003637;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  min-width: 140px;
  text-align: center;
  line-height: 1.4;
}

.roanga-add-to-cart-btn:hover {
  opacity: 0.85;
}

.roanga-add-to-cart-btn:active {
  transform: scale(0.97);
}

.roanga-add-to-cart-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.roanga-btn-done {
  font-size: 18px;
  line-height: 1;
}

/* ------------------------------------------------------------------ */
/*  Cart count badge                                                   */
/* ------------------------------------------------------------------ */

.roanga-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #003637;
  border-radius: 10px;
}

/* ------------------------------------------------------------------ */
/*  Cart link with badge                                               */
/* ------------------------------------------------------------------ */

.roanga-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.roanga-cart-link .roanga-cart-count-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  background: #c6a96d;
  color: #fff;
}

/* ------------------------------------------------------------------ */
/*  Spinner keyframes                                                  */
/* ------------------------------------------------------------------ */

@keyframes roanga-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
